PDA

View Full Version : disabling multiple selection of items in graphicsscene/view



lightning2911
11th August 2010, 09:37
I want to enable/disable multiple selection of graphics items. As a default Qt allows to select multiple items with Ctrl+Click.

Is there any way to switch this on or off or do I have to reimplement mouseEvents in the View/Scene?

Thanks in advance
Chris

lightning2911
23rd August 2010, 09:06
fixed it with a mode value for the scene and clearing selection when mousePress and mode is single selection.