71 @type QWidget (optional) |
71 @type QWidget (optional) |
72 """ |
72 """ |
73 super().__init__(parent) |
73 super().__init__(parent) |
74 self.setupUi(self) |
74 self.setupUi(self) |
75 |
75 |
76 self.progressBar.setMaximum(len(filesList)) |
|
77 |
|
78 self.resultsList.header().setSortIndicator(1, Qt.SortOrder.AscendingOrder) |
76 self.resultsList.header().setSortIndicator(1, Qt.SortOrder.AscendingOrder) |
79 |
77 |
80 self.__config = copy.deepcopy(configuration) |
78 self.__config = copy.deepcopy(configuration) |
81 self.__config["__action__"] = action # needed by the workers |
79 self.__config["__action__"] = action # needed by the workers |
82 self.__project = project |
80 self.__project = project |
99 |
97 |
100 def __performAction(self): |
98 def __performAction(self): |
101 """ |
99 """ |
102 Private method to execute the requested formatting action. |
100 Private method to execute the requested formatting action. |
103 """ |
101 """ |
|
102 self.progressBar.setMaximum(len(self.__filesList)) |
104 self.progressBar.setValue(0) |
103 self.progressBar.setValue(0) |
105 self.progressBar.setVisible(True) |
104 self.progressBar.setVisible(True) |
106 |
105 |
107 self.statisticsGroup.setVisible(False) |
106 self.statisticsGroup.setVisible(False) |
108 self.__statistics = BlackStatistics() |
107 self.__statistics = BlackStatistics() |