focusNextPrevChild to move through child widgets.

A

Andy Rayner

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
 
J

John J. Lee

Andy Rayner said:
Hello, using pyqt
[...]

1. Then put that in the subject line, if you're posting here.

2. PyKDE list would be a better choice than here.


John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top