PyLint/PyLintConfigDialog.ui

Fri, 29 Jul 2011 19:03:10 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 29 Jul 2011 19:03:10 +0200
changeset 0
1c1ac27f3cf1
child 7
cda98d0e93e7
permissions
-rw-r--r--

Added first set of sources.

<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>335</height>
   </rect>
  </property>
  <property name="windowTitle" >
   <string>PyLint Configuration</string>
  </property>
  <property name="sizeGripEnabled" >
   <bool>true</bool>
  </property>
  <layout class="QVBoxLayout" >
   <property name="margin" >
    <number>6</number>
   </property>
   <property name="spacing" >
    <number>6</number>
   </property>
   <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="QGridLayout" >
       <property name="margin" >
        <number>6</number>
       </property>
       <property name="spacing" >
        <number>6</number>
       </property>
       <item row="0" column="0" >
        <widget class="QLabel" name="textLabel1" >
         <property name="text" >
          <string>Configuration &amp;File:</string>
         </property>
         <property name="buddy" >
          <cstring>configfileEdit</cstring>
         </property>
        </widget>
       </item>
       <item row="1" column="0" colspan="3" >
        <widget class="QGroupBox" name="groupBox" >
         <property name="title" >
          <string>Output</string>
         </property>
         <layout class="QVBoxLayout" >
          <property name="margin" >
           <number>6</number>
          </property>
          <property name="spacing" >
           <number>6</number>
          </property>
          <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" >
             <property name="margin" >
              <number>6</number>
             </property>
             <property name="spacing" >
              <number>6</number>
             </property>
             <item>
              <widget class="QLineEdit" name="reportfileEdit" >
               <property name="toolTip" >
                <string>Enter the name of the report file</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QPushButton" name="reportfileButton" >
               <property name="toolTip" >
                <string>Press to open a file selection dialog</string>
               </property>
               <property name="text" >
                <string>...</string>
               </property>
              </widget>
             </item>
            </layout>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
       <item row="0" column="1" >
        <widget class="QLineEdit" name="configfileEdit" >
         <property name="toolTip" >
          <string>Enter the name of the configuration file</string>
         </property>
        </widget>
       </item>
       <item row="3" column="0" colspan="3" >
        <layout class="QHBoxLayout" >
         <property name="margin" >
          <number>0</number>
         </property>
         <property name="spacing" >
          <number>6</number>
         </property>
         <item>
          <spacer>
           <property name="orientation" >
            <enum>Qt::Horizontal</enum>
           </property>
           <property name="sizeType" >
            <enum>QSizePolicy::Expanding</enum>
           </property>
           <property name="sizeHint" >
            <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>Generate Configuration Template&lt;/b>
&lt;p>This generates a sample configuration. The data is shown in a new editor window.&lt;/p></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" >
            <size>
             <width>40</width>
             <height>20</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </item>
       <item row="2" column="0" colspan="3" >
        <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 row="0" column="2" >
        <widget class="QPushButton" name="configfileButton" >
         <property name="toolTip" >
          <string>Press to open a file selection dialog</string>
         </property>
         <property name="text" >
          <string>...</string>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="Checkers" >
      <attribute name="title" >
       <string>Checkers</string>
      </attribute>
      <layout class="QGridLayout" >
       <property name="margin" >
        <number>6</number>
       </property>
       <property name="spacing" >
        <number>6</number>
       </property>
       <item row="5" column="2" colspan="2" >
        <spacer>
         <property name="orientation" >
          <enum>Qt::Vertical</enum>
         </property>
         <property name="sizeType" >
          <enum>QSizePolicy::Expanding</enum>
         </property>
         <property name="sizeHint" >
          <size>
           <width>20</width>
           <height>40</height>
          </size>
         </property>
        </spacer>
       </item>
       <item row="2" column="4" >
        <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="1" column="4" >
        <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="0" column="4" >
        <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="4" column="2" >
        <widget class="QCheckBox" name="rpythonCheckBox" >
         <property name="toolTip" >
          <string>Select to enable the rpython checker</string>
         </property>
         <property name="text" >
          <string>RPython</string>
         </property>
        </widget>
       </item>
       <item row="3" column="2" >
        <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>
       <item row="2" column="2" colspan="2" >
        <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="1" column="2" >
        <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="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="3" column="0" colspan="2" >
        <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="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="1" column="0" colspan="2" >
        <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="0" column="2" colspan="2" >
        <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="0" colspan="2" >
        <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>
      </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::NoButton|QDialogButtonBox::Ok</set>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <layoutdefault spacing="6" margin="6" />
 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
 <tabstops>
  <tabstop>tabWidget</tabstop>
  <tabstop>configfileEdit</tabstop>
  <tabstop>configfileButton</tabstop>
  <tabstop>txtOutputButton</tabstop>
  <tabstop>htmlOutputButton</tabstop>
  <tabstop>dialogOutputButton</tabstop>
  <tabstop>reportfileEdit</tabstop>
  <tabstop>reportfileButton</tabstop>
  <tabstop>configButton</tabstop>
  <tabstop>basicCheckBox</tabstop>
  <tabstop>classesCheckBox</tabstop>
  <tabstop>designCheckBox</tabstop>
  <tabstop>exceptionsCheckBox</tabstop>
  <tabstop>formatCheckBox</tabstop>
  <tabstop>importsCheckBox</tabstop>
  <tabstop>metricsCheckBox</tabstop>
  <tabstop>miscellaneousCheckBox</tabstop>
  <tabstop>newstyleCheckBox</tabstop>
  <tabstop>rpythonCheckBox</tabstop>
  <tabstop>similaritiesCheckBox</tabstop>
  <tabstop>typecheckCheckBox</tabstop>
  <tabstop>variablesCheckBox</tabstop>
  <tabstop>buttonBox</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