14 from E5Gui import E5FileDialog |
14 from E5Gui import E5FileDialog |
15 |
15 |
16 from .Ui_SvnCommandDialog import Ui_SvnCommandDialog |
16 from .Ui_SvnCommandDialog import Ui_SvnCommandDialog |
17 |
17 |
18 import Utilities |
18 import Utilities |
|
19 import UI.PixmapCache |
19 |
20 |
20 |
21 |
21 class SvnCommandDialog(QDialog, Ui_SvnCommandDialog): |
22 class SvnCommandDialog(QDialog, Ui_SvnCommandDialog): |
22 """ |
23 """ |
23 Class implementing the Subversion command dialog. |
24 Class implementing the Subversion command dialog. |
35 @param ppath pathname of the project directory (string) |
36 @param ppath pathname of the project directory (string) |
36 @param parent parent widget of this dialog (QWidget) |
37 @param parent parent widget of this dialog (QWidget) |
37 """ |
38 """ |
38 super().__init__(parent) |
39 super().__init__(parent) |
39 self.setupUi(self) |
40 self.setupUi(self) |
|
41 |
|
42 self.dirButton.setIcon(UI.PixmapCache.getIcon("open.png")) |
40 |
43 |
41 self.workdirCompleter = E5DirCompleter(self.workdirCombo) |
44 self.workdirCompleter = E5DirCompleter(self.workdirCombo) |
42 |
45 |
43 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
46 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
44 self.okButton.setEnabled(False) |
47 self.okButton.setEnabled(False) |