Tue, 20 Oct 2015 19:14:55 +0200
Added some TODOs to the various checker dialogs.
--- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py Tue Oct 20 19:10:13 2015 +0200 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py Tue Oct 20 19:14:55 2015 +0200 @@ -131,6 +131,7 @@ if self.__lastFileItem is None: # It's a new file + # TODO: create the file item relative to the project self.__lastFileItem = QTreeWidgetItem(self.resultList, [file]) self.__lastFileItem.setFirstColumnSpanned(True) self.__lastFileItem.setExpanded(True)
--- a/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Tue Oct 20 19:10:13 2015 +0200 +++ b/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Tue Oct 20 19:14:55 2015 +0200 @@ -98,6 +98,7 @@ if self.__lastFileItem is None or \ self.__lastFileItem.data(0, self.filenameRole) != file: # It's a new file + # TODO: create the file item relative to the project self.__lastFileItem = QTreeWidgetItem(self.resultList, [file]) self.__lastFileItem.setFirstColumnSpanned(True) self.__lastFileItem.setExpanded(True)
--- a/Plugins/CheckerPlugins/Tabnanny/TabnannyDialog.py Tue Oct 20 19:10:13 2015 +0200 +++ b/Plugins/CheckerPlugins/Tabnanny/TabnannyDialog.py Tue Oct 20 19:14:55 2015 +0200 @@ -83,6 +83,7 @@ @param line linenumber of faulty source (integer or string) @param sourcecode faulty line of code (string) """ + # TODO: create the file item relative to the project itm = QTreeWidgetItem(self.resultList) itm.setData(0, Qt.DisplayRole, file) itm.setData(1, Qt.DisplayRole, line)