Implement icon picker, bring back raster icons.
This commit is contained in:
26
gui/IconPickerDialog.h
Normal file
26
gui/IconPickerDialog.h
Normal file
@ -0,0 +1,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 );
|
||||
};
|
Reference in New Issue
Block a user