Tue, 18 Jan 2011 19:49:44 +0100
Fixed an issue with the extended PEP 8 statistics.
Plugins/CheckerPlugins/Pep8/Pep8StatisticsDialog.py | file | annotate | diff | comparison | revisions | |
Plugins/CheckerPlugins/Pep8/Pep8StatisticsDialog.ui | file | annotate | diff | comparison | revisions |
--- a/Plugins/CheckerPlugins/Pep8/Pep8StatisticsDialog.py Tue Jan 18 19:32:48 2011 +0100 +++ b/Plugins/CheckerPlugins/Pep8/Pep8StatisticsDialog.py Tue Jan 18 19:49:44 2011 +0100 @@ -52,9 +52,9 @@ self.__createItem(stats[code], code, message) totalIssues += stats[code] - self.total.setText( + self.totalIssues.setText( self.trUtf8("%n issue(s) found", "", totalIssues)) - self.total.setText( + self.fixedIssues.setText( self.trUtf8("%n issue(s) fixed", "", fixesCount)) self.filesChecked.setText( self.trUtf8("%n file(s) checked", "", filesCount))
--- a/Plugins/CheckerPlugins/Pep8/Pep8StatisticsDialog.ui Tue Jan 18 19:32:48 2011 +0100 +++ b/Plugins/CheckerPlugins/Pep8/Pep8StatisticsDialog.ui Tue Jan 18 19:49:44 2011 +0100 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>531</width> - <height>300</height> + <height>372</height> </rect> </property> <property name="windowTitle"> @@ -43,28 +43,35 @@ </widget> </item> <item> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="QLabel" name="total"> - <property name="text"> - <string/> - </property> - </widget> - </item> - <item> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> <widget class="QLabel" name="filesChecked"> <property name="text"> <string/> </property> </widget> </item> - <item> + <item row="0" column="1"> <widget class="QLabel" name="filesIssues"> <property name="text"> <string/> </property> </widget> </item> + <item row="1" column="0"> + <widget class="QLabel" name="totalIssues"> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="fixedIssues"> + <property name="text"> + <string/> + </property> + </widget> + </item> </layout> </item> <item>