Project/SpellingPropertiesDialog.py

changeset 3186
a05eff845522
parent 3160
209a07d7e401
child 3190
a9a94491c4fd
equal deleted inserted replaced
3185:d4fa462547bc 3186:a05eff845522
17 17
18 from .Ui_SpellingPropertiesDialog import Ui_SpellingPropertiesDialog 18 from .Ui_SpellingPropertiesDialog import Ui_SpellingPropertiesDialog
19 19
20 import Utilities 20 import Utilities
21 import Preferences 21 import Preferences
22 import UI.PixmapCache
22 23
23 24
24 class SpellingPropertiesDialog(QDialog, Ui_SpellingPropertiesDialog): 25 class SpellingPropertiesDialog(QDialog, Ui_SpellingPropertiesDialog):
25 """ 26 """
26 Class implementing the Spelling Properties dialog. 27 Class implementing the Spelling Properties dialog.
33 @param new flag indicating the generation of a new project 34 @param new flag indicating the generation of a new project
34 @param parent parent widget of this dialog (QWidget) 35 @param parent parent widget of this dialog (QWidget)
35 """ 36 """
36 super().__init__(parent) 37 super().__init__(parent)
37 self.setupUi(self) 38 self.setupUi(self)
39
40 self.pwlButton.setIcon(UI.PixmapCache.getIcon("open.png"))
41 self.pelButton.setIcon(UI.PixmapCache.getIcon("open.png"))
38 42
39 self.project = project 43 self.project = project
40 self.parent = parent 44 self.parent = parent
41 45
42 self.pwlCompleter = E5FileCompleter(self.pwlEdit) 46 self.pwlCompleter = E5FileCompleter(self.pwlEdit)

eric ide

mercurial