focusNextPrevChild to move through child widgets.

Andy Rayner raynerremove at centurytel.net
Sat Dec 13 19:17:50 CET 2003


Hello, using pyqt
how does one emulate a tab key to move through child widgets ?

self.qfocus=self.focusWidget()
if(text=="Tab"):
        self.qfocus.focusNextPrevChild(1)
        return

this works until i run out of children, then i get an error.
(focusData doesn't seem to be available in pyqt ?)

Any Ideas ?
thanks




More information about the Python-list mailing list