Sketcher: Remove 'Edit controls' widget 'Grid Size' LABEL.
This commit is contained in:
@@ -166,7 +166,6 @@ void SketcherGeneralWidget::checkAvoidRedundant(bool on)
|
||||
|
||||
void SketcherGeneralWidget::enableGridSettings(bool on)
|
||||
{
|
||||
ui->label->setEnabled(on);
|
||||
ui->gridSize->setEnabled(on);
|
||||
ui->checkBoxGridSnap->setEnabled(on);
|
||||
}
|
||||
|
||||
@@ -14,34 +14,27 @@
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="Gui::PrefCheckBox" name="checkBoxShowGrid">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>A grid will be shown</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Show grid</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>ShowGrid</cstring>
|
||||
</property>
|
||||
<property name="prefPath" stdset="0">
|
||||
<cstring>Mod/Sketcher/General</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<widget class="Gui::PrefCheckBox" name="checkBoxShowGrid">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>A grid will be shown</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Grid size:</string>
|
||||
<string>Show grid</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>ShowGrid</cstring>
|
||||
</property>
|
||||
<property name="prefPath" stdset="0">
|
||||
<cstring>Mod/Sketcher/General</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user