16 from E5Gui import E5FileDialog |
16 from E5Gui import E5FileDialog |
17 |
17 |
18 from .Ui_TranslationPropertiesDialog import Ui_TranslationPropertiesDialog |
18 from .Ui_TranslationPropertiesDialog import Ui_TranslationPropertiesDialog |
19 |
19 |
20 import Utilities |
20 import Utilities |
|
21 import UI.PixmapCache |
21 |
22 |
22 |
23 |
23 class TranslationPropertiesDialog(QDialog, Ui_TranslationPropertiesDialog): |
24 class TranslationPropertiesDialog(QDialog, Ui_TranslationPropertiesDialog): |
24 """ |
25 """ |
25 Class implementing the Translations Properties dialog. |
26 Class implementing the Translations Properties dialog. |
32 @param new flag indicating the generation of a new project |
33 @param new flag indicating the generation of a new project |
33 @param parent parent widget of this dialog (QWidget) |
34 @param parent parent widget of this dialog (QWidget) |
34 """ |
35 """ |
35 super().__init__(parent) |
36 super().__init__(parent) |
36 self.setupUi(self) |
37 self.setupUi(self) |
|
38 |
|
39 self.transBinPathButton.setIcon(UI.PixmapCache.getIcon("open.png")) |
|
40 self.transPatternButton.setIcon(UI.PixmapCache.getIcon("open.png")) |
37 |
41 |
38 self.project = project |
42 self.project = project |
39 self.parent = parent |
43 self.parent = parent |
40 |
44 |
41 self.transPatternCompleter = E5FileCompleter(self.transPatternEdit) |
45 self.transPatternCompleter = E5FileCompleter(self.transPatternEdit) |