Results 1 to 2 of 2

Thread: QMDI - custom layout of QMdiSubWindows

  1. #1
    Join Date
    Feb 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question QMDI - custom layout of QMdiSubWindows

    Hello all,

    I am using Qt 4 for X11 and I have an application that has a QMdiArea widget that maintains a list of QMdiSubWindows widgets. It can tile those, cascade those. BUT I want a custom layout of them like setting geometry, putting the windows where I want , saving/restoring positions etc.

    I do not want to use QWorksSpace because it says it is an OBSOLETE class in the documentation.

    Is any way to extend this functionality for QMdiArea class?

    Any help/suggestions will be appreciated

    Sincerely,
    Adonis Nechita

  2. #2
    Join Date
    Aug 2009
    Location
    coimbatore,India
    Posts
    314
    Thanks
    37
    Thanked 47 Times in 43 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QMDI - custom layout of QMdiSubWindows

    BUT I want a custom layout of them like setting geometry, putting the windows where I want , saving/restoring positions etc.
    Same like other windows.
    subwindow->setFixedSize(SWID,SHGT); //size
    subwindow->move(QPoint(x,y)); //geometry

    hope it helps
    Bala

Similar Threads

  1. QMdiSubWindows - Deleting
    By Kerubu in forum Newbie
    Replies: 1
    Last Post: 25th August 2009, 05:23
  2. Weird behaviour with QMdiSubWindows in a QMdiArea?
    By qt_noob in forum Qt Programming
    Replies: 2
    Last Post: 4th April 2009, 16:48
  3. Custom widgets in layout
    By Palmik in forum Newbie
    Replies: 11
    Last Post: 26th January 2009, 12:08
  4. QWorkspace to QMdi
    By steg90 in forum Qt Programming
    Replies: 1
    Last Post: 24th May 2007, 12:44
  5. Custom plugin for a layout
    By cocheci in forum Qt Tools
    Replies: 2
    Last Post: 12th June 2006, 18:36

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.