From 76a48f1d3021b18df251ee4992c6b3973befbd87 Mon Sep 17 00:00:00 2001 From: duplo Date: Wed, 17 Dec 2008 13:31:30 +0000 Subject: [PATCH] Add some utility methods for the folder selection page git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2054 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BFolderPage.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wizard/BFolderPage.py b/wizard/BFolderPage.py index e359b599..b98c5ee4 100644 --- a/wizard/BFolderPage.py +++ b/wizard/BFolderPage.py @@ -17,4 +17,12 @@ class BFolderPage(BWizardPage): def __init__(self): BWizardPage.__init__(self, "dir_select.ui") - self.setTitle(self.tr("Select the BeRTOS version needed")) \ No newline at end of file + self.setTitle(self.tr("Select the BeRTOS version needed")) + self._folder = "" + self._connectSignals() + + def _connectSignals(self): + self.connect(self.pageContent.nameEdit, SIGNAL("textChanged(con QString)"), self._nameChanged) + + def _nameChanged(self, name): + print "name changed" \ No newline at end of file -- 2.25.1