summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index fb8f75f..9f261c2 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -620,6 +620,7 @@ void SheMov::createActions(){
connect(mPVToggleA, SIGNAL(toggled(bool)), mPicWidget, SLOT(showPicViewer(bool)));
mPVToggleA->setChecked(false);
mPicWidget->picView()->addAction(mPVToggleA);
+ mPicWidget->picView()->PV()->addAction(mPVToggleA);
QSignalMapper *PVAddMapper = new QSignalMapper(this);
mPVAddA = new QAction(QIcon(":/used_tampon.png"), tr("Add selected"), this);
connect(mPVAddA, SIGNAL(triggered()), PVAddMapper, SLOT(map()));
@@ -630,9 +631,23 @@ void SheMov::createActions(){
PVAddMapper->setMapping(mPVReplaceA, true);
mPicWidget->picView()->addAction(mPVReplaceA);
connect(PVAddMapper, SIGNAL(mapped(int)), mPicWidget->picView(), SLOT(setPVData(int)));
+ mPVSelectAllA = new QAction(QIcon(":/blue_syringe.png"), tr("Select all pics"), this);
+ connect(mPVSelectAllA, SIGNAL(triggered()), mPicWidget->picView(), SLOT(setPVAll()));
+ mPicWidget->picView()->addAction(mPVSelectAllA);
+ connect(mPVSelectAllA, SIGNAL(triggered()), mPicWidget->picView(), SLOT(setPVAll()));
+ mPicWidget->picView()->addAction(mPVSelectAllA);
+ mPicWidget->picView()->PV()->addAction(mPVSelectAllA);
QAction *pvSep2 = new QAction(this);
pvSep2->setSeparator(true);
mPicWidget->picView()->addAction(pvSep2);
+ mPVSlideA = new QAction(QIcon(":/chastity_belt_with_cuffs.png"), tr("Slide"), this);
+ mPVSlideA->setCheckable(true);
+ connect(mPVSlideA, SIGNAL(triggered()), mPicWidget->picView()->PV(), SLOT(slide()));
+ mPicWidget->picView()->addAction(mPVSlideA);
+ mPicWidget->picView()->PV()->addAction(mPVSlideA);
+ QAction *pvSep3 = new QAction(this);
+ pvSep3->setSeparator(true);
+ mPicWidget->picView()->addAction(pvSep3);
// refresh
mPWRefreshA = new QAction(QIcon(":/huge_bra.png"), tr("Refresh"), this);