summaryrefslogtreecommitdiffstats
path: root/gui/IconPickerDialog.h
blob: c55f6ff2944759899326b9a9656f6747750997af (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
#pragma once
#include <QDialog>
#include <QItemSelection>

namespace Ui {
class IconPickerDialog;
}

class IconPickerDialog : public QDialog
{
	Q_OBJECT

public:
	explicit IconPickerDialog(QWidget *parent = 0);
	~IconPickerDialog();
	int exec(QString selection);
	QString selectedIconKey;
	
private:
	Ui::IconPickerDialog *ui;
	
private slots:
	void selectionChanged ( QItemSelection,QItemSelection );
	void activated ( QModelIndex );
	void delayed_scroll ( QModelIndex );
};