HP Views Designer Assistant  1.0.0
TFG - Alberto Gutierrez Perez - Universidad de Valladolid
MainWindowController Class Reference

The MainWindowController class. More...

#include <mainwindowcontroller.h>

Public Member Functions

 MainWindowController (MainWindow *view)
 MainWindowController controller. More...
 
void settingsOption ()
 settingsOption Changes the view to the settings view.
 
void helpOption ()
 helpOption Shows the help into the web explorer.
 
void createMenuScreen ()
 createMenuScreen Changes the view to the creates menu view.
 
void createInformationScreen ()
 createInformationScreen Changes the view to the creates information view.
 
void createInkScreen ()
 createInkScreen Changes the view to the creates ink view.
 
void edit ()
 edit Shows edit view.
 
void editScreenFromFile (QString file)
 editScreenFromFile Obtains the interface which represents the QML file. More...
 

Private Member Functions

void selectedType (Interfaz *interfaz, int type)
 selectedType Shows the edit view depends on the type of the interface. More...
 

Private Attributes

MainWindowview
 view Main window view.
 
QWidget * editScreen
 editScreen Edit screen view.
 

Detailed Description

Constructor & Destructor Documentation

◆ MainWindowController()

MainWindowController::MainWindowController ( MainWindow view)

MainWindowController controller.

Parameters
viewMain window view.

Member Function Documentation

◆ editScreenFromFile()

void MainWindowController::editScreenFromFile ( QString  file)

editScreenFromFile Obtains the interface which represents the QML file.

Parameters
fileQML file path

◆ selectedType()

void MainWindowController::selectedType ( Interfaz interfaz,
int  type 
)
private

selectedType Shows the edit view depends on the type of the interface.

Parameters
interfazInterface to edit.
typeTpye of the interface.

The documentation for this class was generated from the following files: