hi friends,
i want to show and hide certain group of items in my graphicsScene() .... so i group these items using item group ...
QList<QGraphicsItem *> x86List;
QList<QGraphicsItem *> x86List;
QGraphicsItemGroup *x86Group ;
To copy to clipboard, switch view to plain text mode
and i appended the items to x86List one by one ...
and then
x86Group = scene->createItemGroup(x86List);
x86Group->setHandlesChildEvents (false );
x86Group = scene->createItemGroup(x86List);
x86Group->setHandlesChildEvents (false );
To copy to clipboard, switch view to plain text mode
but when i assign x86Group = scene->createItemGroup(x86List); it start showing the items in the scene ... but i want to add it under certain function call only ...
i dont know how to hide the group beforre the condition met ...
please help
Bookmarks