From 6707998a768159f0c32c0df95c354e0a9c4ae8fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Lemaire?= Date: Sun, 9 Jun 2013 18:20:25 +0200 Subject: [PATCH] Hidden previous tool panel (delayed for future release) --- src/editing/common/mainwindow.cpp | 6 ++++-- src/editing/common/mainwindow.ui | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/editing/common/mainwindow.cpp b/src/editing/common/mainwindow.cpp index f80e078..6597607 100644 --- a/src/editing/common/mainwindow.cpp +++ b/src/editing/common/mainwindow.cpp @@ -63,7 +63,8 @@ int main(int argc, char** argv) BasePreview::initDrawers(); window = new MainWindow(); - window->showMaximized(); + window->show(); + //window->showMaximized(); splash->finish(window); delete splash; @@ -119,7 +120,8 @@ MainWindow::MainWindow(QWidget *parent) : _forms.append(_form_render); // TODO Decide this according to platform / screen size - ui->toolBar->hide(); + //ui->toolBar->hide(); + ui->tool_panel->hide(); ui->menuBar->hide(); scenerySetCustomDataCallback(MainWindow::guiSaveCallback, MainWindow::guiLoadCallback, this); diff --git a/src/editing/common/mainwindow.ui b/src/editing/common/mainwindow.ui index 720f880..b6744c8 100644 --- a/src/editing/common/mainwindow.ui +++ b/src/editing/common/mainwindow.ui @@ -19,6 +19,18 @@ + + 0 + + + 0 + + + 0 + + + 0 + @@ -302,7 +314,10 @@ + + +