Moin, On Sunday 03 January 2010 02:56:42 P Zoltan wrote: > Also there is a new version of the flowcode document UML class diagram; > so QGraphicsItems _can_ have children. More testing is needed... That looks more promising to me, now :) Another thing I'd like to mention in this context is the coordinate-system of QGraphicsView. QGraphicsItems children "see the world" relative to it's parents. So, if there is a child at position QPointF(10.0, 10.0), it's "inside" the Item. (If it is large enough). For a QGraphicsItem QPointF(0.0, 0.0) is the upper left corner of the Item. One can easily map between View-coordinates, Scene-coordinates and Item- coordinates. (see Qt documentation).
If you write the Document to disk, everything should be stored in scene- coordinates, to be consistent with the recent implementation. (It even makes more sense to me, to do so.) bye then julian
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Ktechlab-devel mailing list Ktechlab-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ktechlab-devel