PDA

View Full Version : snap to grid behaviour



dreamer
2nd May 2008, 21:43
I'd like to implement the snap to grid behaviour.

I draw the grid inside my drawbackground() function.....How can my custom QGraphicsItems have this behaviour????

aamer4yu
3rd May 2008, 08:35
I guess http://www.qtcentre.org/forum/f-qt-programming-2/t-snap-to-grid-on-qgraphicsitem-13252.html is similar prob to urs

hope it helps