17.02.2015, 21:16, "Igor Mironchik" <igor.mironc...@gmail.com>: > Hi. > > I have question: is it possible to mix in one widget painted content and > ready Qt controls. For example I want to draw an image on the top of > widget and on the bottom to have some Qt controls. How I can do it... I > will draw image in paint event. Controls will have this widget as parent > and will be placed with move() to the bottom... > > Will it work?
Yes. Painting in paintEvent is always clipped to visible region of widget, so you won't overpaint other widgets by mistake. -- Regards, Konstantin _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest