summaryrefslogtreecommitdiffstats
path: root/gui/LegacyModEditDialog.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-21 01:07:54 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-21 01:07:54 +0200
commitb78123166627139777fbd206866ee0d1c8bcd040 (patch)
tree9ea910562faae1be208cfda68f9c4f6795040524 /gui/LegacyModEditDialog.h
parent524fbcdd3e359e07c1ff6e8ae05e03bc35977259 (diff)
downloadMultiMC-b78123166627139777fbd206866ee0d1c8bcd040.tar
MultiMC-b78123166627139777fbd206866ee0d1c8bcd040.tar.gz
MultiMC-b78123166627139777fbd206866ee0d1c8bcd040.tar.lz
MultiMC-b78123166627139777fbd206866ee0d1c8bcd040.tar.xz
MultiMC-b78123166627139777fbd206866ee0d1c8bcd040.zip
Contiguous selection and keyboard input for mod lists.
Tweak console to take up the sides. You can reorder mods from the keyboard.
Diffstat (limited to 'gui/LegacyModEditDialog.h')
-rw-r--r--gui/LegacyModEditDialog.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/LegacyModEditDialog.h b/gui/LegacyModEditDialog.h
index 0654300f..536d402a 100644
--- a/gui/LegacyModEditDialog.h
+++ b/gui/LegacyModEditDialog.h
@@ -51,7 +51,11 @@ private slots:
void on_viewTexPackBtn_clicked();
// Questionable: SettingsDialog doesn't need this for some reason?
void on_buttonBox_rejected();
-
+protected:
+ bool eventFilter(QObject *obj, QEvent *ev);
+ bool jarListFilter( QKeyEvent* ev );
+ bool coreListFilter( QKeyEvent* ev );
+ bool loaderListFilter( QKeyEvent* ev );
private:
Ui::LegacyModEditDialog *ui;
QSharedPointer<ModList> m_mods;