Sections

Window Menu

The Window Menu component provides a popup menu that contains a list of windows that are currently displayed in a QWorkspace.

 

The Window Menu component provides MDI applications with a menu entry window that shows the available windows and which window is currently active. It also has entries to close all windows, to cascade them, and other common functionality.

 

Documentation:

Classes:

Tested on:

  • Qt 4.4, 4.5 / Windows XP / MSVC.NET 2005
  • Qt 4.4, 4.5 / Linux / gcc
  • Qt 4.4, 4.5 / MacOS X 10.5 / gcc

Unsupported platforms:

Only the tested platforms are supported, however the classes should be platform independent and are likely to work on the platforms supported by Qt.

Download Commercial Edition:

Only available for Qt Solutions license holders with a valid Support and Maintenance agreement (authentication required).

Download Open Source Edition (LGPL):

Changes:

  • 2.2: LGPL release.
  • 2.2: Redesigned and reimplemented. Main visible changes:
  • 2.2: - Now works with QMdiArea instead of the obsolete QWorkspace
  • 2.2: - Next and Previous standard navigation items added
  • 2.2: - Easier to customize. Supports subclassing.
  • 2.2: - Much improved example app; simple example added.
  • 2.2: - Constructor takes only parent parameter, as by convention. The QMdiArea object is specified in new attachToMdiArea() method instead.
  • 2.2: - The redundant addTo() method is obsolete
  • 2.2: - Direct access to the standard actions is provided for customization. This obsoletes setCloseIcon() et al.
  • 2.2: - The addWindow() and setEnabled() slots are no longer meaningful and have been removed
  • 2.1: Allow icons to be set for all menu entries
  • 2.1: Do not restore (un-maximise) maximized windows when selected in menu
  • 2.0: Latest version ported to Qt 4.0
Document Actions