CodeStyleCheckerDialog: changed the dialog layout to get more space for the result list.

Wed, 27 May 2020 18:56:17 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 27 May 2020 18:56:17 +0200
changeset 7600
d2bf0476484b
parent 7599
d6efb1e15a5b
child 7601
128cdaf6abca

CodeStyleCheckerDialog: changed the dialog layout to get more space for the result list.

eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py file | annotate | diff | comparison | revisions
eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui file | annotate | diff | comparison | revisions
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py	Wed May 27 18:55:34 2020 +0200
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py	Wed May 27 18:56:17 2020 +0200
@@ -48,7 +48,8 @@
     
     availableFutures = [
         'division', 'absolute_import', 'with_statement',
-        'print_function', 'unicode_literals', 'generator_stop']
+        'print_function', 'unicode_literals', 'generator_stop',
+        'annotations']
     
     noResults = 0
     noFiles = 1
@@ -104,6 +105,9 @@
         self.addBuiltinButton.setIcon(UI.PixmapCache.getIcon("plus"))
         self.deleteBuiltinButton.setIcon(UI.PixmapCache.getIcon("minus"))
         
+        self.restartButton.setEnabled(False)
+        self.fixButton.setEnabled(False)
+        
         self.checkProgress.setVisible(False)
         self.checkProgressLabel.setVisible(False)
         self.checkProgressLabel.setMaximumWidth(600)
@@ -130,6 +134,9 @@
         self.__noFixCodesList = []
         
         self.on_loadDefaultButton_clicked()
+        
+        self.mainWidget.setCurrentWidget(self.configureTab)
+        self.optionsTabWidget.setCurrentWidget(self.globalOptionsTab)
     
     def __resort(self):
         """
@@ -411,6 +418,8 @@
         if self.__project is None:
             self.__project = e5App().getObject("Project")
         
+        self.mainWidget.setCurrentWidget(self.runTab)
+        
         self.cancelled = False
         self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False)
         self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(True)
@@ -419,6 +428,7 @@
         self.showButton.setEnabled(False)
         self.fixButton.setEnabled(False)
         self.startButton.setEnabled(False)
+        self.restartButton.setEnabled(False)
         if repeat is not None:
             self.repeatCheckBox.setChecked(repeat)
         self.checkProgress.setVisible(True)
@@ -772,6 +782,7 @@
             self.statisticsButton.setEnabled(True)
             self.showButton.setEnabled(True)
             self.startButton.setEnabled(True)
+            self.restartButton.setEnabled(True)
             
             if self.results != CodeStyleCheckerDialog.hasResults:
                 if self.results == CodeStyleCheckerDialog.noResults:
@@ -855,8 +866,16 @@
         self.resultList.clear()
         self.results = CodeStyleCheckerDialog.noResults
         self.cancelled = False
+        
         self.start(self.__fileOrFileList)
     
+    @pyqtSlot()
+    def on_restartButton_clicked(self):
+        """
+        Private slot to restart a code style check run.
+        """
+        self.on_startButton_clicked()
+    
     def __selectCodes(self, edit, showFixCodes):
         """
         Private method to select message codes via a selection dialog.
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui	Wed May 27 18:55:34 2020 +0200
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui	Wed May 27 18:56:17 2020 +0200
@@ -6,7 +6,7 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>700</width>
+    <width>800</width>
     <height>700</height>
    </rect>
   </property>
@@ -21,944 +21,991 @@
   <property name="sizeGripEnabled">
    <bool>true</bool>
   </property>
-  <layout class="QVBoxLayout" name="verticalLayout_7">
+  <layout class="QVBoxLayout" name="verticalLayout_9">
    <item>
-    <widget class="QFrame" name="filterFrame">
-     <property name="sizePolicy">
-      <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
-       <horstretch>0</horstretch>
-       <verstretch>4</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="frameShape">
-      <enum>QFrame::NoFrame</enum>
+    <widget class="QTabWidget" name="mainWidget">
+     <property name="currentIndex">
+      <number>0</number>
      </property>
