aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm-dev/widgets/SlideshowWidget.h
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-08-19 14:59:53 +0000
committerWeblate <noreply@weblate.org>2017-08-19 14:59:53 +0000
commit7d3372ae81249c3f69f886df99fa7eb885d0757d (patch)
treeecad7dc336a43d4e2fcc61f7a58635c6455b6cc2 /src-qt5/desktop-utils/lumina-fm-dev/widgets/SlideshowWidget.h
parentTranslated using Weblate (Danish) (diff)
parentTranslated using Weblate (Danish) (diff)
downloadlumina-7d3372ae81249c3f69f886df99fa7eb885d0757d.tar.gz
lumina-7d3372ae81249c3f69f886df99fa7eb885d0757d.tar.bz2
lumina-7d3372ae81249c3f69f886df99fa7eb885d0757d.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm-dev/widgets/SlideshowWidget.h')
-rw-r--r--src-qt5/desktop-utils/lumina-fm-dev/widgets/SlideshowWidget.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm-dev/widgets/SlideshowWidget.h b/src-qt5/desktop-utils/lumina-fm-dev/widgets/SlideshowWidget.h
new file mode 100644
index 00000000..3b9c70fd
--- /dev/null
+++ b/src-qt5/desktop-utils/lumina-fm-dev/widgets/SlideshowWidget.h
@@ -0,0 +1,57 @@
+//===========================================
+// Lumina-DE source code
+// Copyright (c) 2015, Ken Moore
+// Available under the 3-clause BSD license
+// See the LICENSE file for full details
+//===========================================
+#ifndef _LUMINA_FM_SLIDESHOW_WIDGET_H
+#define _LUMINA_FM_SLIDESHOW_WIDGET_H
+
+#include <QList>
+#include <QWidget>
+#include <QObject>
+
+#include "../DirData.h"
+
+namespace Ui{
+ class SlideshowWidget;
+};
+
+class SlideshowWidget : public QWidget{
+ Q_OBJECT
+public:
+ SlideshowWidget(QWidget *parent = 0);
+ ~SlideshowWidget();
+
+public slots:
+ void ClearImages();
+ void LoadImages(QList<LFileInfo> list);
+
+ void refresh(); //Note: This should be called right after the widget becomes visible
+
+ //Theme change functions
+ void UpdateIcons();
+ void UpdateText();
+
+private:
+ Ui::SlideshowWidget *ui;
+ void UpdateImage();
+ double zoom;
+
+private slots:
+ // Picture rotation options
+ void on_combo_image_name_currentIndexChanged(int index);
+ void on_tool_image_goEnd_clicked();
+ void on_tool_image_goNext_clicked();
+ void on_tool_image_goPrev_clicked();
+ void on_tool_image_goBegin_clicked();
+
+ // Picture modification options
+ void on_tool_image_remove_clicked();
+ void on_tool_image_rotateleft_clicked();
+ void on_tool_image_rotateright_clicked();
+ void on_tool_image_zoomin_clicked();
+ void on_tool_image_zoomout_clicked();
+
+};
+#endif \ No newline at end of file
bgstack15