The InkScreenController class. More...
#include <inkscreencontroller.h>
Public Member Functions | |
InkScreenController (InkScreen *view) | |
InkScreenController constructor. More... | |
void | heightView () |
heightView Gets the screen height and sets it into the ink model. | |
void | widthView () |
widthView Gets the screen width and sets it into the ink model. | |
void | checkMenuSize () |
checkMenuSize Checks the number of elements and if it is correct, sets the value into the ink model. | |
void | textProperty () |
textProperty Gets ink screen option sets it into the ink model. | |
void | inkColor (int btnPosition) |
inkColor Gets the selected color and sets it into the ink model. More... | |
void | setModel (Interfaz *ink) |
setModel Sets the ink model. More... | |
void | finish () |
finish Finish the edition and shows the preview of the QML interface. | |
![]() | |
Controller () | |
Controller constructor. | |
void | on_homeBtn_clicked (bool ask=true) |
on_homeBtn_clicked. More... | |
void | on_settingsBtn_clicked () |
on_settingsBtn_clicked. | |
void | on_helpBtn_clicked (QString path, QPoint position) |
on_helpBtn_clicked. More... | |
Private Slots | |
void | selectedIcon () |
selectedIcon | |
Additional Inherited Members | |
![]() | |
bool | confirmExit () |
confirmExit ask the user for exit confirmation. More... | |
void | showPreview (QString path) |
showPreview show graphic preview of QML file. More... | |
QString | getLongSavePath () |
getLongSavePath ask the user the location to save the file. More... | |
void | switchToOptionsView () |
switchToOptionsView change the current view to the secondary view. | |
![]() | |
View * | generalView |
generalView primary view. | |
View * | optionsView |
optionsView secondary view. | |
Interfaz * | interfaz |
interfaz interface. | |
The InkScreenController class.
InkScreenController::InkScreenController | ( | InkScreen * | view | ) |
InkScreenController constructor.
view | Ink screen view. |
void InkScreenController::inkColor | ( | int | btnPosition | ) |
inkColor Gets the selected color and sets it into the ink model.
btnPosition | Position of the last clicked color selector icon. |
void InkScreenController::setModel | ( | Interfaz * | ink | ) |
setModel Sets the ink model.
ink | Interface model. |