Results 1 to 2 of 2

Thread: Can a MDI SubWindow contains a QGraphicsView?

  1. #1
    Join Date
    Apr 2014
    Posts
    125
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Question Can a MDI SubWindow contains a QGraphicsView?

    Can a MDI SubWindow contains a QGraphicsView?

    What happens to the QGraphicsView items when the SubWindow is resized?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Can a MDI SubWindow contains a QGraphicsView?

    Quote Originally Posted by mut View Post
    Can a MDI SubWindow contains a QGraphicsView?
    Yes, QGraphicsView is a QWidget subclass and QMdiSubWindow can show one of those.

    Quote Originally Posted by mut View Post
    What happens to the QGraphicsView items when the SubWindow is resized?
    Nothing.

    Cheers,
    _

Similar Threads

  1. Replies: 4
    Last Post: 15th October 2012, 15:00
  2. mdi area and subwindow
    By sajis997 in forum Qt Programming
    Replies: 1
    Last Post: 5th February 2012, 15:51
  3. QWidget in a subwindow
    By blackhole in forum Newbie
    Replies: 4
    Last Post: 27th July 2011, 11:44
  4. Open subwindow
    By olidem in forum Qt Programming
    Replies: 8
    Last Post: 14th May 2009, 14:12
  5. cannot open a subwindow!
    By cbarmpar in forum Qt Programming
    Replies: 1
    Last Post: 22nd September 2008, 17:06

Tags for this Thread

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.