Plugins/VcsPlugins/vcsPySvn/SvnCommandDialog.py

changeset 3186
a05eff845522
parent 3160
209a07d7e401
child 3190
a9a94491c4fd
equal deleted inserted replaced
3185:d4fa462547bc 3186:a05eff845522
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 19 import UI.PixmapCache
20 20
21 class SvnCommandDialog(QDialog, Ui_SvnCommandDialog): 21 class SvnCommandDialog(QDialog, Ui_SvnCommandDialog):
22 """ 22 """
23 Class implementing the Subversion command dialog. 23 Class implementing the Subversion command dialog.
24 24
35 @param ppath pathname of the project directory (string) 35 @param ppath pathname of the project directory (string)
36 @param parent parent widget of this dialog (QWidget) 36 @param parent parent widget of this dialog (QWidget)
37 """ 37 """
38 super().__init__(parent) 38 super().__init__(parent)
39 self.setupUi(self) 39 self.setupUi(self)
40
41 self.dirButton.setIcon(UI.PixmapCache.getIcon("open.png"))
40 42
41 self.workdirCompleter = E5DirCompleter(self.workdirCombo) 43 self.workdirCompleter = E5DirCompleter(self.workdirCombo)
42 44
43 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) 45 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok)
44 self.okButton.setEnabled(False) 46 self.okButton.setEnabled(False)

eric ide

mercurial