summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/graphics/rbprogressbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/graphics/rbprogressbar.h')
-rw-r--r--utils/themeeditor/graphics/rbprogressbar.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/themeeditor/graphics/rbprogressbar.h b/utils/themeeditor/graphics/rbprogressbar.h
index e72479853e..817285653a 100644
--- a/utils/themeeditor/graphics/rbprogressbar.h
+++ b/utils/themeeditor/graphics/rbprogressbar.h
@@ -25,12 +25,13 @@
#include <QGraphicsItem>
#include <QPixmap>
+#include "rbmovable.h"
#include "rbrenderinfo.h"
#include "rbviewport.h"
#include "devicestate.h"
#include "skin_parser.h"
-class RBProgressBar : public QGraphicsItem
+class RBProgressBar : public RBMovable
{
public:
RBProgressBar(RBViewport* parent, const RBRenderInfo& info,
@@ -41,6 +42,9 @@ public:
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
QWidget *widget);
+protected:
+ void saveGeometry();
+
private:
QPixmap* bitmap;
QColor color;