113 if not procStarted: |
113 if not procStarted: |
114 self.inputGroup.setEnabled(False) |
114 self.inputGroup.setEnabled(False) |
115 self.inputGroup.hide() |
115 self.inputGroup.hide() |
116 E5MessageBox.critical( |
116 E5MessageBox.critical( |
117 self, |
117 self, |
118 self.trUtf8('Process Generation Error'), |
118 self.tr('Process Generation Error'), |
119 self.trUtf8( |
119 self.tr( |
120 'The process {0} could not be started. ' |
120 'The process {0} could not be started. ' |
121 'Ensure, that it is in the search path.' |
121 'Ensure, that it is in the search path.' |
122 ).format('hg')) |
122 ).format('hg')) |
123 else: |
123 else: |
124 self.inputGroup.setEnabled(True) |
124 self.inputGroup.setEnabled(True) |
146 |
146 |
147 self.process = None |
147 self.process = None |
148 |
148 |
149 if self.signaturesList.topLevelItemCount() == 0: |
149 if self.signaturesList.topLevelItemCount() == 0: |
150 # no patches present |
150 # no patches present |
151 self.__generateItem("", "", self.trUtf8("no signatures found")) |
151 self.__generateItem("", "", self.tr("no signatures found")) |
152 self.__resizeColumns() |
152 self.__resizeColumns() |
153 self.__resort() |
153 self.__resort() |
154 |
154 |
155 def on_buttonBox_clicked(self, button): |
155 def on_buttonBox_clicked(self, button): |
156 """ |
156 """ |
312 def __filterSignatures(self): |
312 def __filterSignatures(self): |
313 """ |
313 """ |
314 Private method to filter the log entries. |
314 Private method to filter the log entries. |
315 """ |
315 """ |
316 searchRxText = self.rxEdit.text() |
316 searchRxText = self.rxEdit.text() |
317 filterTop = self.categoryCombo.currentText() == self.trUtf8("Revision") |
317 filterTop = self.categoryCombo.currentText() == self.tr("Revision") |
318 if filterTop and searchRxText.startswith("^"): |
318 if filterTop and searchRxText.startswith("^"): |
319 searchRx = QRegExp( |
319 searchRx = QRegExp( |
320 "^\s*{0}".format(searchRxText[1:]), Qt.CaseInsensitive) |
320 "^\s*{0}".format(searchRxText[1:]), Qt.CaseInsensitive) |
321 else: |
321 else: |
322 searchRx = QRegExp(searchRxText, Qt.CaseInsensitive) |
322 searchRx = QRegExp(searchRxText, Qt.CaseInsensitive) |