From 421a46e3d3036ea0dea4889125ee58309d0ed21e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 30 Jun 2014 02:02:57 +0200 Subject: Redo the console window. Log is now a page. Console window has relevant pages. Dirty fix for screenshot thumbnail generation. Needs more QTimer. --- gui/widgets/PageContainer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gui/widgets/PageContainer.cpp') diff --git a/gui/widgets/PageContainer.cpp b/gui/widgets/PageContainer.cpp index fd2a1e28..237e7224 100644 --- a/gui/widgets/PageContainer.cpp +++ b/gui/widgets/PageContainer.cpp @@ -138,6 +138,12 @@ void PageContainer::addButtons(QWidget *buttons) m_layout->addWidget(buttons, 2, 0, 1, 2); } +void PageContainer::addButtons(QLayout *buttons) +{ + m_layout->addLayout(buttons, 2, 0, 1, 2); +} + + void PageContainer::showPage(int row) { if(row != -1) -- cgit v1.2.3