Clang: Add "Clang Code Model" group box to code model settings page

...and move existing widgets (hints about enabled/disabled plugin,
diagnostic config chooser).

Change-Id: I3097fad30d5bbe578f0a822f6f5615e48c1595b1
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Nikolai Kosjar
2018-05-29 15:53:40 +02:00
parent b1ecfe5c5d
commit 89c42161fa

View File

@@ -84,22 +84,31 @@
</widget>
</item>
<item>
<widget class="QLabel" name="clangCodeModelIsEnabledHint">
<property name="text">
<string>&lt;i&gt;The Clang Code Model is enabled because the corresponding plugin is loaded.&lt;/i&gt;</string>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Clang Code Model</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QLabel" name="clangCodeModelIsEnabledHint">
<property name="text">
<string>&lt;i&gt;The Clang Code Model is enabled because the corresponding plugin is loaded.&lt;/i&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="clangCodeModelIsDisabledHint">
<property name="text">
<string>&lt;i&gt;The Clang Code Model is disabled because the corresponding plugin is not loaded.&lt;/i&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="CppTools::ClangDiagnosticConfigsSelectionWidget" name="clangDiagnosticConfigsSelectionWidget" native="true"/>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QLabel" name="clangCodeModelIsDisabledHint">
<property name="text">
<string>&lt;i&gt;The Clang Code Model is disabled because the corresponding plugin is not loaded.&lt;/i&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="CppTools::ClangDiagnosticConfigsSelectionWidget" name="clangDiagnosticConfigsSelectionWidget" native="true"/>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">