Results 1 to 3 of 3

Thread: Second QMainwindow as Central widget of outer QMainWindow.

  1. #1
    Join Date
    Mar 2009
    Location
    delhi India
    Posts
    56
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Second QMainwindow as Central widget of outer QMainWindow.

    Hi,
    I was required to use second QMainWindow (in the form of a regular widget) as the central widget of outer MainWindow, and the MDI area as the central widget of the second QMainWindow.

    This way it would add four toolbar areas around MDI area which is my requirement....Apart from the toolbars of Outer QMainwindow.

    Though the application is working fine and I have no idea what the consequences are or how dangerous is it .

    IS IT REALLY OK TO HAVE QMAINWINDOW contained inside Another QMAINWINDOW ? .

    Any help would be appreciated .

    Thanks

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Second QMainwindow as Central widget of outer QMainWindow.

    Its Ok to have mainwindow inside mainwindow

  3. #3
    Join Date
    Mar 2009
    Location
    delhi India
    Posts
    56
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Second QMainwindow as Central widget of outer QMainWindow.

    Thanks a lot.

Similar Threads

  1. How can size of QMainWindow's central widget be managed?
    By yogeshm02 in forum Qt Programming
    Replies: 9
    Last Post: 28th March 2014, 21:12
  2. QMainWindow central widget minimum size
    By dima in forum Qt Programming
    Replies: 1
    Last Post: 9th August 2010, 07:24
  3. Replies: 2
    Last Post: 7th June 2008, 13:12
  4. paint central widget of a QMainWindow???
    By Shuchi Agrawal in forum Newbie
    Replies: 3
    Last Post: 17th January 2007, 08:02
  5. Central Widget of QMainWindow
    By sumsin in forum Qt Programming
    Replies: 3
    Last Post: 13th March 2006, 18:32

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.