-     <layout class="QHBoxLayout" name="horizontalLayout_2">
-      <item>
-       <widget class="QTabWidget" name="optionsTabWidget">
-        <property name="currentIndex">
-         <number>0</number>
-        </property>
-        <widget class="QWidget" name="tab_1">
-         <attribute name="title">
-          <string>Global Options</string>
-         </attribute>
-         <layout class="QGridLayout" name="gridLayout_2">
-          <item row="0" column="0">
-           <widget class="QLabel" name="label_2">
-            <property name="text">
-             <string>Exclude Files:</string>
-            </property>
-           </widget>
-          </item>
-          <item row="0" column="1">
-           <widget class="E5ClearableLineEdit" name="excludeFilesEdit">
-            <property name="toolTip">
-             <string>Enter filename patterns of files to be excluded separated by a comma</string>
-            </property>
-           </widget>
-          </item>
-          <item row="1" column="0">
-           <widget class="QLabel" name="label">
-            <property name="text">
-             <string>Exclude Messages:</string>
-            </property>
-           </widget>
-          </item>
-          <item row="1" column="1">
-           <widget class="E5ClearableLineEdit" name="excludeMessagesEdit">
-            <property name="toolTip">
-             <string>Enter message codes or categories to be excluded separated by a comma</string>
-            </property>
-           </widget>
-          </item>
-          <item row="1" column="2">
-           <widget class="QToolButton" name="excludeMessagesSelectButton">
-            <property name="toolTip">
-             <string>Press to select the message codes from a list</string>
-            </property>
-           </widget>
-          </item>
-          <item row="2" column="0">
-           <widget class="QLabel" name="label_3">
-            <property name="text">
-             <string>Included Messages:</string>
-            </property>
-           </widget>
-          </item>
-          <item row="2" column="1">
-           <widget class="E5ClearableLineEdit" name="includeMessagesEdit">
-            <property name="toolTip">
-             <string>Enter message codes or categories to be included separated by a comma</string>
-            </property>
-           </widget>
-          </item>
-          <item row="2" column="2">
-           <widget class="QToolButton" name="includeMessagesSelectButton">
-            <property name="toolTip">
-             <string>Press to select the message codes from a list</string>
-            </property>
-           </widget>
-          </item>
-          <item row="3" column="0">
-           <widget class="QLabel" name="label_4">
-            <property name="text">
-             <string>Fix Issues:</string>
-            </property>
-           </widget>
-          </item>
-          <item row="3" column="1">
-           <widget class="E5ClearableLineEdit" name="fixIssuesEdit">
-            <property name="toolTip">
-             <string>Enter message codes of issues to be fixed automatically (leave empty to fix all)</string>
-            </property>
-           </widget>
-          </item>
-          <item row="3" column="2">
-           <widget class="QToolButton" name="fixIssuesSelectButton">
-            <property name="toolTip">
-             <string>Press to select the message codes from a list</string>
-            </property>
-           </widget>
-          </item>
-          <item row="4" column="0">
-           <widget class="QLabel" name="label_6">
-            <property name="text">
-             <string>Don't Fix Issues:</string>
-            </property>
-           </widget>
-          </item>
-          <item row="4" column="1">
-           <widget class="E5ClearableLineEdit" name="noFixIssuesEdit">
-            <property name="toolTip">
-             <string>Enter message codes of issues not to be fixed automatically</string>
-            </property>
-           </widget>
-          </item>
-          <item row="4" column="2">
-           <widget class="QToolButton" name="noFixIssuesSelectButton">
-            <property name="toolTip">
-             <string>Press to select the message codes from a list</string>
-            </property>
-           </widget>
-          </item>
-          <item row="5" column="0" colspan="3">
-           <layout class="QHBoxLayout" name="horizontalLayout">
-            <item>
-             <widget class="QCheckBox" name="repeatCheckBox">
-              <property name="toolTip">
-               <string>Select to repeat each message type</string>
-              </property>
-              <property name="text">
-               <string>Repeat messages</string>
-              </property>
-             </widget>
-            </item>
-            <item>
-             <widget class="QCheckBox" name="fixIssuesCheckBox">
-              <property name="enabled">
-               <bool>false</bool>
-              </property>
-              <property name="toolTip">
-               <string>Select to fix some issues</string>
-              </property>
-              <property name="text">
-               <string>Fix issues automatically</string>
-              </property>
-             </widget>
-            </item>
-            <item>
-             <widget class="QCheckBox" name="ignoredCheckBox">
-              <property name="enabled">
-               <bool>false</bool>
-              </property>
-              <property name="toolTip">
-               <string>Select to show ignored issues</string>
-              </property>
-              <property name="text">
-               <string>Show ignored</string>
+     <widget class="QWidget" name="configureTab">
+      <attribute name="title">
+       <string>Configure</string>
+      </attribute>
+      <layout class="QHBoxLayout" name="horizontalLayout_2">
+       <item>
+        <widget class="QTabWidget" name="optionsTabWidget">
+         <property name="currentIndex">
+          <number>0</number>
+         </property>
+         <widget class="QWidget" name="globalOptionsTab">
+          <attribute name="title">
+           <string>Global Options</string>
+          </attribute>
+          <layout class="QGridLayout" name="gridLayout_2">
+           <item row="0" column="0">
+            <widget class="QLabel" name="label_2">
+             <property name="text">
+              <string>Exclude Files:</string>
+             </property>
+            </widget>
+           </item>
+           <item row="0" column="1">
+            <widget class="E5ClearableLineEdit" name="excludeFilesEdit">
+             <property name="toolTip">
+              <string>Enter filename patterns of files to be excluded separated by a comma</string>
+             </property>
+            </widget>
+           </item>
+           <item row="1" column="0">
+            <widget class="QLabel" name="label">
+             <property name="text">
+              <string>Exclude Messages:</string>
+             </property>
+            </widget>
+           </item>
+           <item row="1" column="1">
+            <widget class="E5ClearableLineEdit" name="excludeMessagesEdit">
+             <property name="toolTip">
+              <string>Enter message codes or categories to be excluded separated by a comma</string>
+             </property>
+            </widget>
+           </item>
+           <item row="1" column="2">
+            <widget class="QToolButton" name="excludeMessagesSelectButton">
+             <property name="toolTip">
+              <string>Press to select the message codes from a list</string>
+             </property>
+            </widget>
+           </item>
+           <item row="2" column="0">
+            <widget class="QLabel" name="label_3">
+             <property name="text">
+              <string>Included Messages:</string>
+             </property>
+            </widget>
+           </item>
+           <item row="2" column="1">
+            <widget class="E5ClearableLineEdit" name="includeMessagesEdit">
+             <property name="toolTip">
+              <string>Enter message codes or categories to be included separated by a comma</string>
+             </property>
+            </widget>
+           </item>
+           <item row="2" column="2">
+            <widget class="QToolButton" name="includeMessagesSelectButton">
+             <property name="toolTip">
+              <string>Press to select the message codes from a list</string>
+             </property>
+            </widget>
+           </item>
+           <item row="3" column="0">
+            <widget class="QLabel" name="label_4">
+             <property name="text">
+              <string>Fix Issues:</string>
+             </property>
+            </widget>
+           </item>
+           <item row="3" column="1">
+            <widget class="E5ClearableLineEdit" name="fixIssuesEdit">
+             <property name="toolTip">
+              <string>Enter message codes of issues to be fixed automatically (leave empty to fix all)</string>
+             </property>
+            </widget>
+           </item>
+           <item row="3" column="2">
+            <widget class="QToolButton" name="fixIssuesSelectButton">
+             <property name="toolTip">
+              <string>Press to select the message codes from a list</string>
+             </property>
+            </widget>
+           </item>
+           <item row="4" column="0">
+            <widget class="QLabel" name="label_6">
+             <property name="text">
+              <string>Don't Fix Issues:</string>
+             </property>
+            </widget>
+           </item>
+           <item row="4" column="1">
+            <widget class="E5ClearableLineEdit" name="noFixIssuesEdit">
+             <property name="toolTip">
+              <string>Enter message codes of issues not to be fixed automatically</string>
+             </property>
+            </widget>
+           </item>
+           <item row="4" column="2">
+            <widget class="QToolButton" name="noFixIssuesSelectButton">
+             <property name="toolTip">
+              <string>Press to select the message codes from a list</string>
+             </property>
+            </widget>
+           </item>
+           <item row="5" column="0" colspan="3">
+            <layout class="QHBoxLayout" name="horizontalLayout">
+             <item>
+              <widget class="QCheckBox" name="repeatCheckBox">
+               <property name="toolTip">
+                <string>Select to repeat each message type</string>
+               </property>
+               <property name="text">
+                <string>Repeat messages</string>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QCheckBox" name="fixIssuesCheckBox">
+               <property name="enabled">
+                <bool>false</bool>
+               </property>
+               <property name="toolTip">
+                <string>Select to fix some issues</string>
+               </property>
+               <property name="text">
+                <string>Fix issues automatically</string>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QCheckBox" name="ignoredCheckBox">
+               <property name="enabled">
+                <bool>false</bool>
+               </property>
+               <property name="toolTip">
+                <string>Select to show ignored issues</string>
+               </property>
+               <property name="text">
+                <string>Show ignored</string>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <spacer name="horizontalSpacer">
+               <property name="orientation">
+                <enum>Qt::Horizontal</enum>
+               </property>
+               <property name="sizeHint" stdset="0">
+                <size>
+                 <width>40</width>
+                 <height>20</height>
+                </size>
+               </property>
+              </spacer>
+             </item>
+            </layout>
+           </item>
+           <item row="6" column="0" colspan="2">
+            <spacer name="verticalSpacer_2">
+             <property name="orientation">
+              <enum>Qt::Vertical</enum>
+             </property>
+             <property name="sizeHint" stdset="0">
+              <size>
+               <width>20</width>
+               <height>68</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+          </layout>
+         </widget>
+         <widget class="QWidget" name="specificOptionsTab">
+          <attribute name="title">
+           <string>Specific Options</string>
+          </attribute>
+          <layout class="QVBoxLayout" name="verticalLayout_4">
+           <property name="leftMargin">
+            <number>1</number>
+           </property>
+           <property name="topMargin">
+            <number>1</number>
+           </property>
+           <property name="rightMargin">
+            <number>1</number>
+           </property>
+           <property name="bottomMargin">
+            <number>1</number>
+           </property>
+           <item>
+            <widget class="QScrollArea" name="scrollArea">
+             <property name="frameShape">
+              <enum>QFrame::NoFrame</enum>
+             </property>
+             <property name="frameShadow">
+              <enum>QFrame::Plain</enum>
+             </property>
+             <property name="verticalScrollBarPolicy">
+              <enum>Qt::ScrollBarAlwaysOn</enum>
+             </property>
+             <property name="widgetResizable">
+              <bool>true</bool>
+             </property>
+             <widget class="QWidget" name="scrollAreaWidgetContents">
+              <property name="geometry">
+               <rect>
+                <x>0</x>
+                <y>0</y>
+                <width>389</width>
+                <height>1102</height>
+               </rect>
               </property>
