aboutsummaryrefslogtreecommitdiff
path: root/lumina-fm/widgets/SlideshowWidget.h
blob: bd8a671d1edad2e21c225d29f31a86a7c06a015c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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_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 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
bgstack15