From ed2337d95b6ffa6921b6499d378e6d7334becb91 Mon Sep 17 00:00:00 2001 From: duplo Date: Tue, 8 Sep 2009 13:49:03 +0000 Subject: [PATCH] Add window icons. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2904 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BEditingDialog.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wizard/BEditingDialog.py b/wizard/BEditingDialog.py index e98edf86..1d454f4e 100644 --- a/wizard/BEditingDialog.py +++ b/wizard/BEditingDialog.py @@ -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() -- 2.25.1