forked from qt-creator/qt-creator
CppTools: Improve clang diagnostic configuration UI
...by clarifying the widget hierarchy. Ensure that the combo box at the top is perceived as the main widget: * Remove the "Configuration to use:" label so the combo box gets more horizontal space and thus dominance. Also, rename the group box header/label from "Clang Diagnostic Warnigns" to "Clang Diagnostic Configuration". * Move the command line text edit below the combo box into its own tab page to clarify the relation to the tidy/clazy tabs. Change-Id: I97a0785678e33b94746046d07a911422b1469890 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
41
src/plugins/cpptools/clangbasechecks.ui
Normal file
41
src/plugins/cpptools/clangbasechecks.ui
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>CppTools::ClangBaseChecks</class>
|
||||
<widget class="QWidget" name="CppTools::ClangBaseChecks">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>665</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>For appropriate options, consult the GCC or Clang manual pages or the <a href="https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html">GCC online documentation</a>.</string>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="CppTools::WrappableLineEdit" name="diagnosticOptionsTextEdit"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>CppTools::WrappableLineEdit</class>
|
||||
<extends>QLineEdit</extends>
|
||||
<header location="global">cpptools/wrappablelineedit.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
Reference in New Issue
Block a user