Results 1 to 3 of 3

Thread: positioning sub windows in an mdiarea

  1. #1
    Join Date
    Aug 2009
    Posts
    81
    Platforms
    MacOS X Windows

    Default positioning sub windows in an mdiarea

    i am using an mdiarea and i do not seem to be able to control the size and the position of the sub window when they are open.

    It seems the mdiarea is tiling or cascading them for me automatically but i want to control that myself.

    How i can do that and what event should i use to set the sub window geometry

    Thanks

  2. #2
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: positioning sub windows in an mdiarea

    The subwindows (QMdiSubWindow?) should have a setGeometry() method.
    Create, set geometry and show. In this order.

  3. #3
    Join Date
    Aug 2009
    Posts
    81
    Platforms
    MacOS X Windows

    Default Re: positioning sub windows in an mdiarea

    that is what i exactly what i tried... but it is not holding my setGeometry command

Similar Threads

  1. I need example for Windows Mobile working program
    By Mr.QT in forum Qt Programming
    Replies: 3
    Last Post: 22nd June 2009, 10:19
  2. Qt Jambi, deploying app on Mac & Windows fails
    By ChrisColon in forum Installation and Deployment
    Replies: 2
    Last Post: 16th February 2009, 23:05
  3. Replies: 5
    Last Post: 15th January 2009, 10:03
  4. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 02:00
  5. Qt and windows vista
    By munna in forum General Discussion
    Replies: 8
    Last Post: 11th January 2006, 23:33

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.