-             </widget>
-            </item>
-            <item>
-             <spacer name="horizontalSpacer">
-              <property name="orientation">
-               <enum>Qt::Horizontal</enum>
-              </property>
-              <property name="sizeHint" stdset="0">
-               <size>
-                <width>40</width>
-                <height>20</height>
-               </size>
-              </property>
-             </spacer>
-            </item>
-           </layout>
-          </item>
-          <item row="6" column="0" colspan="2">
-           <spacer name="verticalSpacer_2">
-            <property name="orientation">
-             <enum>Qt::Vertical</enum>
-            </property>
-            <property name="sizeHint" stdset="0">
-             <size>
-              <width>20</width>
-              <height>68</height>
-             </size>
-            </property>
-           </spacer>
-          </item>
-         </layout>
-        </widget>
-        <widget class="QWidget" name="tab_2">
-         <attribute name="title">
-          <string>Specific Options</string>
-         </attribute>
-         <layout class="QVBoxLayout" name="verticalLayout_4">
-          <property name="leftMargin">
-           <number>1</number>
-          </property>
-          <property name="topMargin">
-           <number>1</number>
-          </property>
-          <property name="rightMargin">
-           <number>1</number>
-          </property>
-          <property name="bottomMargin">
-           <number>1</number>
-          </property>
-          <item>
-           <widget class="QScrollArea" name="scrollArea">
-            <property name="frameShape">
-             <enum>QFrame::NoFrame</enum>
-            </property>
-            <property name="frameShadow">
-             <enum>QFrame::Plain</enum>
-            </property>
-            <property name="verticalScrollBarPolicy">
-             <enum>Qt::ScrollBarAlwaysOn</enum>
-            </property>
-            <property name="widgetResizable">
-             <bool>true</bool>
-            </property>
-            <widget class="QWidget" name="scrollAreaWidgetContents">
-             <property name="geometry">
-              <rect>
-               <x>0</x>
-               <y>0</y>
-               <width>543</width>
-               <height>887</height>
-              </rect>
-             </property>
-             <layout class="QVBoxLayout" name="verticalLayout_6">
-              <item>
-               <widget class="QGroupBox" name="groupBox">
-                <property name="title">
-                 <string>Source Style</string>
-                </property>
-                <layout class="QVBoxLayout" name="verticalLayout_2">
-                 <item>
-                  <layout class="QGridLayout" name="gridLayout_5">
-                   <item row="0" column="0">
-                    <widget class="QLabel" name="label_5">
-                     <property name="text">
-                      <string>Max. Line Length:</string>
-                     </property>
-                    </widget>
-                   </item>
-                   <item row="0" column="1">
-                    <widget class="QSpinBox" name="lineLengthSpinBox">
-                     <property name="toolTip">
-                      <string>Enter the maximum allowed line length (PEP-8: 79 characters)</string>
-                     </property>
-                     <property name="alignment">
-                      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
-                     </property>
-                     <property name="minimum">
-                      <number>60</number>
-                     </property>
-                     <property name="maximum">
-                      <number>119</number>
-                     </property>
-                     <property name="value">
-                      <number>79</number>
-                     </property>
-                    </widget>
-                   </item>
-                   <item row="1" column="0">
-                    <widget class="QLabel" name="label_17">
-                     <property name="text">
-                      <string>Max. Documentation Line Length:</string>
-                     </property>
-                    </widget>
-                   </item>
-                   <item row="1" column="1">
-                    <widget class="QSpinBox" name="docLineLengthSpinBox">
-                     <property name="toolTip">
-                      <string>Enter the maximum allowed line length (PEP-8: 79 characters)</string>
-                     </property>
-                     <property name="alignment">
-                      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
-                     </property>
-                     <property name="minimum">
-                      <number>60</number>
-                     </property>
-                     <property name="maximum">
-                      <number>119</number>
-                     </property>
-                     <property name="value">
-                      <number>79</number>
-                     </property>
-                    </widget>
-                   </item>
-                   <item row="0" column="2">
-                    <spacer name="horizontalSpacer_3">
-                     <property name="orientation">
-                      <enum>Qt::Horizontal</enum>
-                     </property>
-                     <property name="sizeHint" stdset="0">
-                      <size>
-                       <width>40</width>
-                       <height>20</height>
-                      </size>
-                     </property>
-                    </spacer>
-                   </item>
-                  </layout>
-                 </item>
-                 <item>
-                  <widget class="QGroupBox" name="groupBox_8">
-                   <property name="title">
-                    <string>Blank Lines Before</string>
-                   </property>
-                   <layout class="QGridLayout" name="gridLayout_3">
+              <layout class="QVBoxLayout" name="verticalLayout_6">
+               <item>
+                <widget class="QGroupBox" name="groupBox">
+                 <property name="title">
+                  <string>Source Style</string>
+                 </property>
+                 <layout class="QVBoxLayout" name="verticalLayout_2">
+                  <item>
+                   <layout class="QGridLayout" name="gridLayout_5">
                     <item row="0" column="0">
-                     <widget class="QLabel" name="label_15">
+                     <widget class="QLabel" name="label_5">
                       <property name="text">
-                       <string>Top Level Classes and Functions:</string>
+                       <string>Max. Line Length:</string>
                       </property>
                      </widget>
                     </item>
                     <item row="0" column="1">
-                     <widget class="QSpinBox" name="blankBeforeTopLevelSpinBox">
+                     <widget class="QSpinBox" name="lineLengthSpinBox">
                       <property name="toolTip">
-                       <string>Enter the number of blank lines before top level classes and functions</string>
+                       <string>Enter the maximum allowed line length (PEP-8: 79 characters)</string>
                       </property>
                       <property name="alignment">
                        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
                       </property>
                       <property name="minimum">
-                       <number>1</number>
+                       <number>60</number>
                       </property>
                       <property name="maximum">
-                       <number>10</number>
+                       <number>119</number>
                       </property>
                       <property name="value">
-                       <number>2</number>
+                       <number>79</number>
                       </property>
                      </widget>
                     </item>
-                    <item row="0" column="2">
-                     <spacer name="horizontalSpacer_6">
-                      <property name="orientation">
-                       <enum>Qt::Horizontal</enum>
-                      </property>
-                      <property name="sizeHint" stdset="0">
-                       <size>
-                        <width>153</width>
-                        <height>20</height>
-                       </size>
-                      </property>
-                     </spacer>
-                    </item>
                     <item row="1" column="0">
-                     <widget class="QLabel" name="label_16">
+                     <widget class="QLabel" name="label_17">
                       <property name="text">
