[Sketcher] Settings checkBox for..
...setting Diameter as default constraint for Arcs and Circles See discussion : https://forum.freecadweb.org/viewtopic.php?f=3&t=57054
This commit is contained in:
committed by
Abdullah Tahiri
parent
7a8792f64b
commit
a25061870c
@@ -148,6 +148,7 @@ void SketcherSettingsDisplay::saveSettings()
|
||||
ui->viewScalingFactor->onSave();
|
||||
ui->SegmentsPerGeometry->onSave();
|
||||
ui->dialogOnDistanceConstraint->onSave();
|
||||
ui->checkBoxDiaConstraint->onSave();
|
||||
ui->continueMode->onSave();
|
||||
ui->constraintMode->onSave();
|
||||
ui->checkBoxHideUnits->onSave();
|
||||
@@ -168,6 +169,7 @@ void SketcherSettingsDisplay::loadSettings()
|
||||
ui->viewScalingFactor->onRestore();
|
||||
ui->SegmentsPerGeometry->onRestore();
|
||||
ui->dialogOnDistanceConstraint->onRestore();
|
||||
ui->checkBoxDiaConstraint->onRestore();
|
||||
ui->continueMode->onRestore();
|
||||
ui->constraintMode->onRestore();
|
||||
ui->checkBoxHideUnits->onRestore();
|
||||
|
||||
@@ -105,6 +105,22 @@ Supports all unit systems except 'US customary' and 'Building US/Euro'.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="0">
|
||||
<widget class="Gui::PrefCheckBox" name="checkBoxDiaConstraint">
|
||||
<property name="toolTip">
|
||||
<string>Use Diameter as default constraint for arcs and circles instead of Radius.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Use Diameter as default constraint for arcs and circles</string>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>DefaultDiaConstraint</cstring>
|
||||
</property>
|
||||
<property name="prefPath" stdset="0">
|
||||
<cstring>Mod/Sketcher</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_6">
|
||||
<property name="minimumSize">
|
||||
@@ -118,7 +134,7 @@ Supports all unit systems except 'US customary' and 'Building US/Euro'.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="0" colspan="2">
|
||||
<item row="9" column="0" colspan="2">
|
||||
<widget class="QGroupBox" name="groupBox_3">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
|
||||
Reference in New Issue
Block a user