Add/remove/drag&drop for the icon picker.

This commit is contained in:
Petr Mrázek
2013-08-27 05:39:49 +02:00
parent e6999b3b62
commit 5573ed52e8
9 changed files with 210 additions and 35 deletions

View File

@ -15,7 +15,8 @@ public:
~IconPickerDialog();
int exec(QString selection);
QString selectedIconKey;
protected:
virtual bool eventFilter ( QObject* , QEvent* );
private:
Ui::IconPickerDialog *ui;
@ -23,4 +24,6 @@ private slots:
void selectionChanged ( QItemSelection,QItemSelection );
void activated ( QModelIndex );
void delayed_scroll ( QModelIndex );
void addNewIcon();
void removeSelectedIcon();
};