Add some utility methods for the folder selection page
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 17 Dec 2008 13:31:30 +0000 (13:31 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 17 Dec 2008 13:31:30 +0000 (13:31 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2054 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BFolderPage.py

index e359b599a375c6ba253bd5c51497cbdbd4597fe1..b98c5ee4e3132a23b2c8fab2e8a096c1b9625a16 100644 (file)
@@ -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