[TD] some fixes

- the setting "Standard and Style" only affects new dimensions, thus it must be italic

- fix bug that the Property 'LockPosition' appears for dimensions -> this is an option for views and thus must be hidden for dimensions

- since tolerances are in the vast majority fractions of a millimeter/inch, set its stepsize to 0.1
(I hope I did it right in handleChangedPropertyType.)

- fix inconsistent newlines in TaskBalloon.h

- improve wording for a heading
This commit is contained in:
donovaly
2021-01-09 03:21:51 +01:00
parent 1851ddd933
commit e8d76d49bf
5 changed files with 41 additions and 16 deletions

View File

@@ -111,6 +111,11 @@
<height>0</height>
</size>
</property>
<property name="font">
<font>
<italic>true</italic>
</font>
</property>
<property name="text">
<string>Standard and Style</string>
</property>

View File

@@ -58,8 +58,8 @@ private Q_SLOTS:
void onFontsizeChanged();
void onBubbleShapeChanged();
void onShapeScaleChanged();
void onEndSymbolChanged();
void onEndSymbolScaleChanged();
void onEndSymbolChanged();
void onEndSymbolScaleChanged();
void onLineVisibleChanged();
void onLineWidthChanged();
void onKinkLengthChanged();

View File

@@ -65,7 +65,7 @@ ViewProviderDimension::ViewProviderDimension()
{
sPixmap = "TechDraw_Dimension";
static const char *group = "Dim Format";
static const char *group = "Dimension Format";
ADD_PROPERTY_TYPE(Font, (Preferences::labelFont().c_str()),
group, App::Prop_None, "The name of the font to use");