PyLintInterface/PyLintConfigDialog.ui

branch
eric7
changeset 98
ab4aabca55ec
parent 10
398979610d9b
child 110
f099cbc11de2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PyLintInterface/PyLintConfigDialog.ui	Wed Jun 02 18:27:07 2021 +0200
@@ -0,0 +1,537 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>PyLintConfigDialog</class>
+ <widget class="QDialog" name="PyLintConfigDialog">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>528</width>
+    <height>351</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>PyLint Configuration</string>
+  </property>
+  <property name="sizeGripEnabled">
+   <bool>true</bool>
+  </property>
+  <layout class="QVBoxLayout" name="verticalLayout_4">
+   <item>
+    <widget class="QTabWidget" name="tabWidget">
+     <property name="currentIndex">
+      <number>1</number>
+     </property>
+     <widget class="QWidget" name="General">
+      <attribute name="title">
+       <string>General</string>
+      </attribute>
+      <layout class="QVBoxLayout" name="verticalLayout_3">
+       <item>
+        <layout class="QHBoxLayout" name="horizontalLayout">
+         <item>
+          <widget class="QLabel" name="textLabel1">
+           <property name="text">
+            <string>Configuration &amp;File:</string>
+           </property>
+           <property name="buddy">
+            <cstring>configfilePicker</cstring>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <widget class="EricPathPicker" name="configfilePicker" native="true">
+           <property name="sizePolicy">
+            <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+             <horstretch>0</horstretch>
+             <verstretch>0</verstretch>
+            </sizepolicy>
+           </property>
+           <property name="focusPolicy">
+            <enum>Qt::StrongFocus</enum>
+           </property>
+           <property name="toolTip">
+            <string>Enter the name of the configuration file</string>
+           </property>
+          </widget>
+         </item>
+        </layout>
+       </item>
+       <item>
+        <widget class="QGroupBox" name="groupBox">
+         <property name="title">
+          <string>Output</string>
+         </property>
+         <layout class="QVBoxLayout" name="verticalLayout_2">
+          <item>
+           <widget class="QRadioButton" name="txtOutputButton">
+            <property name="toolTip">
+             <string>Select to generate a plain text report</string>
+            </property>
+            <property name="text">
+             <string>Generate &amp;Textreport</string>
+            </property>
+            <property name="shortcut">
+             <string>Alt+T</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QRadioButton" name="htmlOutputButton">
+            <property name="toolTip">
+             <string>Select to generate a HTML report</string>
+            </property>
+            <property name="text">
+             <string>Generate &amp;HTML Report</string>
+            </property>
+            <property name="shortcut">
+             <string>Alt+H</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QRadioButton" name="dialogOutputButton">
+            <property name="toolTip">
+             <string>Show the pylint result in a dialog</string>
+            </property>
+            <property name="text">
+             <string>Show Result &amp;Dialog</string>
+            </property>
+            <property name="shortcut">
+             <string>Alt+D</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QGroupBox" name="groupBox_2">
+            <property name="title">
+             <string>Report File</string>
+            </property>
+            <layout class="QHBoxLayout" name="horizontalLayout_2">
+             <item>
+              <widget class="EricPathPicker" name="reportfilePicker" native="true">
+               <property name="sizePolicy">
+                <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+                 <horstretch>0</horstretch>
+                 <verstretch>0</verstretch>
+                </sizepolicy>
+               </property>
+               <property name="focusPolicy">
+                <enum>Qt::StrongFocus</enum>
+               </property>
+               <property name="toolTip">
+                <string>Enter the name of the report file</string>
+               </property>
+              </widget>
+             </item>
+            </layout>
+           </widget>
+          </item>
+         </layout>
+        </widget>
+       </item>
+       <item>
+        <widget class="Line" name="line1">
+         <property name="frameShape">
+          <enum>QFrame::HLine</enum>
+         </property>
+         <property name="frameShadow">
+          <enum>QFrame::Sunken</enum>
+         </property>
+         <property name="orientation">
+          <enum>Qt::Horizontal</enum>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <layout class="QHBoxLayout">
+         <property name="spacing">
+          <number>6</number>
+         </property>
+         <property name="leftMargin">
+          <number>0</number>
+         </property>
+         <property name="topMargin">
+          <number>0</number>
+         </property>
+         <property name="rightMargin">
+          <number>0</number>
+         </property>
+         <property name="bottomMargin">
+          <number>0</number>
+         </property>
+         <item>
+          <spacer>
+           <property name="orientation">
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="sizeType">
+            <enum>QSizePolicy::Expanding</enum>
+           </property>
+           <property name="sizeHint" stdset="0">
+            <size>
+             <width>40</width>
+             <height>20</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+         <item>
+          <widget class="QPushButton" name="configButton">
+           <property name="toolTip">
+            <string>Press to generate a sample configuration</string>
+           </property>
+           <property name="whatsThis">
+            <string>&lt;b&gt;Generate Configuration Template&lt;/b&gt;
+&lt;p&gt;This generates a sample configuration. The data is shown in a new editor window.&lt;/p&gt;</string>
+           </property>
+           <property name="text">
+            <string>&amp;Generate Configuration Template</string>
+           </property>
+           <property name="shortcut">
+            <string>Alt+G</string>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <spacer>
+           <property name="orientation">
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="sizeType">
+            <enum>QSizePolicy::Expanding</enum>
+           </property>
+           <property name="sizeHint" stdset="0">
+            <size>
+             <width>40</width>
+             <height>20</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+        </layout>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="Checkers">
+      <attribute name="title">
+       <string>Checkers</string>
+      </attribute>
+      <layout class="QVBoxLayout" name="verticalLayout">
+       <item>
+        <layout class="QGridLayout" name="gridLayout_3">
+         <item row="0" column="0">
+          <widget class="QCheckBox" name="basicCheckBox">
+           <property name="toolTip">
+            <string>Select to enable the basic checker</string>
+           </property>
+           <property name="text">
+            <string>Basic</string>
+           </property>
+          </widget>
+         </item>
+         <item row="0" column="1">
+          <widget class="QCheckBox" name="importsCheckBox">
+           <property name="toolTip">
+            <string>Select to enable the imports checker</string>
+           </property>
+           <property name="text">
+            <string>Imports</string>
+           </property>
+          </widget>
+         </item>
+         <item row="0" column="2">
+          <widget class="QCheckBox" name="similaritiesCheckBox">
+           <property name="toolTip">
+            <string>Select to enable the similarities checker</string>
+           </property>
+           <property name="text">
+            <string>Similarities</string>
+           </property>
+          </widget>
+         </item>
+         <item row="1" column="0">
+          <widget class="QCheckBox" name="classesCheckBox">
+           <property name="toolTip">
+            <string>Select to enable the classes checker</string>
+           </property>
+           <property name="text">
+            <string>Classes</string>
+           </property>
+          </widget>
+         </item>
+         <item row="1" column="1">
+          <widget class="QCheckBox" name="loggingCheckBox">
+           <property name="toolTip">
+            <string>Select to enable the logging checker</string>
+           </property>
+           <property name="text">
+            <string>Logging</string>
+           </property>
+          </widget>
+         </item>
+         <item row="1" column="2">
+          <widget class="QCheckBox" name="stringFormatCheckBox">
+           <property name="toolTip">
+            <string>Select to enable the string format checker</string>
+           </property>
+           <property name="text">
+            <string>String Format</string>
+           </property>
+          </widget>
+         </item>
+         <item row="2" column="0">
+          <widget class="QCheckBox" name="designCheckBox">
+           <property name="toolTip">
+            <string>Select to enable the design checker</string>
+           </property>
+           <property name="text">
+            <string>Design</string>
+           </property>
+          </widget>
+         </item>
+         <item row="2" column="1">
+          <widget class="QCheckBox" name="metricsCheckBox">
+           <property name="toolTip">
+            <string>Select to enable the metrics checker</string>
+           </property>
+           <property name="text">
+            <string>Metrics</string>
+           </property>
+          </widget>
+         </item>
+         <item row="2" column="2">
+          <widget class="QCheckBox" name="typecheckCheckBox">
+           <property name="toolTip">
+            <string>Select to enable the typecheck checker</string>
+           </property>
+           <property name="text">
+            <string>Typecheck</string>
+           </property>
+          </widget>
+         </item>
+         <item row="3" column="0">
+          <widget class="QCheckBox" name="exceptionsCheckBox">
+           <property name="toolTip">
+            <string>Select to enable the exceptions checker</string>
+           </property>
+           <property name="text">
+            <string>Exceptions</string>
+           </property>
+          </widget>
+         </item>
+         <item row="3" column="1">
+          <widget class="QCheckBox" name="miscellaneousCheckBox">
+           <property name="toolTip">
+            <string>Select to enable the miscellaneous checker</string>
+           </property>
+           <property name="text">
+            <string>Miscellaneous</string>
+           </property>
+          </widget>
+         </item>
+         <item row="3" column="2">
+          <widget class="QCheckBox" name="variablesCheckBox">
+           <property name="toolTip">
+            <string>Select to enable the variables checker</string>
+           </property>
+           <property name="text">
+            <string>Variables</string>
+           </property>
+          </widget>
+         </item>
+         <item row="4" column="0">
+          <widget class="QCheckBox" name="formatCheckBox">
+           <property name="toolTip">
+            <string>Select to enable the format checker</string>
+           </property>
+           <property name="text">
+            <string>Format</string>
+           </property>
+          </widget>
+         </item>
+         <item row="4" column="1">
+          <widget class="QCheckBox" name="newstyleCheckBox">
+           <property name="toolTip">
+            <string>Select to enable the newstyle checker</string>
+           </property>
+           <property name="text">
+            <string>Newstyle</string>
+           </property>
+          </widget>
+         </item>
+        </layout>
+       </item>
+       <item>
+        <spacer>
+         <property name="orientation">
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeType">
+          <enum>QSizePolicy::Expanding</enum>
+         </property>
+         <property name="sizeHint" stdset="0">
+          <size>
+           <width>20</width>
+           <height>40</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="Messages">
+      <attribute name="title">
+       <string>Messages</string>
+      </attribute>
+      <layout class="QGridLayout" name="gridLayout">
+       <item row="0" column="0">
+        <widget class="QLabel" name="label">
+         <property name="text">
+          <string>Enabled Messages:</string>
+         </property>
+        </widget>
+       </item>
+       <item row="0" column="1">
+        <widget class="QLineEdit" name="enabledMessagesEdit">
+         <property name="toolTip">
+          <string>Enter the list of enabled messages separated by comma</string>
+         </property>
+         <property name="clearButtonEnabled">
+          <bool>true</bool>
+         </property>
+        </widget>
+       </item>
+       <item row="1" column="0">
+        <widget class="QLabel" name="label_2">
+         <property name="text">
+          <string>Disabled Messages:</string>
+         </property>
+        </widget>
+       </item>
+       <item row="1" column="1">
+        <widget class="QLineEdit" name="disabledMessagesEdit">
+         <property name="toolTip">
+          <string>Enter the list of disabled messages separated by comma</string>
+         </property>
+         <property name="clearButtonEnabled">
+          <bool>true</bool>
+         </property>
+        </widget>
+       </item>
+       <item row="2" column="1">
+        <spacer name="verticalSpacer">
+         <property name="orientation">
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeHint" stdset="0">
+          <size>
+           <width>20</width>
+           <height>192</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+      </layout>
+     </widget>
+    </widget>
+   </item>
+   <item>
+    <widget class="QDialogButtonBox" name="buttonBox">
+     <property name="orientation">
+      <enum>Qt::Horizontal</enum>
+     </property>
+     <property name="standardButtons">
+      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+     </property>
+    </widget>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="6"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <customwidgets>
+  <customwidget>
+   <class>EricPathPicker</class>
+   <extends>QWidget</extends>
+   <header>EricWidgets/EricPathPicker.h</header>
+   <container>1</container>
+  </customwidget>
+ </customwidgets>
+ <tabstops>
+  <tabstop>tabWidget</tabstop>
+  <tabstop>configfilePicker</tabstop>
+  <tabstop>txtOutputButton</tabstop>
+  <tabstop>htmlOutputButton</tabstop>
+  <tabstop>dialogOutputButton</tabstop>
+  <tabstop>reportfilePicker</tabstop>
+  <tabstop>configButton</tabstop>
+  <tabstop>basicCheckBox</tabstop>
+  <tabstop>classesCheckBox</tabstop>
+  <tabstop>designCheckBox</tabstop>
+  <tabstop>exceptionsCheckBox</tabstop>
+  <tabstop>formatCheckBox</tabstop>
+  <tabstop>importsCheckBox</tabstop>
+  <tabstop>loggingCheckBox</tabstop>
+  <tabstop>metricsCheckBox</tabstop>
+  <tabstop>miscellaneousCheckBox</tabstop>
+  <tabstop>newstyleCheckBox</tabstop>
+  <tabstop>similaritiesCheckBox</tabstop>
+  <tabstop>stringFormatCheckBox</tabstop>
+  <tabstop>typecheckCheckBox</tabstop>
+  <tabstop>variablesCheckBox</tabstop>
+  <tabstop>enabledMessagesEdit</tabstop>
+  <tabstop>disabledMessagesEdit</tabstop>
+ </tabstops>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>dialogOutputButton</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>groupBox_2</receiver>
+   <slot>setDisabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>78</x>
+     <y>163</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>62</x>
+     <y>188</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>buttonBox</sender>
+   <signal>accepted()</signal>
+   <receiver>PyLintConfigDialog</receiver>
+   <slot>accept()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>35</x>
+     <y>321</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>34</x>
+     <y>333</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>buttonBox</sender>
+   <signal>rejected()</signal>
+   <receiver>PyLintConfigDialog</receiver>
+   <slot>reject()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>91</x>
+     <y>309</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>100</x>
+     <y>332</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
+</ui>

eric ide

mercurial