7 Module implementing a dialog to show all guards for all patches. |
7 Module implementing a dialog to show all guards for all patches. |
8 """ |
8 """ |
9 |
9 |
10 import os |
10 import os |
11 |
11 |
12 from PyQt4.QtCore import QProcess |
12 from PyQt4.QtCore import QProcess, QCoreApplication |
13 from PyQt4.QtGui import QDialog, QTreeWidgetItem |
13 from PyQt4.QtGui import QDialog, QTreeWidgetItem |
14 |
14 |
15 from .Ui_HgQueuesListAllGuardsDialog import Ui_HgQueuesListAllGuardsDialog |
15 from .Ui_HgQueuesListAllGuardsDialog import Ui_HgQueuesListAllGuardsDialog |
16 |
16 |
17 import Preferences |
17 import Preferences |
31 super().__init__(parent) |
31 super().__init__(parent) |
32 self.setupUi(self) |
32 self.setupUi(self) |
33 |
33 |
34 self.vcs = vcs |
34 self.vcs = vcs |
35 self.__hgClient = vcs.getClient() |
35 self.__hgClient = vcs.getClient() |
|
36 |
|
37 self.show() |
|
38 QCoreApplication.processEvents() |
36 |
39 |
37 def start(self, path): |
40 def start(self, path): |
38 """ |
41 """ |
39 Public slot to start the list command. |
42 Public slot to start the list command. |
40 |
43 |