It seems that I've solved the problem with QWidget::raise(). -----Original Message----- From: william.croc...@analog.com Sent: Monday, February 17, 2014 12:36 PM To: interest@qt-project.org Subject: Re: [Interest] Always on top
On 02/17/2014 03:49 AM, igor.mironc...@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@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest