[Qt-interest] Select QGraphicsItem on the scene and move it

André Somers andre at familiesomers.nl
Sat Mar 20 14:33:19 CET 2010


You are probably looking for QGraphicsItem::setFlag or -s. If you look up
the list of possible flags, you'll notice an ItemIsMovable flag. I guess
that is what you want.

André


-----Oorspronkelijk bericht-----
Van: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] Namens Kari Laine
Verzonden: zaterdag 20 maart 2010 14:03
Aan: qt-interest
Onderwerp: [Qt-interest] Select QGraphicsItem on the scene and move it

Hi,

first thank you for all the help I have gotten from here.

Could someone tell me please how I made objects moveable on the Scene?

So what I am after is a setting that makes them movable and a method
to get their position.
I have so far trying to make it myself but it feels so stupid that I
think there must a better way.

Best Regards
Kari




-- 
PIC - ARM - Microcontrollers - I2C - SPI
Keypads - USB-RS232 - USB-I2C - Accessories
http://www.byvac.com
I am just a happy customer
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest





More information about the Qt-interest-old mailing list