How do you restrict a QGraphicsItem to move horizontally or vertically?
For example, If an item is at (0,0), how do I restrict the movement between (0,0)-(150,0)?
How do you restrict a QGraphicsItem to move horizontally or vertically?
For example, If an item is at (0,0), how do I restrict the movement between (0,0)-(150,0)?
Prashant
qt-sdk-win-opensource-2009.03.1.exe
Python 2.6.3
PyQt-Py2.6-gpl-4.6-1
Win XP, 32 Bit
Bookmarks