From e595a9be49615c45f40c57e8385e9fd76bb394e8 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 17 Mar 2012 13:20:42 +0100 Subject: Make info item in PictureViewer2 moveable This was easier than I thought. Make info item movable and save position on exit. --- pictureviewer2.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pictureviewer2.h') diff --git a/pictureviewer2.h b/pictureviewer2.h index 3aba527..6126930 100644 --- a/pictureviewer2.h +++ b/pictureviewer2.h @@ -37,6 +37,7 @@ class PictureViewer2 : public QGraphicsView { void previous(); void slide(); void readSettings(); + void writeSettings(); void shuffle(); protected: @@ -61,6 +62,7 @@ class PictureViewer2 : public QGraphicsView { PictureViewer2FileinfoItem *mFnItem; bool mUseGradient; QColor mBgColor; + QPointF mInfoPos; }; class PictureViewer2FileinfoItem : public QGraphicsItem { -- cgit v1.2.3-70-g09d2