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