desarrollostretch
Last change
on this file since 87fa57f was
1f4adec,
checked in by aosorio <aosorio@…>, 8 years ago
|
Agregado proyecto base, esto luego del dh_make -f
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | /* |
---|
2 | |
---|
3 | Copyright 2013, 2015 Adam Reichold |
---|
4 | Copyright 2013 Alexander Volkov |
---|
5 | |
---|
6 | This file is part of qpdfview. |
---|
7 | |
---|
8 | qpdfview is free software: you can redistribute it and/or modify |
---|
9 | it under the terms of the GNU General Public License as published by |
---|
10 | the Free Software Foundation, either version 2 of the License, or |
---|
11 | (at your option) any later version. |
---|
12 | |
---|
13 | qpdfview is distributed in the hope that it will be useful, |
---|
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | GNU General Public License for more details. |
---|
17 | |
---|
18 | You should have received a copy of the GNU General Public License |
---|
19 | along with qpdfview. If not, see <http://www.gnu.org/licenses/>. |
---|
20 | |
---|
21 | */ |
---|
22 | |
---|
23 | #ifndef GLOBAL_H |
---|
24 | #define GLOBAL_H |
---|
25 | |
---|
26 | #include <QtGlobal> |
---|
27 | #include <qnumeric.h> |
---|
28 | |
---|
29 | namespace qpdfview |
---|
30 | { |
---|
31 | |
---|
32 | enum Rotation |
---|
33 | { |
---|
34 | RotateBy0 = 0, |
---|
35 | RotateBy90 = 1, |
---|
36 | RotateBy180 = 2, |
---|
37 | RotateBy270 = 3, |
---|
38 | NumberOfRotations = 4 |
---|
39 | }; |
---|
40 | |
---|
41 | enum RubberBandMode |
---|
42 | { |
---|
43 | ModifiersMode = 0, |
---|
44 | CopyToClipboardMode = 1, |
---|
45 | AddAnnotationMode = 2, |
---|
46 | ZoomToSelectionMode = 3, |
---|
47 | NumberOfRubberBandModes = 4 |
---|
48 | }; |
---|
49 | |
---|
50 | enum LayoutMode |
---|
51 | { |
---|
52 | SinglePageMode = 0, |
---|
53 | TwoPagesMode = 1, |
---|
54 | TwoPagesWithCoverPageMode = 2, |
---|
55 | MultiplePagesMode = 3, |
---|
56 | NumberOfLayoutModes = 4 |
---|
57 | }; |
---|
58 | |
---|
59 | enum ScaleMode |
---|
60 | { |
---|
61 | ScaleFactorMode = 0, |
---|
62 | FitToPageWidthMode = 1, |
---|
63 | FitToPageSizeMode = 2, |
---|
64 | NumberOfScaleModes = 3 |
---|
65 | }; |
---|
66 | |
---|
67 | enum CompositionMode |
---|
68 | { |
---|
69 | DefaultCompositionMode = 0, |
---|
70 | DarkenWithPaperColorMode = 1, |
---|
71 | LightenWithPaperColorMode = 2, |
---|
72 | NumberOfCompositionModes = 3 |
---|
73 | }; |
---|
74 | |
---|
75 | } // qpdfview |
---|
76 | |
---|
77 | #endif // GLOBAL_H |
---|
Note: See
TracBrowser
for help on using the repository browser.