diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-08-27 05:39:49 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-08-27 05:39:49 +0200 |
commit | 5573ed52e8b68a54330cfee21b853da53d079078 (patch) | |
tree | 10eebd4ac4804550441ccc2a591ed00640adb75f /gui/IconPickerDialog.h | |
parent | e6999b3b62c5b765eff1736477a052f1cfeffd19 (diff) | |
download | MultiMC-5573ed52e8b68a54330cfee21b853da53d079078.tar MultiMC-5573ed52e8b68a54330cfee21b853da53d079078.tar.gz MultiMC-5573ed52e8b68a54330cfee21b853da53d079078.tar.lz MultiMC-5573ed52e8b68a54330cfee21b853da53d079078.tar.xz MultiMC-5573ed52e8b68a54330cfee21b853da53d079078.zip |
Add/remove/drag&drop for the icon picker.
Diffstat (limited to 'gui/IconPickerDialog.h')
-rw-r--r-- | gui/IconPickerDialog.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/IconPickerDialog.h b/gui/IconPickerDialog.h index c55f6ff2..96fc61ff 100644 --- a/gui/IconPickerDialog.h +++ b/gui/IconPickerDialog.h @@ -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(); }; |