--- a/Plugins/CheckerPlugins/Tabnanny/TabnannyDialog.py Sun Dec 08 13:28:04 2013 +0100 +++ b/Plugins/CheckerPlugins/Tabnanny/TabnannyDialog.py Sat Dec 14 19:12:26 2013 +0100 @@ -52,6 +52,8 @@ self.filterFrame.setVisible(False) self.checkProgress.setVisible(False) + self.checkProgressLabel.setVisible(False) + self.checkProgressLabel.setMaximumWidth(600) def __resort(self): """ @@ -136,12 +138,15 @@ self.checkProgress.setMaximum(len(py3files) + len(py2files)) self.checkProgressLabel.setVisible( len(py3files) + len(py2files) > 1) + self.checkProgress.setVisible( + len(py3files) + len(py2files) > 1) QApplication.processEvents() # now go through all the files progress = 0 for file in py3files + py2files: self.checkProgress.setValue(progress) + self.checkProgressLabel.setPath(file) QApplication.processEvents() self.__resort() @@ -181,6 +186,7 @@ progress += 1 self.checkProgress.setValue(progress) + self.checkProgressLabel.setPath("") QApplication.processEvents() self.__resort() else: @@ -205,6 +211,7 @@ self.resultList.header().setStretchLastSection(True) self.checkProgress.setVisible(False) + self.checkProgressLabel.setVisible(False) def on_buttonBox_clicked(self, button): """