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

| 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
11 class MainWindowController
12 {
13
14 public:
15
20 MainWindowController(MainWindow *view);
21 ~MainWindowController();
22
26 void settingsOption();
27
31 void helpOption();
32
36 void createMenuScreen();
37
41 void createInformationScreen();
42
46 void createInkScreen();
47
51 void edit();
52
57 void editScreenFromFile(QString file);
58
59 private:
60
64 MainWindow *view;
65
69 QWidget *editScreen;
70
71 private:
72
78 void selectedType(Interfaz *interfaz, int type);
79
80 };
81
82 #endif // MAINWINDOWCONTROLLER_H
MainWindowController::createInkScreen
void createInkScreen()
createInkScreen Changes the view to the creates ink view.
Definition: mainwindowcontroller.cpp:91
MainWindowController::editScreenFromFile
void editScreenFromFile(QString file)
editScreenFromFile Obtains the interface which represents the QML file.
Definition: mainwindowcontroller.cpp:105
MainWindowController::edit
void edit()
edit Shows edit view.
Definition: mainwindowcontroller.cpp:98
MainWindowController::createMenuScreen
void createMenuScreen()
createMenuScreen Changes the view to the creates menu view.
Definition: mainwindowcontroller.cpp:77
MainWindowController::MainWindowController
MainWindowController(MainWindow *view)
MainWindowController controller.
Definition: mainwindowcontroller.cpp:20
MainWindowController::selectedType
void selectedType(Interfaz *interfaz, int type)
selectedType Shows the edit view depends on the type of the interface.
Definition: mainwindowcontroller.cpp:125
MainWindowController::helpOption
void helpOption()
helpOption Shows the help into the web explorer.
Definition: mainwindowcontroller.cpp:37
MainWindowController::editScreen
QWidget * editScreen
editScreen Edit screen view.
Definition: mainwindowcontroller.h:69
Interfaz
The Interfaz class. Represents generic screen.
Definition: interfaz.h:10
MainWindowController::createInformationScreen
void createInformationScreen()
createInformationScreen Changes the view to the creates information view.
Definition: mainwindowcontroller.cpp:84
MainWindowController::view
MainWindow * view
view Main window view.
Definition: mainwindowcontroller.h:64
MainWindowController
The MainWindowController class.
Definition: mainwindowcontroller.h:11
MainWindowController::settingsOption
void settingsOption()
settingsOption Changes the view to the settings view.
Definition: mainwindowcontroller.cpp:30
MainWindow
The MainWindow class.
Definition: mainwindow.h:23