aboutsummaryrefslogtreecommitdiff
path: root/lumina-fm/widgets/SlideshowWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-fm/widgets/SlideshowWidget.h')
-rw-r--r--lumina-fm/widgets/SlideshowWidget.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/lumina-fm/widgets/SlideshowWidget.h b/lumina-fm/widgets/SlideshowWidget.h
new file mode 100644
index 00000000..70f9a29b
--- /dev/null
+++ b/lumina-fm/widgets/SlideshowWidget.h
@@ -0,0 +1,51 @@
+//===========================================
+// 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_SLIDWSHOW_WIDGET_H
+#define _LUMINA_FM_SLIDWSHOW_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 LoadImages(QList<LFileInfo> list);
+
+ //Theme change functions
+ void UpdateIcons();
+ void UpdateText();
+
+private:
+ Ui::SlideshowWidget *ui;
+ void UpdateImage();
+
+private slots:
+ // Picture rotation options
+ void on_combo_image_name_indexChanged(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();
+
+};
+#endif \ No newline at end of file
bgstack15