PDA

View Full Version : list of opened widget



bibhukalyana
2nd September 2014, 07:36
Hi everyone,
I want to fetch a list of all opened widget (for a single app).

Can anyone tell me how to do ?

Thanks.
Bibhu.

anda_skoa
2nd September 2014, 08:52
QApplication::allWidgets() then iterate and check if visible.

QApplication::topLevelWidgets() if you are only interested in windows.

Cheers,
_

bibhukalyana
2nd September 2014, 09:37
Thanks.
I will check.:)