aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-photo/mainUI.cpp
diff options
context:
space:
mode:
authorlbartoletti <l.bartoletti@free.fr>2018-11-07 22:57:30 +0100
committerlbartoletti <l.bartoletti@free.fr>2018-11-07 22:57:30 +0100
commit67bdf467a505a87f75b52f7142fce4dcb3153d5d (patch)
tree6497ef766ee6266895cccc37dc3529819a077ad4 /src-qt5/desktop-utils/lumina-photo/mainUI.cpp
parentinit lumina-photo (diff)
downloadlumina-67bdf467a505a87f75b52f7142fce4dcb3153d5d.tar.gz
lumina-67bdf467a505a87f75b52f7142fce4dcb3153d5d.tar.bz2
lumina-67bdf467a505a87f75b52f7142fce4dcb3153d5d.zip
q5sys review:
- Menu > View > reword last entry to "Fit to Window" - Double Click : Toggle between Normal size and Fit Graphics View - Scroll Wheel : zoom in = down / zoom out = up - Ctrl + Scroll Wheel : next image = down / previous image = up
Diffstat (limited to 'src-qt5/desktop-utils/lumina-photo/mainUI.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-photo/mainUI.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-photo/mainUI.cpp b/src-qt5/desktop-utils/lumina-photo/mainUI.cpp
index 781e8d0b..b6b468c2 100644
--- a/src-qt5/desktop-utils/lumina-photo/mainUI.cpp
+++ b/src-qt5/desktop-utils/lumina-photo/mainUI.cpp
@@ -72,6 +72,8 @@ void MainUI::setupConnections ()
connect (ui->actionBack, SIGNAL (triggered ()), this, SLOT (backToggled ()));
connect (ui->actionFirst, SIGNAL (triggered ()), this, SLOT (firstToggled ()));
connect (ui->actionLast, SIGNAL (triggered ()), this, SLOT (lastToggled ()));
+ connect (ui->photoView, SIGNAL (nextImage ()), this, SLOT (nextToggled ()));
+ connect (ui->photoView, SIGNAL (prevImage ()), this, SLOT (backToggled ()));
}
void MainUI::setupIcons ()
@@ -99,6 +101,8 @@ void MainUI::setupFilters ()
mimeTypeFiltersWriter.sort ();
}
+
+
// ==== PRIVATE SLOTS ====
void MainUI::fitZoomToggled ()
{
bgstack15