trikRuntime
trikGui::WiFiModeWidget Class Reference

Widget which allows to set wi-fi mode (client or access point) and then opens corresponding configuration widget. More...

#include <wiFiModeWidget.h>

Inheritance diagram for trikGui::WiFiModeWidget:
Collaboration diagram for trikGui::WiFiModeWidget:

Public Types

enum  Mode { Mode::accessPoint, Mode::client, Mode::unknown }
 
- Public Types inherited from trikGui::TrikGuiDialog
enum  Result { normalExit, goHomeExit }
 
- Public Types inherited from trikGui::MainWidget
enum  FileManagerRootType { FileManagerRootType::scriptsDir, FileManagerRootType::allFS }
 

Public Member Functions

 WiFiModeWidget (trikWiFi::TrikWiFi &wiFi, QWidget *parent=0)
 Constructor. More...
 
void renewFocus () override
 Set focus properly on this widget or one of its children. 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...
 

Static Public Member Functions

static QString menuEntry ()
 Returns menu entry 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

- 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...
 

Detailed Description

Widget which allows to set wi-fi mode (client or access point) and then opens corresponding configuration widget.

Member Enumeration Documentation

Enumerator
accessPoint 
client 
unknown 

Constructor & Destructor Documentation

WiFiModeWidget::WiFiModeWidget ( trikWiFi::TrikWiFi wiFi,
QWidget *  parent = 0 
)
explicit

Constructor.

Parameters
parent- parent of this widget in Qt object hierarchy.

Member Function Documentation

void WiFiModeWidget::keyPressEvent ( QKeyEvent *  event)
overrideprotectedvirtual

Reimplemented from trikGui::TrikGuiDialog.

QString WiFiModeWidget::menuEntry ( )
static

Returns menu entry for this widget.

void WiFiModeWidget::renewFocus ( )
overridevirtual

Set focus properly on this widget or one of its children.

Implements trikGui::MainWidget.


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