[gnue] r9724 - trunk/gnue-forms/src/uidrivers/qt3/widgets

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: jamest
Date: 2007-06-18 14:24:30 -0500 (Mon, 18 Jun 2007)
New Revision: 9724

Modified:
   trunk/gnue-forms/src/uidrivers/qt3/widgets/button.py
Log:
buttons now honor focusorder


Modified: trunk/gnue-forms/src/uidrivers/qt3/widgets/button.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/qt3/widgets/button.py	2007-06-18 15:10:30 UTC (rev 9723)
+++ trunk/gnue-forms/src/uidrivers/qt3/widgets/button.py	2007-06-18 19:24:30 UTC (rev 9724)
@@ -112,7 +112,21 @@
                 self))
         self.ui_widget._gfObject._event_fire()
 
+    # -------------------------------------------------------------------------
+    # Capture handling of focus movement
+    # -------------------------------------------------------------------------
 
+    def focusNextPrevChild(self, next):
+        """
+        Send a next- or prev-entry request to the GFForm
+        """
+        if next:
+            self.ui_widget._request('NEXTENTRY')
+        else:
+            self.ui_widget._request('PREVENTRY')
+
+        return True
+
 # =============================================================================
 # Configuration
 # =============================================================================
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.