22 It starts a QProcess and displays a dialog that |
22 It starts a QProcess and displays a dialog that |
23 shows the output of the process. The dialog is modal, |
23 shows the output of the process. The dialog is modal, |
24 which causes a synchronized execution of the process. |
24 which causes a synchronized execution of the process. |
25 """ |
25 """ |
26 |
26 |
27 def __init__(self, text, hg=None, useClient=True, parent=None): |
27 def __init__(self, text, hg=None, parent=None): |
28 """ |
28 """ |
29 Constructor |
29 Constructor |
30 |
30 |
31 @param text text to be shown by the label |
31 @param text text to be shown by the label |
32 @type str |
32 @type str |
33 @param hg reference to the Mercurial interface object |
33 @param hg reference to the Mercurial interface object |
34 @type Hg |
34 @type Hg |
35 @param useClient flag indicating to use the command server client |
|
36 if possible |
|
37 @type bool |
|
38 @param parent parent widget |
35 @param parent parent widget |
39 @type QWidget |
36 @type QWidget |
40 """ |
37 """ |
41 super().__init__(parent) |
38 super().__init__(parent) |
42 self.setupUi(self) |
39 self.setupUi(self) |