commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r8835 - trunk/gnue-forms/src/uidrivers/qt3


From: johannes
Subject: [gnue] r8835 - trunk/gnue-forms/src/uidrivers/qt3
Date: Wed, 18 Oct 2006 03:14:56 -0500 (CDT)

Author: johannes
Date: 2006-10-18 03:14:55 -0500 (Wed, 18 Oct 2006)
New Revision: 8835

Modified:
   trunk/gnue-forms/src/uidrivers/qt3/UIdriver.py
Log:
Added implementation for getInput()


Modified: trunk/gnue-forms/src/uidrivers/qt3/UIdriver.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/qt3/UIdriver.py      2006-10-18 08:07:44 UTC 
(rev 8834)
+++ trunk/gnue-forms/src/uidrivers/qt3/UIdriver.py      2006-10-18 08:14:55 UTC 
(rev 8835)
@@ -178,7 +178,17 @@
         dlg = dialogs.ExceptionDialog(group, name, message, detail)
         dlg.exec_loop()
 
+    # -------------------------------------------------------------------------
+    # Create and run an input dialog
+    # -------------------------------------------------------------------------
 
+    def _getInput(self, title, fields, cancel=True):
+
+        dlg = dialogs.InputDialog(title, fields, cancel)
+        dlg.exec_loop()
+        return dlg.inputData
+
+
     # -------------------------------------------------------------------------
     # Exit the application
     # -------------------------------------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]