3185:d4fa462547bc | 3186:a05eff845522 |
---|---|
14 from E5Gui import E5FileDialog | 14 from E5Gui import E5FileDialog |
15 | 15 |
16 from .Ui_SvnPropSetDialog import Ui_SvnPropSetDialog | 16 from .Ui_SvnPropSetDialog import Ui_SvnPropSetDialog |
17 | 17 |
18 import Utilities | 18 import Utilities |
19 import UI.PixmapCache | |
19 | 20 |
20 | 21 |
21 class SvnPropSetDialog(QDialog, Ui_SvnPropSetDialog): | 22 class SvnPropSetDialog(QDialog, Ui_SvnPropSetDialog): |
22 """ | 23 """ |
23 Class implementing a dialog to enter the data for a new property. | 24 Class implementing a dialog to enter the data for a new property. |
28 | 29 |
29 @param parent parent widget (QWidget) | 30 @param parent parent widget (QWidget) |
30 """ | 31 """ |
31 super().__init__(parent) | 32 super().__init__(parent) |
32 self.setupUi(self) | 33 self.setupUi(self) |
34 | |
35 self.fileButton.setIcon(UI.PixmapCache.getIcon("open.png")) | |
33 | 36 |
34 self.propFileCompleter = E5FileCompleter(self.propFileEdit) | 37 self.propFileCompleter = E5FileCompleter(self.propFileEdit) |
35 | 38 |
36 @pyqtSlot() | 39 @pyqtSlot() |
37 def on_fileButton_clicked(self): | 40 def on_fileButton_clicked(self): |