HP Views Designer Assistant: D:/Documentos/ViewDesignerAssistant/View/menuiconoptions.h Source File

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

menuiconoptions.h
1 #ifndef MENUICONOPTIONS_H
2 #define MENUICONOPTIONS_H
3
4 #include <View/view.h>
5
6 class MenuScreenController;
7
8 namespace Ui {
9 class MenuIconOptions;
10 }
11
15 class MenuIconOptions : public View
16 {
17 Q_OBJECT
18
19 public:
20
25 explicit MenuIconOptions(QWidget *parent = 0);
26 ~MenuIconOptions();
27
33 void setEnabledOptions(bool hasTitle, bool isAutomatic);
34
40 void setCurrentIcon(int iconRow, int iconCol);
41
46 void setProgress(int progress);
47
52 QString getIconTitle();
53
57 void clear();
58
63 void setController(MenuScreenController *controller);
64
69 int getTopMargin();
70
75 int getBottomMargin();
76
81 int getLeftMargin();
82
87 int getRigthMargin();
88
93 void showError(QString error);
94
99 void showSuccess(QString success);
100
105 void showInfo(QString info);
106
111 QString getIconImage();
112
122 void setIconInfo(QString iconPath,QString iconTitle, int top, int bottom, int left, int right);
123
124 private slots:
125
129 void on_browseBtn_clicked();
130
134 void on_helpBtn_clicked();
135
139 void on_titleInput_textChanged();
140
144 void on_continueBtn_clicked();
145
149 void on_titleInput_editingFinished();
150
154 void on_homeBtn_clicked();
155
159 void on_settingsBtn_clicked();
160
164 void on_topMarginInput_textEdited();
165
169 void on_rigthMarginInput_textEdited();
170
174 void on_bottomMarginInput_textEdited();
175
179 void on_leftMarginInput_textEdited();
180
184 void on_plusrightBtn_clicked();
185
189 void on_lessRightBtn_clicked();
190
194 void on_plusTopBtn_clicked();
195
199 void on_lessTopBtn_clicked();
200
204 void on_plusLeftBtn_clicked();
205
209 void on_lessLeftBtn_clicked();
210
214 void on_plusBottomBtn_clicked();
215
219 void on_lessBottomBtn_clicked();
220
224 void on_hpIconBtn_clicked();
225
226 private:
227
231 Ui::MenuIconOptions *ui;
232
236 void setValidators();
237
241 void initElements();
242
246 void isFullFill();
247
251 void setToolTips();
252
257 void setIcon(QString path);
258
259 };
260
261 #endif // MENUICONOPTIONS_H
Ui
Definition: beforestart.h:6
View
The View class.
Definition: view.h:22