PDA

View Full Version : getting hidden QGraphicsItems without using container



prasad.ece2
29th January 2014, 09:29
hi, i want to find QgraphicsItems which are hided on scene.
if i say scene()->items() its returning what are the items present on scene, i want to get hidden items also with out using any container.

anda_skoa
29th January 2014, 10:09
What do you mean with "hidden". items that have their visibilty switched off?
Just iterate over the list and skip all that have isVisible() return true.

Cheers,
_