[Interest] Always on top

william.crocker at analog.com william.crocker at analog.com
Mon Feb 17 11:36:57 CET 2014


On 02/17/2014 03:49 AM, igor.mironchik at gmail.com wrote:
> Hi.
> I return to the subject of the drawing on top of the child widgets.
> I understand that I can’t paint on top of the child, but I can create child
> widgets that will be positioned to right place.
> But if I have parent with two child widgets, and I want one to be on top of
> other. I was trying to
> setAttribute( Qt::WA_WindowPropagation)
> on that widget. And have no success. The widgets with this attribute draws under
> the first one.
> What can I do else? Thanks.
>

This works for my purposes:

      setAttribute(Qt::WA_TransparentForMouseEvents,true);


>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest





More information about the Interest mailing list