trikRuntime
trikGui::UpdateWidget Class Reference

Widget that allows to update a TrikRuntime. More...

#include <updateWidget.h>

Inheritance diagram for trikGui::UpdateWidget:
Collaboration diagram for trikGui::UpdateWidget:

Public Slots

void renewFocus () override
 

Public Member Functions

 UpdateWidget (QWidget *parent=0)
 Constructor. More...
 
 ~UpdateWidget ()
 Destructor. More...
 
int exec () override
 Show widget and wait until it will be closed. More...
 
- Public Member Functions inherited from trikGui::TrikGuiDialog
 TrikGuiDialog (QWidget *parent=0)
 Constructor. More...
 
virtual ~TrikGuiDialog ()
 
- Public Member Functions inherited from trikGui::MainWidget
 MainWidget (QWidget *parent)
 Constructor. More...
 
virtual void renewFocus ()=0
 Set focus properly on this widget or one of its children. More...
 

Static Public Member Functions

static QString menuEntry ()
 String that shall appear in menu for this widget. More...
 

Additional Inherited Members

- Public Types inherited from trikGui::TrikGuiDialog
enum  Result { normalExit, goHomeExit }
 
- Public Types inherited from trikGui::MainWidget
enum  FileManagerRootType { FileManagerRootType::scriptsDir, FileManagerRootType::allFS }
 
- Signals inherited from trikGui::MainWidget
void newWidget (trikGui::MainWidget &widget)
 Emitted when the widget created a new one and wants it to be shown. More...
 
- Protected Member Functions inherited from trikGui::TrikGuiDialog
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void exit ()
 
virtual void goHome ()
 

Detailed Description

Widget that allows to update a TrikRuntime.

Constructor & Destructor Documentation

UpdateWidget::UpdateWidget ( QWidget *  parent = 0)
explicit

Constructor.

Parameters
parent- parent of this widget in terms of Qt widget parent/child system.
UpdateWidget::~UpdateWidget ( )

Destructor.

Member Function Documentation

int UpdateWidget::exec ( )
overridevirtual

Show widget and wait until it will be closed.

Returns
TrikGuiDialog::goHomeExit if the user wants to go to the home screen, and TrikGuiDialog::normalExit otherwise.

Reimplemented from trikGui::TrikGuiDialog.

QString UpdateWidget::menuEntry ( )
static

String that shall appear in menu for this widget.

void UpdateWidget::renewFocus ( )
overrideslot

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