Results 1 to 2 of 2

Thread: QWorkspace: child window layouts?

  1. #1
    Join Date
    Jul 2007
    Posts
    25
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default QWorkspace: child window layouts?

    Hi all,

    I'm working on an application which utilizes QWorkspace( since the code is written with & for Qt 3.3) for displaying subwindow of various actions. Now there is no problem with sub window creation and closing. But when I close a child window and reopen it again, it shows up at the same location where it was created first! So if I've got 5 windows open one by one, they get placed side by side, when they're opened in a sequencial manner, and if I close the 2nd, 3rd, 4th and 5th window, and then reopen the 5th window, it shows up at the same location where it was first created, leaving a gap between the 1st window and newly created 5th window![ the code traverse through the windowList to find out the hidden window to make it visible instead of creating new instance of the window]
    Now, I want to standardize the view of the windows, and for that I want to display each window just next to the previous window(if there is any), irrespective of the fact that the instance already exists or is newly created, for the particular action.

    I hope you understood my problem over there, if not ask me for clarification. I need your help to fix this issue. Is there any way to fix the geometry of the windows made visible in the QWorkspace. Keep in mind, I'm not to upgrade from Qt3 to Qt4.

    Urgent help is appreciated

    Thanks and Regards

  2. #2
    Join Date
    Jul 2007
    Posts
    25
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QWorkspace: child window layouts?

    it seems that, there is no way around to manipulate this then?

Similar Threads

  1. connecting child to parent window...
    By sumit in forum Qt Programming
    Replies: 1
    Last Post: 19th October 2008, 21:28
  2. How to close parent window from child window?
    By montylee in forum Qt Programming
    Replies: 5
    Last Post: 14th October 2008, 11:40
  3. Set a window as child at runtime
    By sabeesh in forum Qt Programming
    Replies: 1
    Last Post: 26th November 2007, 09:30
  4. move parent window to the front.
    By hvengel in forum Qt Programming
    Replies: 4
    Last Post: 2nd February 2007, 08:41
  5. Replies: 5
    Last Post: 4th August 2006, 23:44

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.