[Qt-interest] Finding visual region on a widget

Sarath sarath at softjin.com
Mon Mar 29 12:26:43 CEST 2010


Hi,

I am trying to figure out a problem involving the visual region on a widget.

When one widget, W1 is overlapping with another widget W2, how can I 
find the visible region (bounding rect) on widget W2.
I have tried using QWidget::visibleRegion(), it gives the entire region 
of widget W2 and not the visible region of widget W2.

Can any body help me on this.

Thanks,
Sarath


Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for  the use  of the  individual or entity  to which they  are  addressed. It
may  contain confidential,  proprietary or legally  privileged  information.
If  you  are  not  the  intended recipient please be advised that you have
received  this  message in error and any use is strictly prohibited. Please
immediately  delete it  and all copies of it from your system, destroy any
hard  copies  of  it and  notify  the  sender  by return mail. You must not,
directly or indirectly, use,  disclose,  distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________





More information about the Qt-interest-old mailing list