Added signal strength indicator to detail screen. Changed speed treshold to change...
[jspeed] / src / detailscreen.h
index 75eee3f..5e94ff5 100644 (file)
@@ -24,6 +24,7 @@
 class QString;
 class QGraphicsTextItem;
 class QGraphicsLineItem;
+class QGraphicsPixmapItem;
 
 class DetailScreen : public GraphicsScreen
 {
@@ -45,6 +46,7 @@ private:
     QGraphicsTextItem* createItem(QString const& text);
     QGraphicsLineItem* createLine();
     QString roundDouble(double number);
+    int getStrength();
     QGraphicsTextItem* tripLabel_;
     QGraphicsTextItem* trip_;
     QGraphicsTextItem* tripUnit_;
@@ -66,6 +68,8 @@ private:
     QGraphicsTextItem* totalTime_;
     QGraphicsLineItem* line1_;
     QGraphicsLineItem* line2_;
+    QGraphicsPixmapItem* strength_;
+    int currentStrength_;
 };
 
 #endif