Results 1 to 3 of 3

Thread: MDI windows without QWorkspace

  1. #1
    Join Date
    May 2006
    Posts
    28
    Thanks
    8
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default MDI windows without QWorkspace

    Hi,
    My app requires multiple windows like in the MDI example. However these I would like to be placed freely on the desktop, i.e. not within the workspace.

    All the QWorkspace functionality such as tile/cascade/ windowactivated etc is exactly what i need but without the limit of windows in the workspace.

    Does this mean I will have to re invent the wheel and implement my own windows handling.
    Such as :
    a list / vector of new windows,
    using window clicked on the child widget to trigger event to mainwindow - to let it know which window is focussed?
    Functions to tile windows and resize / move them.
    etc..

    Any ideas using QWorkspace or making my own design?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: MDI windows without QWorkspace

    Most of the functionality you want is already present in QApplication, so I suggest you take a closer look at it.

  3. The following user says thank you to wysota for this useful post:

    Big Duck (16th June 2006)

  4. #3
    Join Date
    May 2006
    Posts
    28
    Thanks
    8
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: MDI windows without QWorkspace

    thanks for the pointer to QApplication! It's easy to get lost with Qt sometimes and not see the bigger picture.

Similar Threads

  1. Draging a non-existing file to the Windows Desktop
    By klaus1111 in forum Qt Programming
    Replies: 13
    Last Post: 20th September 2007, 11:47
  2. Retrieving offsets of scroll in QWorkspace
    By hardgeus in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2006, 02:25
  3. Application plugin on windows
    By Eyee in forum Qt Programming
    Replies: 2
    Last Post: 22nd March 2006, 17:36
  4. Installing Qt 4.1 (open source) on Windows XP
    By katrina in forum Installation and Deployment
    Replies: 8
    Last Post: 19th February 2006, 12:26
  5. Replies: 4
    Last Post: 12th January 2006, 04:16

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.