[Qt-interest] QGraphicsView and tabOrder.

Thomas Fjellstrom tfjellstrom at shaw.ca
Tue Sep 22 00:51:42 CEST 2009


I'm writing a little game in Qt4, and I've made a couple "dialogs" appear 
inside the play area using QGraphicsProxyWidgets, but it appears that changing 
focus with tab in most of my widgets just doesn't work. tabbing about the app 
works, till I get to the QGraphicsView, at which point it stops. If I move the 
focus to the first few widgets (2 line edits) in my view the focus just leaves 
the widgets without moving to any others, unless I focus the last line edit, 
then it will tab over to the buttons, but won't continue on out of the 
QGraphicsView.

This is with Qt 4.5.2. I've tested with an older Qt (which ever is on Debian 
Lenny) and tabbing works fine, so something has changed between that version 
and this.

-- 
Thomas Fjellstrom
tfjellstrom at shaw.ca



More information about the Qt-interest-old mailing list