#ifndef DETAILSCREEN_H
#define DETAILSCREEN_H
-#include "location.h"
-#include "graphicsscreen.h"
+#include "themescreen.h"
+class QString;
class QGraphicsTextItem;
class QGraphicsLineItem;
-class QGraphicsView;
-class GraphicsScene;
+class QGraphicsPixmapItem;
-class DetailScreen : public GraphicsScreen
+class DetailScreen : public ThemeScreen
{
Q_OBJECT
public:
DetailScreen(QWidget* parent = 0);
+ virtual void setColor(QString const& color);
public slots:
virtual void update();
QGraphicsTextItem* createItem(QString const& text);
QGraphicsLineItem* createLine();
QString roundDouble(double number);
+ int getStrength();
QGraphicsTextItem* tripLabel_;
QGraphicsTextItem* trip_;
QGraphicsTextItem* tripUnit_;
QGraphicsTextItem* totalTime_;
QGraphicsLineItem* line1_;
QGraphicsLineItem* line2_;
+ QGraphicsPixmapItem* strength_;
+ int currentStrength_;
};
#endif