27 #ifndef TELEMETRYMONITORWIDGET_H
28 #define TELEMETRYMONITORWIDGET_H
32 #include <QGraphicsView>
33 #include <QtSvg/QSvgRenderer>
34 #include <QtSvg/QGraphicsSvgItem>
35 #include <QtCore/QPointer>
45 void setMin(
double min) { minValue = min; }
47 void setMax(
double max) { maxValue = max; }
71 QGraphicsSvgItem *graph;
72 QPointer<QGraphicsTextItem> txSpeed;
73 QPointer<QGraphicsTextItem> rxSpeed;
83 QSvgRenderer *renderer;
86 #endif // TELEMETRYMONITORWIDGET_H
TelemetryMonitorWidget(QWidget *parent=nullptr)
QGraphicsSvgItem * getBackgroundItem()
static const int NODE_NUMELEM
void resizeEvent(QResizeEvent *event)
QSvgRenderer * getRenderer()
void showEvent(QShowEvent *event)
void updateTelemetry(double txRate, double rxRate)
Called by the UAVObject which got updated Updates the numeric value and/or the icon if the dial wants...
~TelemetryMonitorWidget()