7 Module implementing a dialog to show the commit message of the current patch. |
7 Module implementing a dialog to show the commit message of the current patch. |
8 """ |
8 """ |
9 |
9 |
10 import os |
10 import os |
11 |
11 |
12 from PyQt4.QtCore import QProcess, QTimer, Qt |
12 from PyQt4.QtCore import QProcess, QTimer, Qt, QCoreApplication |
13 from PyQt4.QtGui import QDialog, QDialogButtonBox |
13 from PyQt4.QtGui import QDialog, QDialogButtonBox |
14 |
14 |
15 from E5Gui import E5MessageBox |
15 from E5Gui import E5MessageBox |
16 |
16 |
17 from .Ui_HgQueuesHeaderDialog import Ui_HgQueuesHeaderDialog |
17 from .Ui_HgQueuesHeaderDialog import Ui_HgQueuesHeaderDialog |
41 self.__hgClient = vcs.getClient() |
41 self.__hgClient = vcs.getClient() |
42 |
42 |
43 self.process.finished.connect(self.__procFinished) |
43 self.process.finished.connect(self.__procFinished) |
44 self.process.readyReadStandardOutput.connect(self.__readStdout) |
44 self.process.readyReadStandardOutput.connect(self.__readStdout) |
45 self.process.readyReadStandardError.connect(self.__readStderr) |
45 self.process.readyReadStandardError.connect(self.__readStderr) |
|
46 |
|
47 self.show() |
|
48 QCoreApplication.processEvents() |
46 |
49 |
47 def closeEvent(self, e): |
50 def closeEvent(self, e): |
48 """ |
51 """ |
49 Private slot implementing a close event handler. |
52 Private slot implementing a close event handler. |
50 |
53 |