Sat, 24 Aug 2013 14:44:55 +0200
Extended the PEP-8 dialog.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>Pep8Dialog</class> <widget class="QDialog" name="Pep8Dialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>650</width> <height>700</height> </rect> </property> <property name="windowTitle"> <string>PEP 8 Check Result</string> </property> <property name="whatsThis"> <string><b>PEP 8 Check Results</b> <p>This dialog shows the results of the PEP 8 check. Double clicking an entry will open an editor window and position the cursor at the respective line and position.</p></string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QFrame" name="filterFrame"> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Exclude Files:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="E5ClearableLineEdit" name="excludeFilesEdit"> <property name="toolTip"> <string>Enter filename patterns of files to be excluded separated by a comma</string> </property> </widget> </item> <item row="0" column="3" rowspan="7"> <widget class="Line" name="line"> <property name="lineWidth"> <number>2</number> </property> <property name="orientation"> <enum>Qt::Vertical</enum> </property> </widget> </item> <item row="0" column="4" rowspan="7"> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QPushButton" name="startButton"> <property name="toolTip"> <string>Press to start the PEP 8 check run</string> </property> <property name="text"> <string>Start</string> </property> </widget> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>18</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="loadDefaultButton"> <property name="toolTip"> <string>Press to load the default values</string> </property> <property name="text"> <string>Load Defaults</string> </property> </widget> </item> <item> <widget class="QPushButton" name="storeDefaultButton"> <property name="toolTip"> <string>Press to store the current values as defaults</string> </property> <property name="text"> <string>Store Defaults</string> </property> </widget> </item> </layout> </item> <item row="1" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Exclude Messages:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="E5ClearableLineEdit" name="excludeMessagesEdit"> <property name="toolTip"> <string>Enter message codes or categories to be excluded separated by a comma</string> </property> </widget> </item> <item row="1" column="2"> <widget class="QToolButton" name="excludeMessagesSelectButton"> <property name="toolTip"> <string>Press to select the message codes from a list</string> </property> <property name="text"> <string>...</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Included Messages:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="E5ClearableLineEdit" name="includeMessagesEdit"> <property name="toolTip"> <string>Enter message codes or categories to be included separated by a comma</string> </property> </widget> </item> <item row="2" column="2"> <widget class="QToolButton" name="includeMessagesSelectButton"> <property name="toolTip"> <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"> <widget class="QLabel" name="label_4"> <property name="text"> <string>Fix Issues:</string> </property> </widget> </item> <item row="3" column="1"> <widget class="E5ClearableLineEdit" name="fixIssuesEdit"> <property name="toolTip"> <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="fixIssuesSelectButton"> <property name="toolTip"> <string>Press to select the message codes from a list</string> </property> <property name="text"> <string>...</string> </property> </widget> </item> <item row="4" column="0"> <widget class="QLabel" name="label_5"> <property name="text"> <string>Max. Line Length:</string> </property> </widget> </item> <item row="4" column="1"> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QSpinBox" name="lineLengthSpinBox"> <property name="statusTip"> <string>Enter the maximum allowed line length (PEP-8: 79 characters)</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="minimum"> <number>60</number> </property> <property name="maximum"> <number>119</number> </property> <property name="value"> <number>79</number> </property> </widget> </item> <item> <spacer name="horizontalSpacer_3"> <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> <item row="5" column="0" colspan="3"> <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> <item row="6" column="0" colspan="3"> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QCheckBox" name="hangClosingCheckBox"> <property name="toolTip"> <string>Select to allow hanging closing brackets</string> </property> <property name="text"> <string>Allow hanging closing brackets</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_2"> <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> <item> <widget class="QTreeWidget" name="resultList"> <property name="whatsThis"> <string><b>Result List</b> <p>This list shows the results of the PEP 8 check. Double clicking an entry will open this entry in an editor window and position the cursor at the respective line and position.</p></string> </property> <property name="alternatingRowColors"> <bool>true</bool> </property> <property name="selectionMode"> <enum>QAbstractItemView::ExtendedSelection</enum> </property> <property name="sortingEnabled"> <bool>true</bool> </property> <column> <property name="text"> <string>File/Line</string> </property> </column> <column> <property name="text"> <string>Code</string> </property> </column> <column> <property name="text"> <string>Message</string> </property> </column> </widget> </item> <item> <widget class="QProgressBar" name="checkProgress"> <property name="toolTip"> <string>Shows the progress of the PEP 8 check action</string> </property> <property name="value"> <number>0</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Close</set> </property> </widget> </item> </layout> </widget> <layoutdefault spacing="6" margin="6"/> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> <customwidgets> <customwidget> <class>E5ClearableLineEdit</class> <extends>QLineEdit</extends> <header>E5Gui/E5LineEdit.h</header> </customwidget> </customwidgets> <tabstops> <tabstop>startButton</tabstop> <tabstop>loadDefaultButton</tabstop> <tabstop>excludeFilesEdit</tabstop> <tabstop>excludeMessagesEdit</tabstop> <tabstop>excludeMessagesSelectButton</tabstop> <tabstop>includeMessagesEdit</tabstop> <tabstop>includeMessagesSelectButton</tabstop> <tabstop>fixIssuesEdit</tabstop> <tabstop>fixIssuesSelectButton</tabstop> <tabstop>lineLengthSpinBox</tabstop> <tabstop>repeatCheckBox</tabstop> <tabstop>fixIssuesCheckBox</tabstop> <tabstop>hangClosingCheckBox</tabstop> <tabstop>storeDefaultButton</tabstop> <tabstop>resultList</tabstop> <tabstop>buttonBox</tabstop> </tabstops> <resources/> <connections> <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>