[Qt-interest] Showing QML files into QMdiArea
Bo Thorsen
bo at fioniasoftware.dk
Mon Sep 12 13:03:59 CEST 2011
Hi Michele,
Den 12-09-2011 08:42, Michele Ciampichetti skrev:
> I'm trying to show a QML file into QMdiArea, do u have any suggest?
> I know how show an image into subclassed QMdiArea, using QPainter
> drawImage slot and paint event, but, there is no slot to paint a QWidget.
> How can got it? I should subclass QMdiArea and QDeclarativeView by the
> same Object? I tryed it but I got an error relative to the
> setObjectName, that it was ambiguous (my control is used in form).
Put the QDeclarativeView inside QMdiArea. It's just a QWidget subclass
like any other.
It sounds like you need to read up on the layout parts of the Qt
documentation.
Bo Thorsen,
Fionia Software.
--
Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk
More information about the Qt-interest-old
mailing list