summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-10-12 15:35:24 +0200
committerArno <am@disconnect.de>2013-10-12 15:35:24 +0200
commit89662ce745c1eee152e7bc2200be5f08caee78a8 (patch)
tree8d1e1de7d33c9a2ba78ba4cecb5683cf8db0f587 /shemov.cpp
parentf4d47b31976bf0b95c8ee3e4c1f010ffe1d2fd21 (diff)
downloadSheMov-89662ce745c1eee152e7bc2200be5f08caee78a8.tar.gz
SheMov-89662ce745c1eee152e7bc2200be5f08caee78a8.tar.bz2
SheMov-89662ce745c1eee152e7bc2200be5f08caee78a8.zip
Improve PictureViewer2
* implement Mark Files * always show all pictures from context * change navigation: N -> next P -> previous M -> mark/unmark file
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 5289291..ac32419 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -518,6 +518,18 @@ void SheMov::createActions(){
mPVSelectAllA = new QAction(QIcon(":/blue_syringe.png"), tr("Select all pics"), this);
picViewer->addAction(mPVSelectAllA);
+ // PictureViewer mark Action
+ picViewer->addAction(createSeparator());
+ mPVMarkA = new QAction(QIcon(":/higheels.png"), tr("(Un-)Mark"), this);
+ mPVMarkA->setCheckable(true);
+ mPVMarkA->setData(PictureViewer2::MarkAction);
+ connect(mPVMarkA, SIGNAL(triggered()), picViewer, SLOT(markCurrent()));
+ picViewer->addAction(mPVMarkA);
+ mPVClearMarksA = new QAction(tr("Clear marks"), this);
+ connect(mPVClearMarksA, SIGNAL(triggered()), picViewer, SLOT(clearMarks()));
+ picViewer->addAction(mPVClearMarksA);
+ picViewer->addAction(createSeparator());
+
// Slide
mPVSlideA = new QAction(QIcon(":/chastity_belt_with_cuffs.png"), tr("Slide"), this);
mPVSlideA->setCheckable(true);