Hidden previous tool panel (delayed for future release)

This commit is contained in:
Michaël Lemaire 2013-06-09 18:20:25 +02:00
parent d60a169751
commit 6707998a76
2 changed files with 19 additions and 2 deletions

View file

@ -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);

View file

@ -19,6 +19,18 @@
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QWidget" name="tool_panel" native="true">
<layout class="QVBoxLayout" name="verticalLayout">
@ -302,7 +314,10 @@
<addaction name="action_file_load"/>
<addaction name="separator"/>
<addaction name="action_explore"/>
<addaction name="action_quick_render"/>
<addaction name="action_final_render"/>
<addaction name="separator"/>
<addaction name="action_about"/>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">