Results 1 to 2 of 2

Thread: Showing QML files into QMdiArea

  1. #1
    Join Date
    Oct 2009
    Posts
    65
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Showing QML files into QMdiArea

    Good Morning to all,
    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).

    How can I got it? Have u some indication for me?

    Thanks a lot for your time.

    Michele

  2. #2
    Join Date
    Oct 2009
    Posts
    65
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Showing QML files into QMdiArea

    Hello to everybody.
    I solved the problem! It's enought to set a QDeclarativeView as viewport widget of the QMdiArea!

    That's all!

    Thanks for your time

    Michele

Similar Threads

  1. Qt Creator Browse files dialog not showing
    By wiseodd in forum Qt Tools
    Replies: 7
    Last Post: 11th September 2010, 13:24
  2. Replies: 2
    Last Post: 13th May 2010, 17:46
  3. QMdiArea
    By Programm3r in forum Qt Programming
    Replies: 0
    Last Post: 4th May 2009, 14:25
  4. How to set QMdiArea::WindowOrder ?
    By akobor in forum Qt Programming
    Replies: 1
    Last Post: 10th January 2008, 15:04
  5. Showing QMainWindow without showing a child QWidget
    By discostu in forum Qt Programming
    Replies: 3
    Last Post: 4th March 2007, 09:03

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.