-                       <string>Methods and Nested Classes and Functions:</string>
+                       <string>Max. Documentation Line Length:</string>
                       </property>
                      </widget>
                     </item>
                     <item row="1" column="1">
-                     <widget class="QSpinBox" name="blankBeforeMethodSpinBox">
+                     <widget class="QSpinBox" name="docLineLengthSpinBox">
                       <property name="toolTip">
-                       <string>Enter the number of blank lines before methods and nested classes or functions</string>
+                       <string>Enter the maximum allowed line length (PEP-8: 79 characters)</string>
                       </property>
                       <property name="alignment">
                        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
                       </property>
                       <property name="minimum">
-                       <number>1</number>
+                       <number>60</number>
                       </property>
                       <property name="maximum">
-                       <number>10</number>
+                       <number>119</number>
                       </property>
                       <property name="value">
-                       <number>1</number>
+                       <number>79</number>
+                      </property>
+                     </widget>
+                    </item>
+                    <item row="0" column="2">
+                     <spacer name="horizontalSpacer_3">
+                      <property name="orientation">
+                       <enum>Qt::Horizontal</enum>
+                      </property>
+                      <property name="sizeHint" stdset="0">
+                       <size>
+                        <width>40</width>
+                        <height>20</height>
+                       </size>
+                      </property>
+                     </spacer>
+                    </item>
+                   </layout>
+                  </item>
+                  <item>
+                   <widget class="QGroupBox" name="groupBox_8">
+                    <property name="title">
+                     <string>Blank Lines Before</string>
+                    </property>
+                    <layout class="QGridLayout" name="gridLayout_3">
+                     <item row="0" column="0">
+                      <widget class="QLabel" name="label_15">
+                       <property name="text">
+                        <string>Top Level Classes and Functions:</string>
+                       </property>
+                      </widget>
+                     </item>
+                     <item row="0" column="1">
+                      <widget class="QSpinBox" name="blankBeforeTopLevelSpinBox">
+                       <property name="toolTip">
+                        <string>Enter the number of blank lines before top level classes and functions</string>
+                       </property>
+                       <property name="alignment">
+                        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                       </property>
+                       <property name="minimum">
+                        <number>1</number>
+                       </property>
+                       <property name="maximum">
+                        <number>10</number>
+                       </property>
+                       <property name="value">
+                        <number>2</number>
+                       </property>
+                      </widget>
+                     </item>
+                     <item row="0" column="2">
+                      <spacer name="horizontalSpacer_6">
+                       <property name="orientation">
+                        <enum>Qt::Horizontal</enum>
+                       </property>
+                       <property name="sizeHint" stdset="0">
+                        <size>
+                         <width>153</width>
+                         <height>20</height>
+                        </size>
+                       </property>
+                      </spacer>
+                     </item>
+                     <item row="1" column="0">
+                      <widget class="QLabel" name="label_16">
+                       <property name="text">
+                        <string>Methods and Nested Classes and Functions:</string>
+                       </property>
+                      </widget>
+                     </item>
+                     <item row="1" column="1">
+                      <widget class="QSpinBox" name="blankBeforeMethodSpinBox">
+                       <property name="toolTip">
+                        <string>Enter the number of blank lines before methods and nested classes or functions</string>
+                       </property>
+                       <property name="alignment">
+                        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                       </property>
+                       <property name="minimum">
+                        <number>1</number>
+                       </property>
+                       <property name="maximum">
+                        <number>10</number>
+                       </property>
+                       <property name="value">
+                        <number>1</number>
+                       </property>
+                      </widget>
+                     </item>
+                    </layout>
+                   </widget>
+                  </item>
+                  <item>
+                   <widget class="QCheckBox" name="hangClosingCheckBox">
+                    <property name="toolTip">
+                     <string>Select to allow hanging closing brackets</string>
+                    </property>
+                    <property name="text">
+                     <string>Allow hanging closing brackets</string>
+                    </property>
+                   </widget>
+                  </item>
+                 </layout>
+                </widget>
+               </item>
+               <item>
+                <widget class="QGroupBox" name="groupBox_2">
+                 <property name="title">
+                  <string>Documentation Style</string>
+                 </property>
+                 <layout class="QHBoxLayout" name="horizontalLayout_3">
+                  <item>
+                   <widget class="QLabel" name="label_7">
+                    <property name="text">
+                     <string>Docstring Type:</string>
+                    </property>
+                   </widget>
+                  </item>
+                  <item>
+                   <widget class="QComboBox" name="docTypeComboBox">
+                    <property name="toolTip">
+                     <string>Select the rule set for docstrings</string>
+                    </property>
+                   </widget>
+                  </item>
+                  <item>
+                   <spacer name="horizontalSpacer_4">
+                    <property name="orientation">
+                     <enum>Qt::Horizontal</enum>
+                    </property>
+                    <property name="sizeHint" stdset="0">
+                     <size>
+                      <width>297</width>
+                      <height>20</height>
+                     </size>
+                    </property>
+                   </spacer>
+                  </item>
+                 </layout>
+                </widget>
+               </item>
+               <item>
+                <widget class="QGroupBox" name="groupBox_4">
+                 <property name="title">
+                  <string>Coding Line</string>
+                 </property>
+                 <layout class="QHBoxLayout" name="horizontalLayout_6">
+                  <item>
+                   <widget class="QLabel" name="label_9">
+                    <property name="text">
+                     <string>Valid Encodings:</string>
+                    </property>
+                   </widget>
+                  </item>
+                  <item>
+                   <widget class="E5ClearableLineEdit" name="encodingsEdit">
+                    <property name="toolTip">
+                     <string>Enter valid encodings separated by a comma (leave empty to use defaults)</string>
+                    </property>
+                   </widget>
+                  </item>
+                 </layout>
+                </widget>
+               </item>
+               <item>
+                <widget class="QGroupBox" name="groupBox_5">
+                 <property name="title">
+                  <string>Copyright</string>
+                 </property>
+                 <layout class="QGridLayout" name="gridLayout">
+                  <item row="0" column="0">
+                   <widget class="QLabel" name="label_10">
+                    <property name="text">
+                     <string>Min. File Size:</string>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="0" column="1">
+                   <widget class="QSpinBox" name="copyrightFileSizeSpinBox">
+                    <property name="toolTip">
+                     <string>Enter the minimum size a file must have to be checked (0 for all files)</string>
+                    </property>
+                    <property name="alignment">
+                     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                    </property>
+                    <property name="maximum">
+                     <number>4096</number>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="0" column="2">
+                   <spacer name="horizontalSpacer_2">
+                    <property name="orientation">
+                     <enum>Qt::Horizontal</enum>
+                    </property>
+                    <property name="sizeHint" stdset="0">
+                     <size>
+                      <width>324</width>
+                      <height>20</height>
+                     </size>
+                    </property>
+                   </spacer>
+                  </item>
+                  <item row="1" column="0">
+                   <widget class="QLabel" name="label_11">
+                    <property name="text">
+                     <string>Author:</string>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="1" column="1" colspan="2">
+                   <widget class="E5ClearableLineEdit" name="copyrightAuthorEdit">
+                    <property name="toolTip">
+                     <string>Enter a copyright author name to check for (leave empty to omit this check)</string>
+                    </property>
+                   </widget>
+                  </item>
+                 </layout>
+                </widget>
+               </item>
+               <item>
+                <widget class="QGroupBox" name="groupBox_6">
+                 <property name="title">
+                  <string>Future Imports</string>
+                 </property>
+                 <layout class="QHBoxLayout" name="horizontalLayout_7">
+                  <item>
+                   <widget class="QLabel" name="label_12">
+                    <property name="text">
+                     <string>Expected Imports:</string>
+                    </property>
+                    <property name="alignment">
+                     <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+                    </property>
+                   </widget>
+                  </item>
+                  <item>
+                   <widget class="QListWidget" name="futuresList">
+                    <property name="alternatingRowColors">
+                     <bool>true</bool>
+                    </property>
+                    <property name="selectionMode">
+                     <enum>QAbstractItemView::ExtendedSelection</enum>
+                    </property>
+                    <property name="sortingEnabled">
+                     <bool>true</bool>
+                    </property>
+                   </widget>
+                  </item>
+                 </layout>
+                </widget>
+               </item>
+               <item>
+                <widget class="QGroupBox" name="groupBox_7">
+                 <property name="title">
+                  <string>Ignore Built-ins Assignment</string>
+                 </property>
+                 <layout class="QHBoxLayout" name="horizontalLayout_8">
+                  <item>
+                   <widget class="QTreeWidget" name="builtinsAssignmentList">
+                    <property name="alternatingRowColors">
+                     <bool>true</bool>
+                    </property>
+                    <property name="rootIsDecorated">
+                     <bool>false</bool>
+                    </property>
+                    <property name="sortingEnabled">
+                     <bool>true</bool>
+                    </property>
+                    <column>
+                     <property name="text">
+                      <string>Left</string>
+                     </property>
+                    </column>
+                    <column>
+                     <property name="text">
+                      <string>Right</string>
+                     </property>
+                    </column>
+                   </widget>
+                  </item>
+                  <item>
+                   <layout class="QVBoxLayout" name="verticalLayout_5">
+                    <item alignment="Qt::AlignHCenter">
+                     <widget class="QToolButton" name="addBuiltinButton">
+                      <property name="toolTip">
+                       <string>Press to add a built-in assignment to be ignored</string>
+                      </property>
+                      <property name="text">
+                       <string notr="true">+</string>
+                      </property>
+                     </widget>
+                    </item>
+                    <item alignment="Qt::AlignHCenter">
+                     <widget class="QToolButton" name="deleteBuiltinButton">
+                      <property name="toolTip">
+                       <string>Press to delete the selected entries</string>
+                      </property>
+                      <property name="text">
+                       <string notr="true">-</string>
                       </property>
                      </widget>
                     </item>
