[PyQt] Drawing a selection region in qgraphicsscene

Jake Richards blaven at gmail.com
Sun Oct 26 18:54:54 GMT 2008


Hello:
  I'm trying to draw a semi-transparent selection rectangle in a
qgraphicsscene/view but need a little help.  I'm pretty sure I can figure
out how to handle the mouse events for it, but wasn't sure what methods were
best to draw a rectangle on screen displaying the current selection
rectangle.  Also, is there a way to make items snap to a grid when
dragging?  Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20081026/e518787a/attachment.html


More information about the PyQt mailing list