Add window icons.
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 8 Sep 2009 13:49:03 +0000 (13:49 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 8 Sep 2009 13:49:03 +0000 (13:49 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2904 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BEditingDialog.py

index e98edf861ce4329d2bd21c4d5e3c7ff81ea39848..1d454f4ead1bb0c2f7c307c642294f957ee09cf4 100644 (file)
@@ -84,6 +84,7 @@ class BEditingDialog(QDialog):
         layout.addLayout(button_layout)
         self.setLayout(layout)
         self.setWindowTitle(self.tr("Edit \"%1\" project").arg(os.path.basename(self.module_page.projectInfo("PROJECT_PATH"))))
+       self.setWindowIcon(QIcon(":/images/appicon.png"))
 
     def setupMenu(self):
         self.menu = QMenu(self.tr("Advanced options"))
@@ -109,6 +110,7 @@ class BEditingDialog(QDialog):
 
     def changeToolchain(self):
         dialog = QDialog()
+       dialog.setWindowIcon(QIcon(":/images/appicon.png"))
         layout = QVBoxLayout()
         toolchain_page = BToolchainPage()
        current_toolchain = toolchain_page.projectInfo("TOOLCHAIN")
@@ -138,6 +140,7 @@ class BEditingDialog(QDialog):
     
     def changeBertosVersion(self):
         dialog = QDialog()
+       dialog.setWindowIcon(QIcon(":/images/appicon.png"))
         layout = QVBoxLayout()
         version_page = BVersionPage()
         version_page.reloadData()