+                    <item>
+                     <spacer name="verticalSpacer_3">
+                      <property name="orientation">
+                       <enum>Qt::Vertical</enum>
+                      </property>
+                      <property name="sizeHint" stdset="0">
+                       <size>
+                        <width>20</width>
+                        <height>40</height>
+                       </size>
+                      </property>
+                     </spacer>
+                    </item>
                    </layout>
-                  </widget>
-                 </item>
-                 <item>
-                  <widget class="QCheckBox" name="hangClosingCheckBox">
-                   <property name="toolTip">
-                    <string>Select to allow hanging closing brackets</string>
-                   </property>
-                   <property name="text">
-                    <string>Allow hanging closing brackets</string>
-                   </property>
-                  </widget>
-                 </item>
-                </layout>
-               </widget>
-              </item>
-              <item>
-               <widget class="QGroupBox" name="groupBox_2">
-                <property name="title">
-                 <string>Documentation Style</string>
-                </property>
-                <layout class="QHBoxLayout" name="horizontalLayout_3">
-                 <item>
-                  <widget class="QLabel" name="label_7">
-                   <property name="text">
-                    <string>Docstring Type:</string>
-                   </property>
-                  </widget>
-                 </item>
-                 <item>
-                  <widget class="QComboBox" name="docTypeComboBox">
-                   <property name="toolTip">
-                    <string>Select the rule set for docstrings</string>
-                   </property>
-                  </widget>
-                 </item>
-                 <item>
-                  <spacer name="horizontalSpacer_4">
-                   <property name="orientation">
-                    <enum>Qt::Horizontal</enum>
-                   </property>
-                   <property name="sizeHint" stdset="0">
-                    <size>
-                     <width>297</width>
-                     <height>20</height>
-                    </size>
-                   </property>
-                  </spacer>
-                 </item>
-                </layout>
-               </widget>
-              </item>
-              <item>
-               <widget class="QGroupBox" name="groupBox_4">
-                <property name="title">
-                 <string>Coding Line</string>
-                </property>
-                <layout class="QHBoxLayout" name="horizontalLayout_6">
-                 <item>
-                  <widget class="QLabel" name="label_9">
-                   <property name="text">
-                    <string>Valid Encodings:</string>
-                   </property>
-                  </widget>
-                 </item>
-                 <item>
-                  <widget class="E5ClearableLineEdit" name="encodingsEdit">
-                   <property name="toolTip">
-                    <string>Enter valid encodings separated by a comma (leave empty to use defaults)</string>
-                   </property>
-                  </widget>
-                 </item>
-                </layout>
-               </widget>
-              </item>
-              <item>
-               <widget class="QGroupBox" name="groupBox_5">
-                <property name="title">
-                 <string>Copyright</string>
-                </property>
-                <layout class="QGridLayout" name="gridLayout">
-                 <item row="0" column="0">
-                  <widget class="QLabel" name="label_10">
-                   <property name="text">
-                    <string>Min. File Size:</string>
-                   </property>
-                  </widget>
-                 </item>
-                 <item row="0" column="1">
-                  <widget class="QSpinBox" name="copyrightFileSizeSpinBox">
-                   <property name="toolTip">
-                    <string>Enter the minimum size a file must have to be checked (0 for all files)</string>
-                   </property>
-                   <property name="alignment">
-                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
-                   </property>
-                   <property name="maximum">
-                    <number>4096</number>
-                   </property>
-                  </widget>
-                 </item>
-                 <item row="0" column="2">
-                  <spacer name="horizontalSpacer_2">
-                   <property name="orientation">
-                    <enum>Qt::Horizontal</enum>
-                   </property>
-                   <property name="sizeHint" stdset="0">
-                    <size>
-                     <width>324</width>
-                     <height>20</height>
-                    </size>
-                   </property>
-                  </spacer>
-                 </item>
-                 <item row="1" column="0">
-                  <widget class="QLabel" name="label_11">
-                   <property name="text">
-                    <string>Author:</string>
-                   </property>
-                  </widget>
-                 </item>
-                 <item row="1" column="1" colspan="2">
-                  <widget class="E5ClearableLineEdit" name="copyrightAuthorEdit">
-                   <property name="toolTip">
-                    <string>Enter a copyright author name to check for (leave empty to omit this check)</string>
-                   </property>
-                  </widget>
-                 </item>
-                </layout>
-               </widget>
-              </item>
-              <item>
-               <widget class="QGroupBox" name="groupBox_6">
-                <property name="title">
-                 <string>Future Imports</string>
-                </property>
-                <layout class="QHBoxLayout" name="horizontalLayout_7">
-                 <item>
-                  <widget class="QLabel" name="label_12">
-                   <property name="text">
-                    <string>Expected Imports:</string>
-                   </property>
-                   <property name="alignment">
-                    <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
-                   </property>
-                  </widget>
-                 </item>
-                 <item>
-                  <widget class="QListWidget" name="futuresList">
-                   <property name="alternatingRowColors">
-                    <bool>true</bool>
-                   </property>
-                   <property name="selectionMode">
-                    <enum>QAbstractItemView::ExtendedSelection</enum>
-                   </property>
-                   <property name="sortingEnabled">
-                    <bool>true</bool>
-                   </property>
-                  </widget>
-                 </item>
-                </layout>
-               </widget>
-              </item>
-              <item>
-               <widget class="QGroupBox" name="groupBox_7">
-                <property name="title">
-                 <string>Ignore Built-ins Assignment</string>
-                </property>
-                <layout class="QHBoxLayout" name="horizontalLayout_8">
-                 <item>
-                  <widget class="QTreeWidget" name="builtinsAssignmentList">
-                   <property name="alternatingRowColors">
-                    <bool>true</bool>
-                   </property>
-                   <property name="rootIsDecorated">
-                    <bool>false</bool>
-                   </property>
-                   <property name="sortingEnabled">
-                    <bool>true</bool>
-                   </property>
-                   <column>
+                  </item>
+                 </layout>
+                </widget>
+               </item>
+               <item>
+                <widget class="QGroupBox" name="groupBox_9">
+                 <property name="title">
+                  <string>Commented Code</string>
+                 </property>
+                 <layout class="QVBoxLayout" name="verticalLayout_3">
+                  <item>
+                   <widget class="QCheckBox" name="aggressiveCheckBox">
+                    <property name="toolTip">
+                     <string>Select to search for commented code more aggressively. This may increase the number of false positives.</string>
+                    </property>
+                    <property name="text">
+                     <string>Search aggressively</string>
+                    </property>
+                   </widget>
+                  </item>
+                 </layout>
+                </widget>
+               </item>
+               <item>
+                <widget class="QGroupBox" name="groupBox_3">
+                 <property name="title">
+                  <string>Code Complexity</string>
+                 </property>
+                 <layout class="QGridLayout" name="gridLayout_4">
+                  <item row="0" column="2" rowspan="2">
+                   <spacer name="horizontalSpacer_5">
+                    <property name="orientation">
+                     <enum>Qt::Horizontal</enum>
+                    </property>
+                    <property name="sizeHint" stdset="0">
+                     <size>
+                      <width>313</width>
+                      <height>20</height>
+                     </size>
+                    </property>
+                   </spacer>
+                  </item>
+                  <item row="0" column="0">
+                   <widget class="QLabel" name="label_8">
                     <property name="text">
-                     <string>Left</string>
+                     <string>Max. McCabe Complexity:</string>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="0" column="1">
+                   <widget class="QSpinBox" name="complexitySpinBox">
+                    <property name="toolTip">
+                     <string>Enter the maximum allowed code complexity (McCabe: 10)</string>
+                    </property>
+                    <property name="alignment">
+                     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                    </property>
+                    <property name="maximum">
+                     <number>100</number>
+                    </property>
+                    <property name="value">
+                     <number>10</number>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="1" column="0">
+                   <widget class="QLabel" name="label_13">
+                    <property name="text">
+                     <string>Max. Line Complexity:</string>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="1" column="1">
+                   <widget class="QSpinBox" name="lineComplexitySpinBox">
+                    <property name="toolTip">
+                     <string>Enter the maximum complexity (number of nodes) for a line of code</string>
+                    </property>
+                    <property name="alignment">
+                     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                    </property>
+                    <property name="maximum">
+                     <number>100</number>
                     </property>
-                   </column>
-                   <column>
+                    <property name="value">
+                     <number>15</number>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="2" column="0">
+                   <widget class="QLabel" name="label_14">
                     <property name="text">
-                     <string>Right</string>
+                     <string>Max. Line Complexity Score:</string>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="2" column="1">
+                   <widget class="QSpinBox" name="lineComplexityScoreSpinBox">
+                    <property name="toolTip">
+                     <string>Enter the maximum allowed median for line complexity</string>
+                    </property>
+                    <property name="alignment">
+                     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                    </property>
+                    <property name="maximum">
+                     <number>100</number>
+                    </property>
+                    <property name="value">
+                     <number>10</number>
+                    </property>
+                   </widget>
+                  </item>
+                 </layout>
+                </widget>
+               </item>
+               <item>
+                <widget class="QGroupBox" name="groupBox_10">
+                 <property name="title">
+                  <string>Type Annotations</string>
+                 </property>
+                 <layout class="QGridLayout" name="gridLayout_6">
+                  <item row="0" column="0">
+                   <widget class="QLabel" name="label_18">
+                    <property name="text">
+                     <string>Min. Coverage:</string>
                     </property>
-                   </column>
-                  </widget>
-                 </item>
-                 <item>
-                  <layout class="QVBoxLayout" name="verticalLayout_5">
-                   <item alignment="Qt::AlignHCenter">
-                    <widget class="QToolButton" name="addBuiltinButton">
-                     <property name="toolTip">
-                      <string>Press to add a built-in assignment to be ignored</string>
-                     </property>
-                     <property name="text">
-                      <string notr="true">+</string>
-                     </property>
-                    </widget>
-                   </item>
-                   <item alignment="Qt::AlignHCenter">
-                    <widget class="QToolButton" name="deleteBuiltinButton">
-                     <property name="toolTip">
-                      <string>Press to delete the selected entries</string>
-                     </property>
-                     <property name="text">
-                      <string notr="true">-</string>
-                     </property>
-                    </widget>
-                   </item>
-                   <item>
-                    <spacer name="verticalSpacer_3">
-                     <property name="orientation">
-                      <enum>Qt::Vertical</enum>
-                     </property>
-                     <property name="sizeHint" stdset="0">
-                      <size>
-                       <width>20</width>
-                       <height>40</height>
-                      </size>
-                     </property>
-                    </spacer>
-                   </item>
-                  </layout>
-                 </item>
-                </layout>
-               </widget>
-              </item>
-              <item>
-               <widget class="QGroupBox" name="groupBox_9">
-                <property name="title">
-                 <string>Commented Code</string>
-                </property>
-                <layout class="QVBoxLayout" name="verticalLayout_3">
-                 <item>
-                  <widget class="QCheckBox" name="aggressiveCheckBox">
-                   <property name="toolTip">
-                    <string>Select to search for commented code more aggressively. This may increase the number of false positives.</string>
-                   </property>
-                   <property name="text">
-                    <string>Search aggressively</string>
-                   </property>
-                  </widget>
-                 </item>
-                </layout>
-               </widget>
-              </item>
-              <item>
-               <widget class="QGroupBox" name="groupBox_3">
-                <property name="title">
-                 <string>Code Complexity</string>
-                </property>
-                <layout class="QGridLayout" name="gridLayout_4">
-                 <item row="0" column="2" rowspan="2">
-                  <spacer name="horizontalSpacer_5">
-                   <property name="orientation">
-                    <enum>Qt::Horizontal</enum>
-                   </property>
-                   <property name="sizeHint" stdset="0">
-                    <size>
-                     <width>313</width>
-                     <height>20</height>
-                    </size>
-                   </property>
-                  </spacer>
-                 </item>
-                 <item row="0" column="0">
-                  <widget class="QLabel" name="label_8">
-                   <property name="text">
-                    <string>Max. McCabe Complexity:</string>
-                   </property>
-                  </widget>
-                 </item>
-                 <item row="0" column="1">
-                  <widget class="QSpinBox" name="complexitySpinBox">
-                   <property name="toolTip">
-                    <string>Enter the maximum allowed code complexity (McCabe: 10)</string>
-                   </property>
-                   <property name="alignment">
-                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
-                   </property>
-                   <property name="maximum">
-                    <number>100</number>
-                   </property>
-                   <property name="value">
-                    <number>10</number>
-                   </property>
-                  </widget>
-                 </item>
-                 <item row="1" column="0">
-                  <widget class="QLabel" name="label_13">
-                   <property name="text">
-                    <string>Max. Line Complexity:</string>
-                   </property>
-                  </widget>
-                 </item>
-                 <item row="1" column="1">
-                  <widget class="QSpinBox" name="lineComplexitySpinBox">
-                   <property name="toolTip">
-                    <string>Enter the maximum complexity (number of nodes) for a line of code</string>
-                   </property>
-                   <property name="alignment">
-                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
-                   </property>
-                   <property name="maximum">
-                    <number>100</number>
-                   </property>
-                   <property name="value">
-                    <number>15</number>
-                   </property>
-                  </widget>
-                 </item>
-                 <item row="2" column="0">
-                  <widget class="QLabel" name="label_14">
-                   <property name="text">
-                    <string>Max. Line Complexity Score:</string>
-                   </property>
-                  </widget>
-                 </item>
-                 <item row="2" column="1">
-                  <widget class="QSpinBox" name="lineComplexityScoreSpinBox">
-                   <property name="toolTip">
-                    <string>Enter the maximum allowed median for line complexity</string>
-                   </property>
-                   <property name="alignment">
-                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
-                   </property>
-                   <property name="maximum">
-                    <number>100</number>
-                   </property>
-                   <property name="value">
-                    <number>10</number>
-                   </property>
-                  </widget>
-                 </item>
-                </layout>
-               </widget>
-              </item>
-              <item>
-               <widget class="QGroupBox" name="groupBox_10">
-                <property name="title">
-                 <string>Type Annotations</string>
-                </property>
-                <layout class="QGridLayout" name="gridLayout_6">
-                 <item row="0" column="0">
-                  <widget class="QLabel" name="label_18">
-                   <property name="text">
-                    <string>Min. Coverage:</string>
-                   </property>
-                  </widget>
-                 </item>
-                 <item row="0" column="1">
-                  <widget class="QSpinBox" name="minAnnotationsCoverageSpinBox">
-                   <property name="toolTip">
-                    <string>Enter the minimum percentage of type annotations</string>
-                   </property>
-                   <property name="specialValueText">
-                    <string>off</string>
-                   </property>
-                   <property name="suffix">
-                    <string>%</string>
-                   </property>
-                   <property name="maximum">
-                    <number>100</number>
-                   </property>
-                  </widget>
-                 </item>
-                 <item row="0" column="2">
-                  <spacer name="horizontalSpacer_7">
-                   <property name="orientation">
-                    <enum>Qt::Horizontal</enum>
-                   </property>
-                   <property name="sizeHint" stdset="0">
-                    <size>
-                     <width>352</width>
-                     <height>20</height>
-                    </size>
-                   </property>
-                  </spacer>
-                 </item>
-                 <item row="1" column="0">
-                  <widget class="QLabel" name="label_19">
-                   <property name="text">
-                    <string>Max. Complexity:</string>
-                   </property>
-                  </widget>
-                 </item>
-                 <item row="1" column="1">
-                  <widget class="QSpinBox" name="maxAnnotationsComplexitySpinBox">
-                   <property name="toolTip">
-                    <string>Enter the maximum type annotation complexity</string>
-                   </property>
-                   <property name="minimum">
-                    <number>1</number>
-                   </property>
-                   <property name="maximum">
-                    <number>9</number>
-                   </property>
-                  </widget>
-                 </item>
-                </layout>
-               </widget>
-              </item>
-             </layout>
+                   </widget>
+                  </item>
+                  <item row="0" column="1">
+                   <widget class="QSpinBox" name="minAnnotationsCoverageSpinBox">
+                    <property name="toolTip">
+                     <string>Enter the minimum percentage of type annotations</string>
+                    </property>
+                    <property name="specialValueText">
+                     <string>off</string>
+                    </property>
+                    <property name="suffix">
+                     <string>%</string>
+                    </property>
+                    <property name="maximum">
+                     <number>100</number>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="0" column="2">
+                   <spacer name="horizontalSpacer_7">
+                    <property name="orientation">
+                     <enum>Qt::Horizontal</enum>
+                    </property>
+                    <property name="sizeHint" stdset="0">
+                     <size>
+                      <width>352</width>
+                      <height>20</height>
+                     </size>
+                    </property>
+                   </spacer>
+                  </item>
+                  <item row="1" column="0">
+                   <widget class="QLabel" name="label_19">
+                    <property name="text">
+                     <string>Max. Complexity:</string>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="1" column="1">
+                   <widget class="QSpinBox" name="maxAnnotationsComplexitySpinBox">
+                    <property name="toolTip">
+                     <string>Enter the maximum type annotation complexity</string>
+                    </property>
+                    <property name="minimum">
+                     <number>1</number>
+                    </property>
+                    <property name="maximum">
+                     <number>9</number>
+                    </property>
+                   </widget>
+                  </item>
+                 </layout>
+                </widget>
+               </item>
+              </layout>
+             </widget>
             </widget>
-           </widget>
-          </item>
-         </layout>
-        </widget>
-       </widget>
-      </item>
-      <item>
-       <widget class="Line" name="line">
-        <property name="lineWidth">
-         <number>2</number>
-        </property>
-        <property name="orientation">
-         <enum>Qt::Vertical</enum>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <layout class="QVBoxLayout" name="verticalLayout">
-        <item>
-         <widget class="QPushButton" name="startButton">
-          <property name="toolTip">
-           <string>Press to start the code style check run</string>
-          </property>
-          <property name="text">
-           <string>&amp;Start</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QPushButton" name="fixButton">
-          <property name="toolTip">
-           <string>Press to fix the selected issues</string>
-          </property>
-          <property name="text">
-           <string>&amp;Fix Selected</string>
-          </property>
+           </item>
+          </layout>
          </widget>
-        </item>
-        <item>
-         <spacer name="verticalSpacer">
-          <property name="orientation">
-           <enum>Qt::Vertical</enum>
-          </property>
-          <property name="sizeHint" stdset="0">
-           <size>
-            <width>20</width>
-            <height>18</height>
-           </size>
-          </property>
-         </spacer>
-        </item>
-        <item>
-         <widget class="QPushButton" name="loadDefaultButton">
-          <property name="toolTip">
-           <string>Press to load the default values</string>
-          </property>
-          <property name="text">
-           <string>&amp;Load Defaults</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QPushButton" name="storeDefaultButton">
-          <property name="toolTip">
-           <string>Press to store the current values as defaults</string>
-          </property>
-          <property name="text">
-           <string>St&amp;ore Defaults</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QPushButton" name="resetDefaultButton">
-          <property name="toolTip">
-           <string>Press to reset the default values</string>
-          </property>
-          <property name="text">
-           <string>&amp;Reset Defaults</string>
-          </property>
-         </widget>
-        </item>
-       </layout>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item>
-    <widget class="QTreeWidget" name="resultList">
-     <property name="sizePolicy">
-      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-       <horstretch>0</horstretch>
-       <verstretch>6</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="whatsThis">
-      <string>&lt;b&gt;Result List&lt;/b&gt;
+        </widget>
+       </item>
+       <item>
+        <widget class="Line" name="line">
+         <property name="lineWidth">
+          <number>2</number>
+         </property>
+         <property name="orientation">
+          <enum>Qt::Vertical</enum>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <layout class="QVBoxLayout" name="verticalLayout">
+         <item>
+          <widget class="QPushButton" name="startButton">
+           <property name="toolTip">
+            <string>Press to start the code style check run</string>
+           </property>
+           <property name="text">
+            <string>&amp;Start</string>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <spacer name="verticalSpacer">
+           <property name="orientation">
+            <enum>Qt::Vertical</enum>
+           </property>
+           <property name="sizeHint" stdset="0">
+            <size>
+             <width>20</width>
+             <height>18</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+         <item>
+          <widget class="QPushButton" name="loadDefaultButton">
+           <property name="toolTip">
+            <string>Press to load the default values</string>
+           </property>
+           <property name="text">
+            <string>&amp;Load Defaults</string>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <widget class="QPushButton" name="storeDefaultButton">
+           <property name="toolTip">
+            <string>Press to store the current values as defaults</string>
+           </property>
+           <property name="text">
+            <string>St&amp;ore Defaults</string>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <widget class="QPushButton" name="resetDefaultButton">
+           <property name="toolTip">
+            <string>Press to reset the default values</string>
+           </property>
+           <property name="text">
+            <string>&amp;Reset Defaults</string>
+           </property>
+          </widget>
+         </item>
+        </layout>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="runTab">
+      <attribute name="title">
+       <string>Run</string>
+      </attribute>
+      <layout class="QHBoxLayout" name="horizontalLayout_4">
+       <item>
+        <layout class="QVBoxLayout" name="verticalLayout_7">
+         <item>
+          <widget class="QTreeWidget" name="resultList">
+           <property name="sizePolicy">
+            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+             <horstretch>0</horstretch>
+             <verstretch>6</verstretch>
+            </sizepolicy>
+           </property>
+           <property name="whatsThis">
+            <string>&lt;b&gt;Result List&lt;/b&gt;
 &lt;p&gt;This list shows the results of the code style check. Double clicking
 an entry will open this entry in an editor window and position the cursor at
 the respective line and position.&lt;/p&gt;</string>
-     </property>
-     <property name="alternatingRowColors">
-      <bool>true</bool>
-     </property>
-     <property name="selectionMode">
-      <enum>QAbstractItemView::ExtendedSelection</enum>
-     </property>
-     <property name="sortingEnabled">
-      <bool>true</bool>
-     </property>
-     <column>
-      <property name="text">
-       <string>File/Line</string>
-      </property>
-     </column>
-     <column>
-      <property name="text">
-       <string>Code</string>
-      </property>
-     </column>
-     <column>
-      <property name="text">
-       <string>Message</string>
-      </property>
-     </column>
-    </widget>
-   </item>
-   <item>
-    <widget class="E5SqueezeLabelPath" name="checkProgressLabel">
-     <property name="sizePolicy">
-      <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="text">
-      <string/>
-     </property>
-    </widget>
-   </item>
-   <item>
-    <widget class="QProgressBar" name="checkProgress">
-     <property name="toolTip">
-      <string>Shows the progress of the code style check</string>
-     </property>
-     <property name="value">
-      <number>0</number>
-     </property>
-     <property name="orientation">
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="format">
-      <string>%v/%m Files</string>
-     </property>
+           </property>
+           <property name="alternatingRowColors">
+            <bool>true</bool>
+           </property>
+           <property name="selectionMode">
+            <enum>QAbstractItemView::ExtendedSelection</enum>
+           </property>
+           <property name="sortingEnabled">
+            <bool>true</bool>
+           </property>
+           <column>
+            <property name="text">
+             <string>File/Line</string>
+            </property>
+           </column>
+           <column>
+            <property name="text">
+             <string>Code</string>
+            </property>
+           </column>
+           <column>
+            <property name="text">
+             <string>Message</string>
+            </property>
+           </column>
+          </widget>
+         </item>
+         <item>
+          <widget class="E5SqueezeLabelPath" name="checkProgressLabel">
+           <property name="sizePolicy">
+            <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+             <horstretch>0</horstretch>
+             <verstretch>0</verstretch>
+            </sizepolicy>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <widget class="QProgressBar" name="checkProgress">
+           <property name="toolTip">
+            <string>Shows the progress of the code style check</string>
+           </property>
+           <property name="value">
+            <number>0</number>
+           </property>
+           <property name="orientation">
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="format">
+            <string>%v/%m Files</string>
+           </property>
+          </widget>
+         </item>
+        </layout>
+       </item>
+       <item>
+        <widget class="Line" name="line_2">
+         <property name="lineWidth">
+          <number>2</number>
+         </property>
+         <property name="orientation">
+          <enum>Qt::Vertical</enum>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <layout class="QVBoxLayout" name="verticalLayout_8">
+         <item>
+          <widget class="QPushButton" name="restartButton">
+           <property name="toolTip">
+            <string>Press to restart the code style check run</string>
+           </property>
+           <property name="text">
+            <string>Restart</string>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <widget class="QPushButton" name="fixButton">
+           <property name="toolTip">
+            <string>Press to fix the selected issues</string>
+           </property>
+           <property name="text">
+            <string>&amp;Fix Selected</string>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <spacer name="verticalSpacer_4">
+           <property name="orientation">
+            <enum>Qt::Vertical</enum>
+           </property>
+           <property name="sizeHint" stdset="0">
+            <size>
+             <width>20</width>
+             <height>18</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+        </layout>
+       </item>
+      </layout>
+     </widget>
     </widget>
    </item>
    <item>
@@ -987,6 +1034,7 @@
   </customwidget>
  </customwidgets>
  <tabstops>
+  <tabstop>mainWidget</tabstop>
   <tabstop>optionsTabWidget</tabstop>
   <tabstop>excludeFilesEdit</tabstop>
   <tabstop>excludeMessagesEdit</tabstop>
@@ -1020,12 +1068,13 @@
   <tabstop>lineComplexityScoreSpinBox</tabstop>
   <tabstop>minAnnotationsCoverageSpinBox</tabstop>
   <tabstop>maxAnnotationsComplexitySpinBox</tabstop>
-  <tabstop>startButton</tabstop>
-  <tabstop>fixButton</tabstop>
   <tabstop>loadDefaultButton</tabstop>
   <tabstop>storeDefaultButton</tabstop>
   <tabstop>resetDefaultButton</tabstop>
+  <tabstop>startButton</tabstop>
   <tabstop>resultList</tabstop>
+  <tabstop>restartButton</tabstop>
+  <tabstop>fixButton</tabstop>
  </tabstops>
  <resources/>
  <connections>

eric ide

mercurial