From 17771c9646f5387f044971131adff063b2b73110 Mon Sep 17 00:00:00 2001 From: duplo Date: Thu, 14 Oct 2010 08:18:37 +0000 Subject: [PATCH] Add signal connections for the 'hex' fields. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4427 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BModulePage.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wizard/BModulePage.py b/wizard/BModulePage.py index b03fca66..5bee0724 100644 --- a/wizard/BModulePage.py +++ b/wizard/BModulePage.py @@ -218,6 +218,8 @@ class BModulePage(BWizardPage): configurations[configuration][property]["value"] = "1" else: configurations[configuration][property]["value"] = "0" + elif configurations[configuration][property]["informations"]["type"] == "hex": + configurations[configuration][property]["value"] = unicode(self.pageContent.propertyTable.cellWidget(index, 1).text()) self.setProjectInfo("CONFIGURATIONS", configurations) if self.moduleItem(self.currentModule()).checkState(0) == Qt.Checked: self.dependencyCheck(self.moduleItem(self.currentModule())) @@ -604,6 +606,8 @@ class QControlGroup(QObject): self.connect(control, SIGNAL("currentIndexChanged(int)"), lambda: self.stateChanged(id)) elif type(control) == QDoubleSpinBox: self.connect(control, SIGNAL("valueChanged(double)"), lambda: self.stateChanged(id)) + elif type(control) == QLineEdit: + self.connect(control, SIGNAL("textChanged(QString)"), lambda: self.stateChanged(id)) def clear(self): """ -- 2.25.1