[Qt-interest] Finding if the widget is completely visible or not

Chitturi, Devendra_NagaKumar Devendra.NagaKumar.Chitturi at deshaw.com
Thu May 19 09:50:08 CEST 2011


Hi all,

Our requirement is to find out if the widget in a window is completely visible or not.

Suppose, one widget W1 is added to a window/panel/dialog Win1, and some other window/panel/dialog is on top of the window Win1 covering the widget W1.  How can I find if the W1 is covered by any other window or not?  Here, the other window can be from the same application or from some other application.  I tried QWidget::visibleRegion(), but it looks like this API gives information if a widget is covered by any other widget in the same window.
Any suggestions would be greatly appreciated.


Regards,
Devendra


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110519/3e5dc749/attachment.html 


More information about the Qt-interest-old mailing list