[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] Drawing a selection region in qgraphicsscene
From: "Jake Richards" <blaven () gmail ! com>
Date: 2008-10-26 18:54:54
Message-ID: 8467e2d90810261154o59af1d45ieda4ec4900acfbc3 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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!
[Attachment #5 (text/html)]
Hello:<br> 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!
_______________________________________________
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