forked from qt-creator/qt-creator
Polish the settings dialog.
Add a title label to the pages. Use QGroupBoxes throughout. Extend SavedAction to work with checkable QGroupBoxes. Polish UI files, use common layout for VCS plugins. Performance: Apply only visited settings pages. Add search keywords. Task-number: QTCREATOR-26
This commit is contained in:
@@ -13,9 +13,6 @@
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="title">
|
||||
<string>Code Completion</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="caseSensitive">
|
||||
|
||||
@@ -243,7 +243,8 @@ QString CppFileSettingsWidget::searchKeywords() const
|
||||
QString rc;
|
||||
QTextStream(&rc) << m_ui->headerSuffixLabel->text()
|
||||
<< ' ' << m_ui->sourceSuffixLabel->text()
|
||||
<< ' ' << m_ui->lowerCaseFileNamesCheckBox->text();
|
||||
<< ' ' << m_ui->lowerCaseFileNamesCheckBox->text()
|
||||
<< ' ' << m_ui->licenseTemplateLabel->text();
|
||||
rc.remove(QLatin1Char('&'));
|
||||
return rc;
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>424</width>
|
||||
<width>441</width>
|
||||
<height>503</height>
|
||||
</rect>
|
||||
</property>
|
||||
@@ -19,9 +19,6 @@
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>File Naming Conventions</string>
|
||||
</property>
|
||||
<layout class="QFormLayout" name="formLayout">
|
||||
<property name="fieldGrowthPolicy">
|
||||
<enum>QFormLayout::ExpandingFieldsGrow</enum>
|
||||
@@ -61,7 +58,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="Utils::PathChooser" name="licenseTemplatePathChooser" native="true"/>
|
||||
<widget class="Utils::PathChooser" name="licenseTemplatePathChooser"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
|
||||
Reference in New Issue
Block a user