summaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-25 22:48:41 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-25 22:48:41 +0200
commitf0990fae4bc6e54837764c0ded1461b9f1770401 (patch)
tree619dd1c5007d902e2d349bb42e3f66454596713a /gui/mainwindow.h
parentd884f849d60db44f05a6a6b22f4ffcf520900389 (diff)
downloadMultiMC-f0990fae4bc6e54837764c0ded1461b9f1770401.tar
MultiMC-f0990fae4bc6e54837764c0ded1461b9f1770401.tar.gz
MultiMC-f0990fae4bc6e54837764c0ded1461b9f1770401.tar.lz
MultiMC-f0990fae4bc6e54837764c0ded1461b9f1770401.tar.xz
MultiMC-f0990fae4bc6e54837764c0ded1461b9f1770401.zip
Many improvements
PermGen can be tweaked from the settings menu Groups are saved on change/exit Install target is no longer completely broken All the deplibs are now static Added notes dialog Fixed ini file format support (can save strings with newlines, tabs. UTF-8 is explicitly used!) Rename button now uses line breaks so it doesn't grow ever wider (Added a custom tool button subclass) There is now a CAT button. Meow.
Diffstat (limited to 'gui/mainwindow.h')
-rw-r--r--gui/mainwindow.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/gui/mainwindow.h b/gui/mainwindow.h
index 597cc750..6456346d 100644
--- a/gui/mainwindow.h
+++ b/gui/mainwindow.h
@@ -22,6 +22,7 @@
#include "logic/tasks/LoginTask.h"
#include "logic/BaseInstance.h"
+class LabeledToolButton;
class QLabel;
class InstanceModel;
class InstanceProxyModel;
@@ -51,6 +52,8 @@ public:
private slots:
+ void onCatToggled(bool);
+
void on_actionAbout_triggered();
void on_actionAddInstance_triggered();
@@ -93,6 +96,8 @@ private slots:
void on_actionEditInstMods_triggered();
+ void on_actionEditInstNotes_triggered();
+
void doLogin(const QString& errorMsg = "");
@@ -120,7 +125,7 @@ public slots:
protected:
bool eventFilter(QObject *obj, QEvent *ev);
- void setRenameText(QString text);
+ void setCatBackground(bool enabled);
private:
Ui::MainWindow *ui;
KCategoryDrawer * drawer;
@@ -131,7 +136,7 @@ private:
MinecraftProcess *proc;
ConsoleWindow *console;
OneSixAssets *assets_downloader;
- QLabel * renameLabel;
+ LabeledToolButton * renameButton;
BaseInstance *m_selectedInstance;