|
trikRuntime
|
Widget that shows current readings of selected sensors. More...
#include <sensorsWidget.h>


Public Types | |
| enum | SensorType { SensorType::analogOrDigitalSensor, SensorType::encoder, SensorType::gyroscope, SensorType::accelerometer } |
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 | |
| SensorsWidget (trikControl::BrickInterface &brick, const QStringList &ports, SensorType sensorType, QWidget *parent=0) | |
| Constructor. More... | |
| ~SensorsWidget () override | |
| int | exec () override |
| Show widget and wait until it will be closed. 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 () |
Public Member Functions inherited from trikGui::MainWidget | |
| MainWidget (QWidget *parent) | |
| Constructor. More... | |
Protected Member Functions | |
| void | exit () override |
| void | goHome () override |
Protected Member Functions inherited from trikGui::TrikGuiDialog | |
| virtual void | keyPressEvent (QKeyEvent *event) |
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... | |
Widget that shows current readings of selected sensors.
|
strong |
|
explicit |
Constructor.
|
override |
|
overridevirtual |
Show widget and wait until it will be closed.
Reimplemented from trikGui::TrikGuiDialog.
|
overrideprotectedvirtual |
Reimplemented from trikGui::TrikGuiDialog.
|
overrideprotectedvirtual |
Reimplemented from trikGui::TrikGuiDialog.
|
overridevirtual |
Set focus properly on this widget or one of its children.
Implements trikGui::MainWidget.