--- a/Plugins/CheckerPlugins/Pep8/Pep8Dialog.ui Sat Jan 15 19:31:56 2011 +0100 +++ b/Plugins/CheckerPlugins/Pep8/Pep8Dialog.ui Sun Jan 16 16:09:21 2011 +0100 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>650</width> - <height>600</height> + <height>700</height> </rect> </property> <property name="windowTitle"> @@ -52,7 +52,7 @@ </property> </widget> </item> - <item row="0" column="4" rowspan="4"> + <item row="0" column="4" rowspan="5"> <widget class="Line" name="line"> <property name="lineWidth"> <number>2</number> @@ -62,7 +62,7 @@ </property> </widget> </item> - <item row="0" column="5" rowspan="4"> + <item row="0" column="5" rowspan="5"> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QPushButton" name="startButton"> @@ -136,7 +136,7 @@ <item row="1" column="3"> <widget class="QToolButton" name="excludeMessagesSelectButton"> <property name="toolTip"> - <string>Press to select the messages from a list</string> + <string>Press to select the message codes from a list</string> </property> <property name="text"> <string>...</string> @@ -170,23 +170,87 @@ <item row="2" column="3"> <widget class="QToolButton" name="includeMessagesSelectButton"> <property name="toolTip"> - <string>Press to select the messages from a list</string> + <string>Press to select the message codes from a list</string> </property> <property name="text"> <string>...</string> </property> </widget> </item> - <item row="3" column="0" colspan="4"> - <widget class="QCheckBox" name="repeatCheckBox"> + <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="QLineEdit" name="fixIssuesEdit"> <property name="toolTip"> - <string>Select to repeat each message type</string> + <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="clearButtonFixIssues"> + <property name="toolTip"> + <string>Press to clear the fix issues edit</string> + </property> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item row="3" column="3"> + <widget class="QToolButton" name="fixIssuesSelectButton"> + <property name="toolTip"> + <string>Press to select the message codes from a list</string> </property> <property name="text"> - <string>Repeat messages</string> + <string>...</string> </property> </widget> </item> + <item row="4" column="0" colspan="4"> + <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> + <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> </layout> </widget> </item> @@ -262,7 +326,11 @@ <tabstop>includeMessagesEdit</tabstop> <tabstop>clearButtonIncludeMessages</tabstop> <tabstop>includeMessagesSelectButton</tabstop> + <tabstop>fixIssuesEdit</tabstop> + <tabstop>clearButtonFixIssues</tabstop> + <tabstop>fixIssuesSelectButton</tabstop> <tabstop>repeatCheckBox</tabstop> + <tabstop>fixIssuesCheckBox</tabstop> <tabstop>storeDefaultButton</tabstop> <tabstop>resultList</tabstop> <tabstop>buttonBox</tabstop> @@ -276,11 +344,11 @@ <slot>clear()</slot> <hints> <hint type="sourcelabel"> - <x>505</x> - <y>40</y> + <x>493</x> + <y>42</y> </hint> <hint type="destinationlabel"> - <x>472</x> + <x>460</x> <y>39</y> </hint> </hints> @@ -308,8 +376,8 @@ <slot>clear()</slot> <hints> <hint type="sourcelabel"> - <x>494</x> - <y>100</y> + <x>493</x> + <y>106</y> </hint> <hint type="destinationlabel"> <x>458</x> @@ -317,5 +385,37 @@ </hint> </hints> </connection> + <connection> + <sender>clearButtonFixIssues</sender> + <signal>clicked()</signal> + <receiver>fixIssuesEdit</receiver> + <slot>clear()</slot> + <hints> + <hint type="sourcelabel"> + <x>478</x> + <y>122</y> + </hint> + <hint type="destinationlabel"> + <x>445</x> + <y>122</y> + </hint> + </hints> + </connection> + <connection> + <sender>repeatCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>fixIssuesCheckBox</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>121</x> + <y>153</y> + </hint> + <hint type="destinationlabel"> + <x>186</x> + <y>160</y> + </hint> + </hints> + </connection> </connections> </ui>