HP Views Designer Assistant: D:/Documentos/ViewDesignerAssistant/Controller/menuscreencontroller.h Source File

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

menuscreencontroller.h
1 #ifndef MENUSCREENCONTROLLER_H
2 #define MENUSCREENCONTROLLER_H
3
4 #include <Controller/controller.h>
5 #include <View/menuscreen.h>
6 #include <QObject>
7
11 class MenuScreenController: public Controller
12 {
13 Q_OBJECT
14
15 public:
16
21 MenuScreenController(MenuScreen *view);
22
26 void on_title_options();
27
31 void on_continueBtn_clicked();
32
36 void automatic_icon_position();
37
41 void number_of_icons();
42
46 void iconTitle();
47
51 void nextIcon();
52
56 void topMargin();
57
61 void rigthMargin();
62
66 void bottomMargin();
67
71 void leftMargin();
72
76 void colorBackground();
77
81 void imageBackground();
82
86 void checkMenuSize();
87
91 void heightView();
92
96 void widthView();
97
101 void iconImage();
102
107 void setModel(Interfaz *interfaz);
108
112 void goBack();
113
114 private:
115
119 int currentIcon;
120
124 bool isFromEdit;
125
129 bool isBack;
130
131 private:
132
137 void updateIconViewProgress(bool isBack = false);
138
142 void calculateCurrentIcon();
143
147 void setIconInfo();
148
152 void finish();
153
154 public slots:
155
159 void backExit();
160
161
162 };
163
164 #endif // MENUSCREENCONTROLLER_H
Controller
The Controller class.
Definition: controller.h:13
Interfaz
The Interfaz class. Represents generic screen.
Definition: interfaz.h:10
Controller::interfaz
Interfaz * interfaz
interfaz interface.
Definition: controller.h:81