trikRuntime
trikGui::WiFiInitWidget Class Reference

Widget for initializing wi-fi on the controller. More...

#include <wiFiInitWidget.h>

Inheritance diagram for trikGui::WiFiInitWidget:
Collaboration diagram for trikGui::WiFiInitWidget:

Public Types

enum  Result { success, fail }
 
- Public Types inherited from trikGui::MainWidget
enum  FileManagerRootType { FileManagerRootType::scriptsDir, FileManagerRootType::allFS }
 

Public Member Functions

 WiFiInitWidget (QWidget *parent=0)
 Constructor. More...
 
Result init (WiFiModeWidget::Mode mode)
 Initialize wi-fi on the controller. More...
 
void renewFocus () override
 Set focus properly on this widget or one of its children. More...
 
- Public Member Functions inherited from trikGui::MainWidget
 MainWidget (QWidget *parent)
 Constructor. More...
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event) override
 

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 for initializing wi-fi on the controller.

Member Enumeration Documentation

Enumerator
success 
fail 

Constructor & Destructor Documentation

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

Constructor.

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

Member Function Documentation

WiFiInitWidget::Result WiFiInitWidget::init ( WiFiModeWidget::Mode  mode)

Initialize wi-fi on the controller.

Parameters
mode- wi-fi mode which we want to initialize.
Returns
WiFiInitWidget::success if wi-fi was succesfully initialized and WiFiInitWidget::fail otherwise.
void WiFiInitWidget::keyPressEvent ( QKeyEvent *  event)
overrideprotected
void WiFiInitWidget::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: