summaryrefslogtreecommitdiffstats
path: root/gui/IconPickerDialog.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-27 05:39:49 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-27 05:39:49 +0200
commit5573ed52e8b68a54330cfee21b853da53d079078 (patch)
tree10eebd4ac4804550441ccc2a591ed00640adb75f /gui/IconPickerDialog.h
parente6999b3b62c5b765eff1736477a052f1cfeffd19 (diff)
downloadMultiMC-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.h5
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();
};