[Qt-interest] QGraphicsView widget proxy issues.
Thomas Fjellstrom
tfjellstrom at shaw.ca
Sun Oct 11 04:48:40 CEST 2009
On Fri October 9 2009, Thomas Fjellstrom wrote:
> I currently have two issues when using embedded widgets in a QGraphicsView
> with Qt 4.5.
>
> First one is in windows (XP, and Vista iirc) there is a drawing issue, some
> of the widgets are cut off at the top and left side (missing part of the
> 3d box in all my line edits)
>
> And second issue is setTabOrder doesn't work at all (trying to use it
> causes a warning at runtime saying the widgets aren't in the same root),
> and trying to tab through the line edits fails completely. Give the
> selection to the first one, and press tab, the selection just goes away.
> No widgets are selected. Now when tabbing from the LAST line edit, it will
> propagate to the buttons below, but tabbing away from the last button, the
> selection disappears again and won't come back, just like with tabbing
> through the line edits.
>
> I've tested with an older version of Qt and at the very least tabbing works
> just fine, so sometime between 4.4.3 and 4.5.2 there's been a regression.
>
> It is possible it is somehow my fault, so I'm attaching the source file for
> one of my graphics view dialogs. See if maybe someone can spot what I might
> be doing wrong.
>
> Thanks.
>
I should clarify that the rendering issues with the line edits only occurs
under windows.
--
Thomas Fjellstrom
tfjellstrom at shaw.ca
More information about the Qt-interest-old
mailing list