The Controller class.
More...
#include <controller.h>
◆ confirmExit()
bool Controller::confirmExit |
( |
| ) |
|
|
protected |
confirmExit ask the user for exit confirmation.
- Returns
true
if the user confirm, false
otherwise.
◆ getLongSavePath()
QString Controller::getLongSavePath |
( |
| ) |
|
|
protected |
getLongSavePath ask the user the location to save the file.
- Returns
- the selected path.
◆ on_helpBtn_clicked()
void Controller::on_helpBtn_clicked |
( |
QString |
path, |
|
|
QPoint |
position |
|
) |
| |
on_helpBtn_clicked.
- Parameters
-
path | help file path. |
position | current widget screen position. |
◆ on_homeBtn_clicked()
void Controller::on_homeBtn_clicked |
( |
bool |
ask = true | ) |
|
on_homeBtn_clicked.
- Parameters
-
ask | whether confirmation from the user is required. |
◆ showPreview()
void Controller::showPreview |
( |
QString |
path | ) |
|
|
protected |
showPreview show graphic preview of QML file.
- Parameters
-
path | QML file path to preview. |
The documentation for this class was generated from the following files:
- D:/Documentos/ViewDesignerAssistant/Controller/controller.h
- D:/Documentos/ViewDesignerAssistant/Controller/controller.cpp