Hidden previous tool panel (delayed for future release)
This commit is contained in:
parent
d60a169751
commit
6707998a76
2 changed files with 19 additions and 2 deletions
|
@ -63,7 +63,8 @@ int main(int argc, char** argv)
|
||||||
BasePreview::initDrawers();
|
BasePreview::initDrawers();
|
||||||
|
|
||||||
window = new MainWindow();
|
window = new MainWindow();
|
||||||
window->showMaximized();
|
window->show();
|
||||||
|
//window->showMaximized();
|
||||||
splash->finish(window);
|
splash->finish(window);
|
||||||
|
|
||||||
delete splash;
|
delete splash;
|
||||||
|
@ -119,7 +120,8 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||||
_forms.append(_form_render);
|
_forms.append(_form_render);
|
||||||
|
|
||||||
// TODO Decide this according to platform / screen size
|
// TODO Decide this according to platform / screen size
|
||||||
ui->toolBar->hide();
|
//ui->toolBar->hide();
|
||||||
|
ui->tool_panel->hide();
|
||||||
ui->menuBar->hide();
|
ui->menuBar->hide();
|
||||||
|
|
||||||
scenerySetCustomDataCallback(MainWindow::guiSaveCallback, MainWindow::guiLoadCallback, this);
|
scenerySetCustomDataCallback(MainWindow::guiSaveCallback, MainWindow::guiLoadCallback, this);
|
||||||
|
|
|
@ -19,6 +19,18 @@
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="centralwidget">
|
<widget class="QWidget" name="centralwidget">
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<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>
|
<item>
|
||||||
<widget class="QWidget" name="tool_panel" native="true">
|
<widget class="QWidget" name="tool_panel" native="true">
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
@ -302,7 +314,10 @@
|
||||||
<addaction name="action_file_load"/>
|
<addaction name="action_file_load"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="action_explore"/>
|
<addaction name="action_explore"/>
|
||||||
|
<addaction name="action_quick_render"/>
|
||||||
<addaction name="action_final_render"/>
|
<addaction name="action_final_render"/>
|
||||||
|
<addaction name="separator"/>
|
||||||
|
<addaction name="action_about"/>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenuBar" name="menuBar">
|
<widget class="QMenuBar" name="menuBar">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
|
|
Loading…
Reference in a new issue