PDA

View Full Version : mulitiple selection in graphics scene pressing control key simultaneously mouse left



niks
3rd November 2012, 21:44
I created some rectangular items and added them to the grid in graphics scene.Now i want to select multiple items using control key and as I am totally new to Qt i am unable to do so.please someone help me out in this regard.

thanking you in advance

norobro
4th November 2012, 23:30
You just need to set some flags: QGraphicsItem::setFlags()

niks
6th November 2012, 07:45
thanks a lot but could you please tell me the code