HP Views Designer Assistant: D:/Documentos/ViewDesignerAssistant/Common/constants.h Source File

| HP Views Designer Assistant 1.0.0 TFG - Alberto Gutierrez Perez - Universidad de Valladolid |

constants.h
1 #ifndef CONSTANTS_H
2 #define CONSTANTS_H
3
4 #include <QString>
5
9 class Constants
10 {
11
12 public:
13
17 class Settings
18 {
19 public:
23 static const QString defaultDirKey;
24
28 static const QString alwaysAskKey;
29
33 static const QString settingsName;
34
38 static const QString languageKey;
39
43 static const QString beforeStartKey;
44 };
45
49 class Parser
50 {
51 public:
52
56 class QmlTemplates
57 {
58 public:
59
63 static const QString image;
64
68 static const QString color;
69
73 static const QString menu;
74
78 static const QString menuElement;
79
83 static const QString menuElementSize;
84
88 static const QString menuElementSizeView;
89
93 static const QString information;
94
98 static const QString informationProperty;
99
103 static const QString informationElement;
104
108 static const QString informationElementView;
109
113 static const QString informationIcon;
114
118 static const QString ink;
119
123 static const QString inkElement;
124 };
125
129 class InkView
130 {
131 public:
132
136 static const QString colorOption;
137
141 static const QString textOption;
142
143 };
144
148 class InformationView
149 {
150 public:
151
155 static const QString iconOption;
156
160 static const QString titleOption;
161
165 static const QString id;
166
170 static const QString rowElements;
171
175 static const QString colElements;
176
180 static const QString rowElementRol;
181
185 static const QString colElementRol;
186
190 static const QString iconResize;
191
192 };
193
197 class MenuView
198 {
199 public:
200
204 static const QString marginRight;
205
209 static const QString marginLeft;
210
214 static const QString marginBottom;
215
219 static const QString marginTop;
220
224 static const QString image;
225
229 static const QString name;
230
231 };
232
233 };
234
238 class General
239 {
240 public:
241
245 static const int MAX_SCREEN_WIDTH;
246
250 static const int MAX_SCREEN_HEIGHT;
251
255 static const int MIN_SCREEN_WIDTH;
256
260 static const int MIN_SCREEN_HEIGHT;
261
265 static const int MAX_NUM_ELEMENTS;
266
270 static const int MIN_NUM_ELEMENTS;
271
275 static const int MAX_COLS;
276
280 static const int MAX_ROWS;
281
285 static const int COLS_LIST;
286
290 static const int ROWS_LINE;
291 };
292
293 };
294
295
296
297 #endif // CONSTANTS_H
Constants::General::MIN_SCREEN_HEIGHT
static const int MIN_SCREEN_HEIGHT
MIN_SCREEN_HEIGHT interfaces width minimum value.
Definition: constants.h:260
Constants::Parser::InkView
The InkView class.
Definition: constants.h:129
Constants::Parser::InformationView::rowElements
static const QString rowElements
rowElements keyword of information template.
Definition: constants.h:170
Constants::Parser::QmlTemplates::menuElement
static const QString menuElement
menuElement QML template path.
Definition: constants.h:78
Constants::Settings::defaultDirKey
static const QString defaultDirKey
defaultDirKey key for setting folder value.
Definition: constants.h:23
Constants::General::MAX_SCREEN_HEIGHT
static const int MAX_SCREEN_HEIGHT
MAX_SCREEN_HEIGHT interfaces height maximum value.
Definition: constants.h:250
Constants::Parser::QmlTemplates::menuElementSize
static const QString menuElementSize
menuElementSize QML template path.
Definition: constants.h:83
Constants::Parser::QmlTemplates::image
static const QString image
image QML template path.
Definition: constants.h:63
Constants::Parser::QmlTemplates::informationElement
static const QString informationElement
informationElement QML template path.
Definition: constants.h:103
Constants::Parser::InformationView::titleOption
static const QString titleOption
titleOption keyword of information template.
Definition: constants.h:160
Constants::Settings::alwaysAskKey
static const QString alwaysAskKey
alwaysAskKey key for setting always ask option.
Definition: constants.h:28
Constants::Settings::beforeStartKey
static const QString beforeStartKey
beforeStartKey key for setting init tips.
Definition: constants.h:43
Constants::Settings
The Settings class.
Definition: constants.h:17
Constants::General
The General class.
Definition: constants.h:238
Constants::Parser::QmlTemplates
The QmlTemplates class.
Definition: constants.h:56
Constants::Parser::InkView::textOption
static const QString textOption
textOption keyword of ink template.
Definition: constants.h:141
Constants
The Constants class.
Definition: constants.h:9
Constants::Parser::QmlTemplates::menuElementSizeView
static const QString menuElementSizeView
menuElementSizeView QML template path.
Definition: constants.h:88
Constants::Parser
The Parser class.
Definition: constants.h:49
Constants::Settings::settingsName
static const QString settingsName
settingsName settings&#39; file name.
Definition: constants.h:33
Constants::General::MAX_COLS
static const int MAX_COLS
MAX_COLS interfaces columns maximum value.
Definition: constants.h:275
Constants::Parser::QmlTemplates::inkElement
static const QString inkElement
inkElement QML template path.
Definition: constants.h:123
Constants::Parser::QmlTemplates::menu
static const QString menu
menu QML template path.
Definition: constants.h:73
Constants::General::COLS_LIST
static const int COLS_LIST
COLS_LIST number of columns on list option.
Definition: constants.h:285
Constants::Parser::QmlTemplates::informationProperty
static const QString informationProperty
informationProperty QML template path.
Definition: constants.h:98
Constants::Parser::QmlTemplates::color
static const QString color
color QML template path.
Definition: constants.h:68
Constants::Parser::InformationView
The InformationView class.
Definition: constants.h:148
Constants::Parser::QmlTemplates::informationElementView
static const QString informationElementView
informationElementView QML template path.
Definition: constants.h:108
Constants::General::MIN_SCREEN_WIDTH
static const int MIN_SCREEN_WIDTH
MIN_SCREEN_WIDTH interfaces width minimum value.
Definition: constants.h:255
Constants::General::ROWS_LINE
static const int ROWS_LINE
ROWS_LINE number of rows on line option.
Definition: constants.h:290
Constants::Parser::QmlTemplates::information
static const QString information
information QML template path.
Definition: constants.h:93
Constants::Parser::InformationView::rowElementRol
static const QString rowElementRol
rowElementRol keyword of information template.
Definition: constants.h:180
Constants::Parser::InformationView::iconOption
static const QString iconOption
iconOption keyword of information template.
Definition: constants.h:155
Constants::Parser::QmlTemplates::informationIcon
static const QString informationIcon
informationIcon QML template path.
Definition: constants.h:113
Constants::General::MIN_NUM_ELEMENTS
static const int MIN_NUM_ELEMENTS
MIN_NUM_ELEMENTS interfaces number of elements minimum value.
Definition: constants.h:270
Constants::Parser::InformationView::id
static const QString id
id keyword of information template.
Definition: constants.h:165
Constants::Parser::InformationView::iconResize
static const QString iconResize
iconResize keyword of information template.
Definition: constants.h:190
Constants::General::MAX_ROWS
static const int MAX_ROWS
MAX_ROWS interfaces rows maximum value.
Definition: constants.h:280
Constants::Settings::languageKey
static const QString languageKey
languageKey key for setting app language.
Definition: constants.h:38
Constants::Parser::InformationView::colElements
static const QString colElements
colElements keyword of information template.
Definition: constants.h:175
Constants::Parser::InkView::colorOption
static const QString colorOption
colorOption keyword of ink template.
Definition: constants.h:136
Constants::Parser::QmlTemplates::ink
static const QString ink
ink QML template path.
Definition: constants.h:118
Constants::General::MAX_SCREEN_WIDTH
static const int MAX_SCREEN_WIDTH
MAX_SCREEN_WIDTH interfaces width maximum value.
Definition: constants.h:245
Constants::Parser::InformationView::colElementRol
static const QString colElementRol
colElementRol keyword of information template.
Definition: constants.h:185
Constants::General::MAX_NUM_ELEMENTS
static const int MAX_NUM_ELEMENTS
MAX_NUM_ELEMENTS interfaces number of elements maximum value.
Definition: constants.h:265