[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Preview of a QtGraphicsItem
From:       "Matteo Boscolo" <matteo.boscolo () boscolini ! eu>
Date:       2010-07-26 19:23:43
Message-ID: 003801cb2cf8$0ffab030$2ff01090$ () boscolo () boscolini ! eu
[Download RAW message or body]

Hi all,
I'm developing a cad application with pyqt: PythonCad

I get some truble(crash,Sometimes the line is not rendered,..) creating a
preview system for rendering the QtGraphicsItem during the command
execution.

I follow this steps to create the preview.

When the user execute a command es: Segment.
I create a QtGraphicsItem, and I grap the mouse moveevent  for updating the
line .
So when the user change the mouse position the line is updated.

There is any more smart way to do such a thing, any idea,..?

Regards,
Matteo





_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic