[Interest] Aligning objects in QGraphics....

Josiah Bryan josiahbryan at gmail.com
Thu Aug 9 21:16:24 CEST 2012


On Thu, Aug 9, 2012 at 11:55 AM, BRM <bm_witness at yahoo.com> wrote:

> > From: BRM <bm_witness at yahoo.com>
>
> >I have three custom QGraphicsWidgets. Two of them belong to a custom
> layout that is assigned to the third:
> >widget1
>
> <snip>
> Namely for the e-mail archives....but found my own dumb bug - I got it
> correct above, but had a mapFromParent() on the origin which made it go all
> over the place.
> While the inconsistency was still not quite expected, it is nice as it
> showed a glaring issue right up front. (It would have been quite a pain
> finding it otherwise.)
>
> Tired vs Fresh minds...
>
> Ben
>

Been there, done that many many times - something to be said for sleeping
on the problem and trying again in the morning. Glad you figured it out!

-- 
Josiah Bryan
765-215-0511
josiahbryan at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120809/abb3fb96/attachment.html>


More information about the Interest mailing list