source: terepaima/terepaima-0.4.16/sources/global.h

desarrollostretch
Last change on this file 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
3Copyright 2013, 2015 Adam Reichold
4Copyright 2013 Alexander Volkov
5
6This file is part of qpdfview.
7
8qpdfview is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation, either version 2 of the License, or
11(at your option) any later version.
12
13qpdfview is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
19along 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
29namespace qpdfview
30{
31
32enum Rotation
33{
34    RotateBy0 = 0,
35    RotateBy90 = 1,
36    RotateBy180 = 2,
37    RotateBy270 = 3,
38    NumberOfRotations = 4
39};
40
41enum RubberBandMode
42{
43    ModifiersMode = 0,
44    CopyToClipboardMode = 1,
45    AddAnnotationMode = 2,
46    ZoomToSelectionMode = 3,
47    NumberOfRubberBandModes = 4
48};
49
50enum LayoutMode
51{
52    SinglePageMode = 0,
53    TwoPagesMode = 1,
54    TwoPagesWithCoverPageMode = 2,
55    MultiplePagesMode = 3,
56    NumberOfLayoutModes = 4
57};
58
59enum ScaleMode
60{
61    ScaleFactorMode = 0,
62    FitToPageWidthMode = 1,
63    FitToPageSizeMode = 2,
64    NumberOfScaleModes = 3
65};
66
67enum 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.