~ubuntu-branches/ubuntu/vivid/qpdfview/vivid

« back to all changes in this revision

Viewing changes to sources/printoptionswidget.h

  • Committer: Package Import Robot
  • Author(s): Benjamin Eltzner
  • Date: 2013-04-22 17:40:43 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20130422174043-0kav0mabth2lv35f
Tags: 0.4.2-1
* New upstream release.
* Added Hardening.
* Adjusted Exit mnemonic. (Closes: #702749)
  Thanks to David Fries <david@fries.net>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 
3
 
Copyright 2012-2013 Adam Reichold
4
 
 
5
 
This file is part of qpdfview.
6
 
 
7
 
qpdfview is free software: you can redistribute it and/or modify
8
 
it under the terms of the GNU General Public License as published by
9
 
the Free Software Foundation, either version 2 of the License, or
10
 
(at your option) any later version.
11
 
 
12
 
qpdfview is distributed in the hope that it will be useful,
13
 
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
GNU General Public License for more details.
16
 
 
17
 
You should have received a copy of the GNU General Public License
18
 
along with qpdfview.  If not, see <http://www.gnu.org/licenses/>.
19
 
 
20
 
*/
21
 
 
22
 
#ifndef PRINTOPTIONSWIDGET_H
23
 
#define PRINTOPTIONSWIDGET_H
24
 
 
25
 
#include <QWidget>
26
 
 
27
 
class QCheckBox;
28
 
class QComboBox;
29
 
class QFormLayout;
30
 
class QLineEdit;
31
 
 
32
 
#include "printoptions.h"
33
 
 
34
 
class PrintOptionsWidget : public QWidget
35
 
{
36
 
    Q_OBJECT
37
 
 
38
 
public:
39
 
    explicit PrintOptionsWidget(QWidget* parent = 0);
40
 
 
41
 
    PrintOptions printOptions() const;
42
 
 
43
 
private:
44
 
    QFormLayout* m_formLayout;
45
 
 
46
 
    QCheckBox* m_fitToPageCheckBox;
47
 
 
48
 
    QLineEdit* m_pageRangesLineEdit;
49
 
    QComboBox* m_pageSetComboBox;
50
 
 
51
 
    QComboBox* m_numberUpComboBox;
52
 
    QComboBox* m_numberUpLayoutComboBox;
53
 
 
54
 
};
55
 
 
56
 
#endif // PRINTOPTIONSWIDGET_H