summaryrefslogtreecommitdiffstats
path: root/pictureviewer2.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2012-03-17 12:36:16 +0100
committerArno <am@disconnect.de>2012-03-17 12:36:16 +0100
commit0cdf34c82044a27f1abfe8bd8dce213efa173da8 (patch)
treee39a52910339c075c23d251585b44d2a6dc24ac4 /pictureviewer2.h
parentc2cd7f21e9a2e5d0219bb674e3b40378c35b3038 (diff)
downloadSheMov-0cdf34c82044a27f1abfe8bd8dce213efa173da8.tar.gz
SheMov-0cdf34c82044a27f1abfe8bd8dce213efa173da8.tar.bz2
SheMov-0cdf34c82044a27f1abfe8bd8dce213efa173da8.zip
Randomize selection for pictureviewer
std::random_shuffle available files in PictureViewer2. Add action to View menu and reuse an icon.
Diffstat (limited to 'pictureviewer2.h')
-rw-r--r--pictureviewer2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pictureviewer2.h b/pictureviewer2.h
index 77328e8..3aba527 100644
--- a/pictureviewer2.h
+++ b/pictureviewer2.h
@@ -37,6 +37,7 @@ class PictureViewer2 : public QGraphicsView {
void previous();
void slide();
void readSettings();
+ void shuffle();
protected:
virtual void wheelEvent(QWheelEvent *event);