HP Views Designer Assistant  1.0.0
TFG - Alberto Gutierrez Perez - Universidad de Valladolid
mainwindowcontroller.h
1 #ifndef MAINWINDOWCONTROLLER_H
2 #define MAINWINDOWCONTROLLER_H
3 
4 #include <View/mainwindow.h>
5 #include <Model/interfaz.h>
6 #include <QLabel>
7 
12 {
13 
14 public:
15 
22 
26  void settingsOption();
27 
31  void helpOption();
32 
36  void createMenuScreen();
37 
42 
46  void createInkScreen();
47 
51  void edit();
52 
57  void editScreenFromFile(QString file);
58 
59 private:
60 
65 
69  QWidget *editScreen;
70 
71 private:
72 
78  void selectedType(Interfaz *interfaz, int type);
79 
80 };
81 
82 #endif // MAINWINDOWCONTROLLER_H
void createInkScreen()
createInkScreen Changes the view to the creates ink view.
Definition: mainwindowcontroller.cpp:91
void editScreenFromFile(QString file)
editScreenFromFile Obtains the interface which represents the QML file.
Definition: mainwindowcontroller.cpp:105
void edit()
edit Shows edit view.
Definition: mainwindowcontroller.cpp:98
void createMenuScreen()
createMenuScreen Changes the view to the creates menu view.
Definition: mainwindowcontroller.cpp:77
MainWindowController(MainWindow *view)
MainWindowController controller.
Definition: mainwindowcontroller.cpp:20
void selectedType(Interfaz *interfaz, int type)
selectedType Shows the edit view depends on the type of the interface.
Definition: mainwindowcontroller.cpp:125
void helpOption()
helpOption Shows the help into the web explorer.
Definition: mainwindowcontroller.cpp:37
QWidget * editScreen
editScreen Edit screen view.
Definition: mainwindowcontroller.h:69
The Interfaz class. Represents generic screen.
Definition: interfaz.h:10
void createInformationScreen()
createInformationScreen Changes the view to the creates information view.
Definition: mainwindowcontroller.cpp:84
MainWindow * view
view Main window view.
Definition: mainwindowcontroller.h:64
The MainWindowController class.
Definition: mainwindowcontroller.h:11
void settingsOption()
settingsOption Changes the view to the settings view.
Definition: mainwindowcontroller.cpp:30
The MainWindow class.
Definition: mainwindow.h:23