doberkofler
14th April 2010, 07:04
I'm in the process of migrating a multi-platform application to Qt4 I would need to provide the concept of a "Task Window" (conceptually this might be what Qt calls QMainWindow) as follows:
1) The task window is a visible window that provides an enclosure of all application windows (not on the Macintosh platform where it the task window itself is virtual/invisible and only shows the application menu bar)
2) The task window has the application menu bar and (eventually) a status bar but no toolbar
3) Using the menu bar of the task window the user now opens application windows that will be enclosed in the task window but can also have their own menu bar, toolbar and status bar
4) The task window keeps track of the applications windows and offers a menu showing all open application windows
5) When closing the task window all application windows should be notified and closed (if allowed by the application window)
I'm struggling to understand how to be model this in Qt and it seems as if what I need is somewhere between the concept of MDI and SDI. Any help or comments is appreciated.
1) The task window is a visible window that provides an enclosure of all application windows (not on the Macintosh platform where it the task window itself is virtual/invisible and only shows the application menu bar)
2) The task window has the application menu bar and (eventually) a status bar but no toolbar
3) Using the menu bar of the task window the user now opens application windows that will be enclosed in the task window but can also have their own menu bar, toolbar and status bar
4) The task window keeps track of the applications windows and offers a menu showing all open application windows
5) When closing the task window all application windows should be notified and closed (if allowed by the application window)
I'm struggling to understand how to be model this in Qt and it seems as if what I need is somewhere between the concept of MDI and SDI. Any help or comments is appreciated.