Solved The QGracphicscence->seletedItems() returns NULL
-
Hi all If I iterat all the items of QGraphicitems of the QGraphicsscens and set item->setSelected(true) I get Null for QGracphicscence->seletedItems()
but If I do item->setFlag(QGraphicsItem::ItemSelectedable , true) and set item->setSelected(true) then I get non zero number for QGracphicscence->seletedItems()
Why is difference between about two flows
-
@Qt-Enthusiast
Short: items can only be selected when they are also selectable. Thats it. -
@Qt-Enthusiast
Short: items can only be selected when they are also selectable. Thats it.