trikRuntime
|
Widget that shows current encoder reading. More...
#include <encoderIndicator.h>
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 | |
EncoderIndicator (const QString &port, trikControl::EncoderInterface &encoder, 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... | |
Widget that shows current encoder reading.
EncoderIndicator::EncoderIndicator | ( | const QString & | port, |
trikControl::EncoderInterface & | encoder, | ||
QWidget * | parent = 0 |
||
) |
Constructor.
port | - port to which sensor is plugged. |
encoder | - encoder which we will read. |
parent | - parent of this widget in Qt widget parent-child system. |
|
overrideslot |