forked from qt-creator/qt-creator
QmlDesigner: removing options for context pane
Reviewed-by: Kai Koehne
This commit is contained in:
@@ -49,7 +49,7 @@ DesignerSettings SettingsPageWidget::settings() const
|
||||
DesignerSettings ds;
|
||||
ds.itemSpacing = m_ui.spinItemSpacing->value();
|
||||
ds.snapMargin = m_ui.spinSnapMargin->value();
|
||||
ds.enableContextPane = m_ui.textEditHelperCheckBox->isChecked();
|
||||
ds.enableContextPane = false;
|
||||
return ds;
|
||||
}
|
||||
|
||||
@@ -57,7 +57,6 @@ void SettingsPageWidget::setSettings(const DesignerSettings &s)
|
||||
{
|
||||
m_ui.spinItemSpacing->setValue(s.itemSpacing);
|
||||
m_ui.spinSnapMargin->setValue(s.snapMargin);
|
||||
m_ui.textEditHelperCheckBox->setChecked(s.enableContextPane);
|
||||
}
|
||||
|
||||
QString SettingsPageWidget::searchKeywords() const
|
||||
|
@@ -99,22 +99,6 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="title">
|
||||
<string>Text Editor Helper</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="textEditHelperCheckBox">
|
||||
<property name="text">
|
||||
<string>enable</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
|
Reference in New Issue
Block a user