Project/PropertiesDialog.py

changeset 3186
a05eff845522
parent 3160
209a07d7e401
child 3190
a9a94491c4fd
equal deleted inserted replaced
3185:d4fa462547bc 3186:a05eff845522
18 18
19 from .Ui_PropertiesDialog import Ui_PropertiesDialog 19 from .Ui_PropertiesDialog import Ui_PropertiesDialog
20 20
21 import Utilities 21 import Utilities
22 import Preferences 22 import Preferences
23 import UI.PixmapCache
23 24
24 25
25 class PropertiesDialog(QDialog, Ui_PropertiesDialog): 26 class PropertiesDialog(QDialog, Ui_PropertiesDialog):
26 """ 27 """
27 Class implementing the project properties dialog. 28 Class implementing the project properties dialog.
37 """ 38 """
38 super().__init__(parent) 39 super().__init__(parent)
39 if name: 40 if name:
40 self.setObjectName(name) 41 self.setObjectName(name)
41 self.setupUi(self) 42 self.setupUi(self)
43
44 self.dirButton.setIcon(UI.PixmapCache.getIcon("open.png"))
45 self.mainscriptButton.setIcon(UI.PixmapCache.getIcon("open.png"))
42 46
43 self.project = project 47 self.project = project
44 self.newProject = new 48 self.newProject = new
45 self.transPropertiesDlg = None 49 self.transPropertiesDlg = None
46 self.spellPropertiesDlg = None 50 self.spellPropertiesDlg = None

eric ide

mercurial