Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The QMainWindow class provides a main application window. More...
#include <QMainWindow>
Inherits QWidget.
The QMainWindow class provides a main application window.
QMainWindow provides a main application window, with a menu bar, tool bars, dock windows and a status bar around a large central widget, such as a text edit, drawing canvas or QWorkspace (for MDI applications).
See also QDockWindow and QToolBar.
Constructs a QMainWindow with the given parent and the specified widget flags.
Destroys the main window.
Returns the central widget for the main window. This function returns zero if the central widget has not been set.
See also setCentralWidget().
Returns the dock window area that occupies the specified corner.
See also setCorner().
Returns the menu bar for the main window. This function creates and returns an empty menu bar if the menu bar does not exist.
See also setMenuBar().
Sets the given widget to be the main window's central widget.
Warning: This function should be called at most once for each main window instance
See also centralWidget().
Sets the given dock window area to occupy the specified corner.
See also corner().
Sets the menu bar for the main window to menubar.
See also menuBar().
Sets the status bar for the main window to statusbar.
See also statusBar().
Returns the status bar for the main window. This function creates and returns an empty status bar if the status bar does not exist.
See also setStatusBar().
Copyright © 2004 Trolltech. | Trademarks | Qt 4.0.0-tp2 |