trikRuntime
trikGui::GyroscopeIndicator Class Reference

Widget that shows current gyroscope reading. More...

#include <gyroscopeIndicator.h>

Inheritance diagram for trikGui::GyroscopeIndicator:
Collaboration diagram for trikGui::GyroscopeIndicator:

Public Slots

void renew () override
 
- Public Slots inherited from trikGui::AbstractIndicator
virtual void renew ()=0
 Rereads sensor and updates widget contents. More...
 

Public Member Functions

 GyroscopeIndicator (trikControl::GyroSensorInterface &gyroscope, QWidget *parent=0)
 Constructor. More...
 
- Public Member Functions inherited from trikGui::AbstractIndicator
 AbstractIndicator (QWidget *parent=0)
 Constructor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from trikGui::AbstractIndicator
static int fontMetricsHorizontalAdvance (const QWidget *w, const QString &text)
 For compatibility with old Qt (until we use 5.10.1 for TRIK firmware) More...
 

Detailed Description

Widget that shows current gyroscope reading.

Constructor & Destructor Documentation

GyroscopeIndicator::GyroscopeIndicator ( trikControl::GyroSensorInterface gyroscope,
QWidget *  parent = 0 
)
explicit

Constructor.

Parameters
gyroscope- gyroscope which we will read.
parent- parent of this widget in Qt widget parent-child system.

Member Function Documentation

void GyroscopeIndicator::renew ( )
overrideslot

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