Probably a trick question, but I can't find the answer.
I need to know when a QGraphicsItem gets selected. There must be a method that's called.
I know QGraphicsItem::itemChange()
but it's called too often.
Is there a better method ?
thx
edit : With this
if(change == ItemSelectedChange && scene()){
cout << "haha " << i++ << endl;
}
I get two calls every selection change.