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

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

informationscreencontroller.h
1 #ifndef INFORMATIONSCREENCONTROLLER_H
2 #define INFORMATIONSCREENCONTROLLER_H
3
4 #include <Controller/controller.h>
5 #include <View/informationscreen.h>
6
10 class InformationScreenController: public Controller
11 {
12 public:
13
18 InformationScreenController(InformationScreen* view);
19
23 void checkGeneralMenuSize();
24
28 void heightView();
29
33 void widthView();
34
38 void colorBackground();
39
43 void imageBackground();
44
48 void cardSize();
49
53 void number_of_icons();
54
58 void on_icon_options();
59
63 void on_continueBtn_clicked();
64
68 void cardTitle();
69
73 void cardIcon();
74
78 void addProperty();
79
83 void removeProperty();
84
88 void changeProperty();
89
93 void selectProperty();
94
98 void nextCard();
99
103 void updateCardViewProgress();
104
109 void setModel(Interfaz* interfaz);
110
114 void goBack();
115
116
117 private:
118
122 int currentCard;
123
127 bool isFromEdit;
128
132 bool isBack;
133
137 void setViewInfo();
138
142 void finish();
143
151 QString checkMenuSize(int icons, int rows, int cols);
152
153 };
154
155 #endif // INFORMATIONSCREENCONTROLLER_H
InformationScreenController::on_icon_options
void on_icon_options()
on_icon_options Gets the screen icon option and sets it into the information model.
Definition: informationscreencontroller.cpp:96
InformationScreenController::selectProperty
void selectProperty()
selectProperty Gets the clicked property and shows the property values.
Definition: informationscreencontroller.cpp:185
InformationScreenController::imageBackground
void imageBackground()
imageBackground Gets the screen background image and sets it into the information model...
Definition: informationscreencontroller.cpp:72
InformationScreenController::widthView
void widthView()
widthView Gets the screen width and sets it into the information model.
Definition: informationscreencontroller.cpp:58
InformationScreenController::setViewInfo
void setViewInfo()
setViewInfo Shows card information.
Definition: informationscreencontroller.cpp:246
InformationScreenController::goBack
void goBack()
goBack Goes to the previous card, if is the first card, goes to information general options...
Definition: informationscreencontroller.cpp:227
InformationScreen
The InformationScreen class.
Definition: informationscreen.h:17
InformationScreenController::checkMenuSize
QString checkMenuSize(int icons, int rows, int cols)
checkMenuSize Checks the size of the elements in the screen.
Definition: informationscreencontroller.cpp:25
InformationScreenController::number_of_icons
void number_of_icons()
number_of_icons Gets the screen number of icons and sets it into the information model.
Definition: informationscreencontroller.cpp:90
InformationScreenController::InformationScreenController
InformationScreenController(InformationScreen *view)
InformationScreenController constructor.
Definition: informationscreencontroller.cpp:8
InformationScreenController::changeProperty
void changeProperty()
changeProperty Gets the screen property and edits it into the information model.
Definition: informationscreencontroller.cpp:171
InformationScreenController::on_continueBtn_clicked
void on_continueBtn_clicked()
on_continueBtn_clicked Changes between the primary view and the secondary view.
Definition: informationscreencontroller.cpp:102
InformationScreenController::removeProperty
void removeProperty()
removeProperty Gets the screen property and removes it into the information model.
Definition: informationscreencontroller.cpp:157
InformationScreenController::cardSize
void cardSize()
cardSize Gets the screen card rows and columns and sets it into the information model.
Definition: informationscreencontroller.cpp:80
Controller
The Controller class.
Definition: controller.h:13
InformationScreenController::cardIcon
void cardIcon()
cardIcon Gets the screen image path and sets it into the information model.
Definition: informationscreencontroller.cpp:134
InformationScreenController::cardTitle
void cardTitle()
cardTitle Gets the screen card title and sets it into the information model.
Definition: informationscreencontroller.cpp:128
InformationScreenController::updateCardViewProgress
void updateCardViewProgress()
updateCardViewProgress Update the progress view.
Definition: informationscreencontroller.cpp:212
Interfaz
The Interfaz class. Represents generic screen.
Definition: interfaz.h:10
InformationScreenController::setModel
void setModel(Interfaz *interfaz)
setModel Sets the information model.
Definition: informationscreencontroller.cpp:221
InformationScreenController::isBack
bool isBack
isBack Wheter the user has gone back.
Definition: informationscreencontroller.h:132
InformationScreenController::checkGeneralMenuSize
void checkGeneralMenuSize()
checkGeneralMenuSize Checks the number of elements and if it is correct, sets the value into the info...
Definition: informationscreencontroller.cpp:16
InformationScreenController::addProperty
void addProperty()
addProperty Gets the screen property and sets it into the information model.
Definition: informationscreencontroller.cpp:141
InformationScreenController::isFromEdit
bool isFromEdit
isFromEdit Whether the interface is made from edition.
Definition: informationscreencontroller.h:127
InformationScreenController::colorBackground
void colorBackground()
colorBackground Gets the screen background color and sets it into the information model...
Definition: informationscreencontroller.cpp:65
InformationScreenController::nextCard
void nextCard()
nextCard Changes the current card.
Definition: informationscreencontroller.cpp:192
InformationScreenController::heightView
void heightView()
heightView Gets the screen height and sets it into the information model.
Definition: informationscreencontroller.cpp:52
Controller::interfaz
Interfaz * interfaz
interfaz interface.
Definition: controller.h:81
InformationScreenController::finish
void finish()
finish Finish the edition and shows the preview of the QML interface.
Definition: informationscreencontroller.cpp:275
InformationScreenController::currentCard
int currentCard
currentCard Current card index.
Definition: informationscreencontroller.h:122
InformationScreenController
The InformationScreenController class.
Definition: informationscreencontroller.h:10