diff -r 60e946f1f8f3 -r cda98d0e93e7 PyLint/PyLintConfigDialog.ui --- a/PyLint/PyLintConfigDialog.ui Sun Feb 05 16:34:09 2012 +0100 +++ b/PyLint/PyLintConfigDialog.ui Sat Apr 14 14:42:31 2012 +0200 @@ -1,7 +1,8 @@ -<ui version="4.0" > +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> <class>PyLintConfigDialog</class> - <widget class="QDialog" name="PyLintConfigDialog" > - <property name="geometry" > + <widget class="QDialog" name="PyLintConfigDialog"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> @@ -9,121 +10,121 @@ <height>335</height> </rect> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>PyLint Configuration</string> </property> - <property name="sizeGripEnabled" > + <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" > - <property name="margin" > + <layout class="QVBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="spacing" > + <property name="margin"> <number>6</number> </property> <item> - <widget class="QTabWidget" name="tabWidget" > - <property name="currentIndex" > + <widget class="QTabWidget" name="tabWidget"> + <property name="currentIndex"> <number>1</number> </property> - <widget class="QWidget" name="General" > - <attribute name="title" > + <widget class="QWidget" name="General"> + <attribute name="title"> <string>General</string> </attribute> - <layout class="QGridLayout" > - <property name="margin" > + <layout class="QGridLayout"> + <property name="margin"> <number>6</number> </property> - <property name="spacing" > + <property name="spacing"> <number>6</number> </property> - <item row="0" column="0" > - <widget class="QLabel" name="textLabel1" > - <property name="text" > + <item row="0" column="0"> + <widget class="QLabel" name="textLabel1"> + <property name="text"> <string>Configuration &File:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>configfileEdit</cstring> </property> </widget> </item> - <item row="1" column="0" colspan="3" > - <widget class="QGroupBox" name="groupBox" > - <property name="title" > + <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" > + <layout class="QVBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="spacing" > + <property name="margin"> <number>6</number> </property> <item> - <widget class="QRadioButton" name="txtOutputButton" > - <property name="toolTip" > + <widget class="QRadioButton" name="txtOutputButton"> + <property name="toolTip"> <string>Select to generate a plain text report</string> </property> - <property name="text" > + <property name="text"> <string>Generate &Textreport</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Alt+T</string> </property> </widget> </item> <item> - <widget class="QRadioButton" name="htmlOutputButton" > - <property name="toolTip" > + <widget class="QRadioButton" name="htmlOutputButton"> + <property name="toolTip"> <string>Select to generate a HTML report</string> </property> - <property name="text" > + <property name="text"> <string>Generate &HTML Report</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Alt+H</string> </property> </widget> </item> <item> - <widget class="QRadioButton" name="dialogOutputButton" > - <property name="toolTip" > + <widget class="QRadioButton" name="dialogOutputButton"> + <property name="toolTip"> <string>Show the pylint result in a dialog</string> </property> - <property name="text" > + <property name="text"> <string>Show Result &Dialog</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Alt+D</string> </property> </widget> </item> <item> - <widget class="QGroupBox" name="groupBox_2" > - <property name="title" > + <widget class="QGroupBox" name="groupBox_2"> + <property name="title"> <string>Report File</string> </property> - <layout class="QHBoxLayout" > - <property name="margin" > + <layout class="QHBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="spacing" > + <property name="margin"> <number>6</number> </property> <item> - <widget class="QLineEdit" name="reportfileEdit" > - <property name="toolTip" > + <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" > + <widget class="QPushButton" name="reportfileButton"> + <property name="toolTip"> <string>Press to open a file selection dialog</string> </property> - <property name="text" > + <property name="text"> <string>...</string> </property> </widget> @@ -134,30 +135,30 @@ </layout> </widget> </item> - <item row="0" column="1" > - <widget class="QLineEdit" name="configfileEdit" > - <property name="toolTip" > + <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" > + <item row="3" column="0" colspan="3"> + <layout class="QHBoxLayout"> + <property name="spacing"> + <number>6</number> + </property> + <property name="margin"> <number>0</number> </property> - <property name="spacing" > - <number>6</number> - </property> <item> <spacer> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <property name="sizeType" > + <property name="sizeType"> <enum>QSizePolicy::Expanding</enum> </property> - <property name="sizeHint" > + <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> @@ -166,31 +167,31 @@ </spacer> </item> <item> - <widget class="QPushButton" name="configButton" > - <property name="toolTip" > + <widget class="QPushButton" name="configButton"> + <property name="toolTip"> <string>Press to generate a sample configuration</string> </property> - <property name="whatsThis" > - <string><b>Generate Configuration Template</b> -<p>This generates a sample configuration. The data is shown in a new editor window.</p></string> + <property name="whatsThis"> + <string><b>Generate Configuration Template</b> +<p>This generates a sample configuration. The data is shown in a new editor window.</p></string> </property> - <property name="text" > + <property name="text"> <string>&Generate Configuration Template</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Alt+G</string> </property> </widget> </item> <item> <spacer> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <property name="sizeType" > + <property name="sizeType"> <enum>QSizePolicy::Expanding</enum> </property> - <property name="sizeHint" > + <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> @@ -200,51 +201,51 @@ </item> </layout> </item> - <item row="2" column="0" colspan="3" > - <widget class="Line" name="line1" > - <property name="frameShape" > + <item row="2" column="0" colspan="3"> + <widget class="Line" name="line1"> + <property name="frameShape"> <enum>QFrame::HLine</enum> </property> - <property name="frameShadow" > + <property name="frameShadow"> <enum>QFrame::Sunken</enum> </property> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> - <item row="0" column="2" > - <widget class="QPushButton" name="configfileButton" > - <property name="toolTip" > + <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" > + <property name="text"> <string>...</string> </property> </widget> </item> </layout> </widget> - <widget class="QWidget" name="Checkers" > - <attribute name="title" > + <widget class="QWidget" name="Checkers"> + <attribute name="title"> <string>Checkers</string> </attribute> - <layout class="QGridLayout" > - <property name="margin" > + <layout class="QGridLayout"> + <property name="margin"> <number>6</number> </property> - <property name="spacing" > + <property name="spacing"> <number>6</number> </property> - <item row="5" column="2" colspan="2" > + <item row="5" column="2" colspan="2"> <spacer> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Vertical</enum> </property> - <property name="sizeType" > + <property name="sizeType"> <enum>QSizePolicy::Expanding</enum> </property> - <property name="sizeHint" > + <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> @@ -252,153 +253,201 @@ </property> </spacer> </item> - <item row="2" column="4" > - <widget class="QCheckBox" name="variablesCheckBox" > - <property name="toolTip" > + <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" > + <property name="text"> <string>Variables</string> </property> </widget> </item> - <item row="1" column="4" > - <widget class="QCheckBox" name="typecheckCheckBox" > - <property name="toolTip" > + <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" > + <property name="text"> <string>Typecheck</string> </property> </widget> </item> - <item row="0" column="4" > - <widget class="QCheckBox" name="similaritiesCheckBox" > - <property name="toolTip" > + <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" > + <property name="text"> <string>Similarities</string> </property> </widget> </item> - <item row="4" column="2" > - <widget class="QCheckBox" name="rpythonCheckBox" > - <property name="toolTip" > + <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" > + <property name="text"> <string>RPython</string> </property> </widget> </item> - <item row="3" column="2" > - <widget class="QCheckBox" name="newstyleCheckBox" > - <property name="toolTip" > + <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" > + <property name="text"> <string>Newstyle</string> </property> </widget> </item> - <item row="2" column="2" colspan="2" > - <widget class="QCheckBox" name="miscellaneousCheckBox" > - <property name="toolTip" > + <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" > + <property name="text"> <string>Miscellaneous</string> </property> </widget> </item> - <item row="1" column="2" > - <widget class="QCheckBox" name="metricsCheckBox" > - <property name="toolTip" > + <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" > + <property name="text"> <string>Metrics</string> </property> </widget> </item> - <item row="4" column="0" > - <widget class="QCheckBox" name="formatCheckBox" > - <property name="toolTip" > + <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" > + <property name="text"> <string>Format</string> </property> </widget> </item> - <item row="3" column="0" colspan="2" > - <widget class="QCheckBox" name="exceptionsCheckBox" > - <property name="toolTip" > + <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" > + <property name="text"> <string>Exceptions</string> </property> </widget> </item> - <item row="2" column="0" > - <widget class="QCheckBox" name="designCheckBox" > - <property name="toolTip" > + <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" > + <property name="text"> <string>Design</string> </property> </widget> </item> - <item row="1" column="0" colspan="2" > - <widget class="QCheckBox" name="classesCheckBox" > - <property name="toolTip" > + <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" > + <property name="text"> <string>Classes</string> </property> </widget> </item> - <item row="0" column="2" colspan="2" > - <widget class="QCheckBox" name="importsCheckBox" > - <property name="toolTip" > + <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" > + <property name="text"> <string>Imports</string> </property> </widget> </item> - <item row="0" column="0" colspan="2" > - <widget class="QCheckBox" name="basicCheckBox" > - <property name="toolTip" > + <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" > + <property name="text"> <string>Basic</string> </property> </widget> </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> + </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> + </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" > + <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 name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> - <layoutdefault spacing="6" margin="6" /> + <layoutdefault spacing="6" margin="6"/> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> <tabstops> <tabstop>tabWidget</tabstop> @@ -423,6 +472,8 @@ <tabstop>similaritiesCheckBox</tabstop> <tabstop>typecheckCheckBox</tabstop> <tabstop>variablesCheckBox</tabstop> + <tabstop>enabledMessagesEdit</tabstop> + <tabstop>disabledMessagesEdit</tabstop> <tabstop>buttonBox</tabstop> </tabstops> <resources/> @@ -433,11 +484,11 @@ <receiver>groupBox_2</receiver> <slot>setDisabled(bool)</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>78</x> <y>163</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>62</x> <y>188</y> </hint> @@ -449,11 +500,11 @@ <receiver>PyLintConfigDialog</receiver> <slot>accept()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>35</x> <y>321</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>34</x> <y>333</y> </hint> @@ -465,11 +516,11 @@ <receiver>PyLintConfigDialog</receiver> <slot>reject()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>91</x> <y>309</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>100</x> <y>332</y> </hint>