trikRuntime
trikGui::SystemSettingsWidget Class Reference

Widget that shows some system settings. More...

#include <systemSettingsWidget.h>

Inheritance diagram for trikGui::SystemSettingsWidget:
Collaboration diagram for trikGui::SystemSettingsWidget:

Public Slots

void renewFocus () override
 

Signals

void currentFilesDirPath (MainWidget::FileManagerRootType const &path)
 Emitted when we want to save current FilesManegerRoot. More...
 
- 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...
 

Public Member Functions

 SystemSettingsWidget (MainWidget::FileManagerRootType fileManagerRoot, QWidget *parent=0)
 Constructor. More...
 
 ~SystemSettingsWidget ()
 Destructor. More...
 
- Public Member Functions inherited from trikGui::TrikGuiDialog
 TrikGuiDialog (QWidget *parent=0)
 Constructor. More...
 
virtual ~TrikGuiDialog ()
 
virtual int exec ()
 Show widget and wait until it will be closed. More...
 
- 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...
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event) override
 
- Protected Member Functions inherited from trikGui::TrikGuiDialog
virtual void exit ()
 
virtual void goHome ()
 

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 }
 

Detailed Description

Widget that shows some system settings.

Constructor & Destructor Documentation

SystemSettingsWidget::SystemSettingsWidget ( MainWidget::FileManagerRootType  fileManagerRoot,
QWidget *  parent = 0 
)
explicit

Constructor.

Parameters
parent- parent of this widget in terms of Qt widget parent/child system.
fileManagerRoot- current FilesManagerRoot
SystemSettingsWidget::~SystemSettingsWidget ( )

Destructor.

Member Function Documentation

void trikGui::SystemSettingsWidget::currentFilesDirPath ( MainWidget::FileManagerRootType const &  path)
signal

Emitted when we want to save current FilesManegerRoot.

void SystemSettingsWidget::keyPressEvent ( QKeyEvent *  event)
overrideprotectedvirtual

Reimplemented from trikGui::TrikGuiDialog.

QString SystemSettingsWidget::menuEntry ( )
static

String that shall appear in menu for this widget.

void SystemSettingsWidget::renewFocus ( )
overrideslot

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