41 self.setupUi(self) |
41 self.setupUi(self) |
42 |
42 |
43 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
43 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
44 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
44 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
45 |
45 |
46 self.process = QProcess() |
|
47 self.vcs = vcs |
46 self.vcs = vcs |
48 |
47 |
49 self.blameList.headerItem().setText(self.blameList.columnCount(), "") |
48 self.blameList.headerItem().setText(self.blameList.columnCount(), "") |
50 font = Preferences.getEditorOtherFonts("MonospacedFont") |
49 font = Preferences.getEditorOtherFonts("MonospacedFont") |
51 self.blameList.setFont(font) |
50 self.blameList.setFont(font) |
52 |
51 |
53 self.__ioEncoding = Preferences.getSystem("IOEncoding") |
52 self.__ioEncoding = Preferences.getSystem("IOEncoding") |
54 |
53 |
|
54 self.process = QProcess() |
55 self.process.finished.connect(self.__procFinished) |
55 self.process.finished.connect(self.__procFinished) |
56 self.process.readyReadStandardOutput.connect(self.__readStdout) |
56 self.process.readyReadStandardOutput.connect(self.__readStdout) |
57 self.process.readyReadStandardError.connect(self.__readStderr) |
57 self.process.readyReadStandardError.connect(self.__readStderr) |
58 |
58 |
59 def closeEvent(self, e): |
59 def closeEvent(self, e): |
126 Qt.OtherFocusReason) |
127 Qt.OtherFocusReason) |
127 |
128 |
128 self.inputGroup.setEnabled(False) |
129 self.inputGroup.setEnabled(False) |
129 self.inputGroup.hide() |
130 self.inputGroup.hide() |
130 |
131 |
131 self.process = None |
|
132 |
|
133 self.__resizeColumns() |
132 self.__resizeColumns() |
134 |
133 |
135 def on_buttonBox_clicked(self, button): |
134 def on_buttonBox_clicked(self, button): |
136 """ |
135 """ |
137 Private slot called by a button of the button box clicked. |
136 Private slot called by a button of the button box clicked. |