[TD]Correct default extension line gaps
This commit is contained in:
@@ -283,16 +283,17 @@ std::string Preferences::bitmapFill()
|
||||
return prefBitmapFile;
|
||||
}
|
||||
|
||||
//! Returns the factor for calculating the ISO extension line gap, not the actual distance.
|
||||
double Preferences::GapISO()
|
||||
{
|
||||
double factor = getPreferenceGroup("Dimensions")->GetFloat("GapISO", 8.0);
|
||||
double factor = getPreferenceGroup("Dimensions")->GetFloat("GapISO", 0.0);
|
||||
return factor;
|
||||
}
|
||||
|
||||
//! Returns the factor for calculating the ISO gap, not the actual distance.
|
||||
//! Returns the factor for calculating the ASME extension line gap, not the actual distance.
|
||||
double Preferences::GapASME()
|
||||
{
|
||||
double factor = getPreferenceGroup("Dimensions")->GetFloat("GapASME", 6.0);
|
||||
double factor = getPreferenceGroup("Dimensions")->GetFloat("GapASME", 0.0);
|
||||
return factor;
|
||||
}
|
||||
|
||||
|
||||
@@ -524,13 +524,13 @@ Multiplier of 'Font Size'</string>
|
||||
<item row="9" column="2">
|
||||
<widget class="Gui::PrefDoubleSpinBox" name="pdsbGapISO">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Controls the size of gap between dimension point and start of extension line for ISO dimensions. Value * linewidth is the gap.</p></body></html></string>
|
||||
<string><html><head/><body><p>Controls the size of gap between dimension point and start of extension line for ISO dimensions. Value * linewidth is the gap. Normally, no gap is used. If using a gap, the recommended value 8.</p></body></html></string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="value">
|
||||
<double>8.000000000000000</double>
|
||||
<double>0.000000000000000</double>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>GapISO</cstring>
|
||||
@@ -543,13 +543,13 @@ Multiplier of 'Font Size'</string>
|
||||
<item row="10" column="2">
|
||||
<widget class="Gui::PrefDoubleSpinBox" name="pdsbGapASME">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Controls the size of gap between dimension point and start of extension line for ASME dimensions. Value * linewidth is the gap.</p></body></html></string>
|
||||
<string><html><head/><body><p>Controls the size of gap between dimension point and start of extension line for ASME dimensions. Value * linewidth is the gap. Normally, no gap is used. If a gap is used, the recommended value is 6.</p></body></html></string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="value">
|
||||
<double>6.000000000000000</double>
|
||||
<double>0.000000000000000</double>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>GapASME</cstring>
|
||||
|
||||
Reference in New Issue
Block a user