Commit 719c55bb authored by Jan Möbius's avatar Jan Möbius

Reintorduced checkbox for rendering toolbar outside of scene

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12184 383ad7c9-94d9-4d36-a494-682f7c89f535
parent a52ecb21
......@@ -289,6 +289,8 @@ void OptionsWidget::showEvent ( QShowEvent * /*event*/ ) {
// UI settings
toolBoxOrientation->setCurrentIndex((OpenFlipperSettings().value("Core/Gui/ToolBoxes/ToolBoxOnTheRight",true).toBool() ? 0 : 1));
pickToolbarInScene->setChecked(OpenFlipperSettings().value("Core/Gui/ToolBars/PickToolbarInScene",true).toBool());
//stereo
......@@ -618,6 +620,9 @@ void OptionsWidget::slotApply() {
// Toolbox orientation
OpenFlipperSettings().setValue("Core/Gui/ToolBoxes/ToolBoxOnTheRight", (toolBoxOrientation->currentIndex() == 0));
// Render picking toolbar into scene
OpenFlipperSettings().setValue("Core/Gui/ToolBars/PickToolbarInScene", pickToolbarInScene->isChecked());
if ( iconDefault->isChecked() )
OpenFlipperSettings().setValue("Core/Toolbar/iconSize", 0);
......
......@@ -165,6 +165,33 @@
</widget>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_13">
<property name="title">
<string>Pick Toolbar</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QFormLayout" name="formLayout_6">
<item row="0" column="0">
<widget class="QLabel" name="label_29">
<property name="text">
<string>Render pick toolbar into scene</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="pickToolbarInScene">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_11">
<property name="title">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment