summaryrefslogtreecommitdiffstats
path: root/gui/widgets/PageContainer.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-06-30 02:02:57 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-30 02:02:57 +0200
commit421a46e3d3036ea0dea4889125ee58309d0ed21e (patch)
treeb3665ec5c94c991c7dba5436580ffd4047395aa8 /gui/widgets/PageContainer.h
parent5179aed3a066dfc9885a75d36a0e64c48aa448f7 (diff)
downloadMultiMC-421a46e3d3036ea0dea4889125ee58309d0ed21e.tar
MultiMC-421a46e3d3036ea0dea4889125ee58309d0ed21e.tar.gz
MultiMC-421a46e3d3036ea0dea4889125ee58309d0ed21e.tar.lz
MultiMC-421a46e3d3036ea0dea4889125ee58309d0ed21e.tar.xz
MultiMC-421a46e3d3036ea0dea4889125ee58309d0ed21e.zip
Redo the console window. Log is now a page. Console window has relevant pages.
Dirty fix for screenshot thumbnail generation. Needs more QTimer.
Diffstat (limited to 'gui/widgets/PageContainer.h')
-rw-r--r--gui/widgets/PageContainer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/widgets/PageContainer.h b/gui/widgets/PageContainer.h
index d56c6bff..c0f17e90 100644
--- a/gui/widgets/PageContainer.h
+++ b/gui/widgets/PageContainer.h
@@ -18,6 +18,7 @@
#include <QModelIndex>
#include <gui/pages/BasePageProvider.h>
+class QLayout;
class IconLabel;
class QSortFilterProxyModel;
class PageModel;
@@ -36,6 +37,7 @@ public:
virtual ~PageContainer() {};
void addButtons(QWidget * buttons);
+ void addButtons(QLayout * buttons);
bool requestClose(QCloseEvent *event);
private: