src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui

branch
eric7
changeset 10052
041d0785dd42
parent 10046
35b27af462ef
child 10053
9914b7b4b11c
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui	Mon May 22 19:46:19 2023 +0200
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui	Mon May 22 19:53:41 2023 +0200
@@ -1543,6 +1543,125 @@
            </item>
           </layout>
          </widget>
+         <widget class="QWidget" name="unusedOptionsTab">
+          <attribute name="title">
+           <string>Unused</string>
+          </attribute>
+          <layout class="QVBoxLayout" name="verticalLayout_20">
+           <item>
+            <widget class="QGroupBox" name="groupBox_20">
+             <property name="title">
+              <string>Ignore Warnings For</string>
+             </property>
+             <layout class="QGridLayout" name="gridLayout_11">
+              <item row="0" column="0">
+               <widget class="QCheckBox" name="ignoreAbstractCheckBox">
+                <property name="toolTip">
+                 <string>Ignore unused arguments for methods decorated with '@abstractmethod'.</string>
+                </property>
+                <property name="text">
+                 <string>Abstract Methods</string>
+                </property>
+               </widget>
+              </item>
+              <item row="0" column="1">
+               <widget class="QCheckBox" name="ignoreOverloadCheckBox">
+                <property name="toolTip">
+                 <string>Ignore unused arguments for methods decorated with '@overload'.</string>
+                </property>
+                <property name="text">
+                 <string>Overload Methods</string>
+                </property>
+               </widget>
+              </item>
+              <item row="1" column="0">
+               <widget class="QCheckBox" name="ignoreOverrideCheckBox">
+                <property name="toolTip">
+                 <string>Ignore unused arguments for methods decorated with '@override'.</string>
+                </property>
+                <property name="text">
+                 <string>Override Methods</string>
+                </property>
+               </widget>
+              </item>
+              <item row="1" column="1">
+               <widget class="QCheckBox" name="ignoreStubsCheckBox">
+                <property name="toolTip">
+                 <string>Ignore unused arguments for methods consisting of a pass statement only.</string>
+                </property>
+                <property name="text">
+                 <string>Stub Methods</string>
+                </property>
+               </widget>
+              </item>
+              <item row="2" column="0">
+               <widget class="QCheckBox" name="ignoreVariadicNamesCheckBox">
+                <property name="toolTip">
+                 <string>Ignore unused *args and **kwargs.</string>
+                </property>
+                <property name="text">
+                 <string>*args and **kwargs</string>
+                </property>
+               </widget>
+              </item>
+              <item row="2" column="1">
+               <widget class="QCheckBox" name="ignoreLambdasCheckBox">
+                <property name="toolTip">
+                 <string>Ignore unused arguments for lambda functions.</string>
+                </property>
+                <property name="text">
+                 <string>Lambda Functions</string>
+                </property>
+               </widget>
+              </item>
+              <item row="3" column="0">
+               <widget class="QCheckBox" name="ignoreNestedFunctionsCheckBox">
+                <property name="toolTip">
+                 <string>Ignore unused arguments for nested functions.</string>
+                </property>
+                <property name="text">
+                 <string>Nested Functions</string>
+                </property>
+               </widget>
+              </item>
+              <item row="3" column="1">
+               <widget class="QCheckBox" name="ignoreDunderMethodsCheckBox">
+                <property name="toolTip">
+                 <string>Ignore unused arguments for methods starting and ending with double underscores.</string>
+                </property>
+                <property name="text">
+                 <string>Special Methods</string>
+                </property>
+               </widget>
+              </item>
+              <item row="4" column="0">
+               <widget class="QCheckBox" name="ignoreSlotsCheckBox">
+                <property name="toolTip">
+                 <string>Ignore unused arguments for methods decorated with '@pyqtSlot' or '@Slot'.</string>
+                </property>
+                <property name="text">
+                 <string>Qt Slot Methods</string>
+                </property>
+               </widget>
+              </item>
+             </layout>
+            </widget>
+           </item>
+           <item>
+            <spacer name="verticalSpacer_11">
+             <property name="orientation">
+              <enum>Qt::Vertical</enum>
+             </property>
+             <property name="sizeHint" stdset="0">
+              <size>
+               <width>20</width>
+               <height>382</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+          </layout>
+         </widget>
         </widget>
        </item>
        <item>
@@ -1948,6 +2067,15 @@
   <tabstop>sortCaseSensitiveCheckBox</tabstop>
   <tabstop>sortFromFirstCheckBox</tabstop>
   <tabstop>combinedAsImpotsCheckBox</tabstop>
+  <tabstop>ignoreAbstractCheckBox</tabstop>
+  <tabstop>ignoreOverloadCheckBox</tabstop>
+  <tabstop>ignoreOverrideCheckBox</tabstop>
+  <tabstop>ignoreStubsCheckBox</tabstop>
+  <tabstop>ignoreVariadicNamesCheckBox</tabstop>
+  <tabstop>ignoreLambdasCheckBox</tabstop>
+  <tabstop>ignoreNestedFunctionsCheckBox</tabstop>
+  <tabstop>ignoreDunderMethodsCheckBox</tabstop>
+  <tabstop>ignoreSlotsCheckBox</tabstop>
   <tabstop>startButton</tabstop>
   <tabstop>loadDefaultButton</tabstop>
   <tabstop>storeDefaultButton</tabstop>
@@ -1971,12 +2099,12 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>132</x>
-     <y>286</y>
+     <x>146</x>
+     <y>469</y>
     </hint>
     <hint type="destinationlabel">
-     <x>343</x>
-     <y>286</y>
+     <x>338</x>
+     <y>469</y>
     </hint>
    </hints>
   </connection>
@@ -1987,12 +2115,12 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>138</x>
-     <y>269</y>
+     <x>152</x>
+     <y>469</y>
     </hint>
     <hint type="destinationlabel">
-     <x>380</x>
-     <y>271</y>
+     <x>453</x>
+     <y>469</y>
     </hint>
    </hints>
   </connection>

eric ide

mercurial