diff options
author | Norwegian Rock Cat <qt-info@nokia.com> | 2009-06-30 15:30:58 (GMT) |
---|---|---|
committer | Norwegian Rock Cat <qt-info@nokia.com> | 2009-07-01 08:04:56 (GMT) |
commit | 5057276344a061b7f5553ef3ac12c513ccd9c694 (patch) | |
tree | 9b3422910b331afb62af7d5c7ce885b1180c392b | |
parent | 70137e0601549af1056082cdfbb4f141c70befab (diff) | |
download | Qt-5057276344a061b7f5553ef3ac12c513ccd9c694.zip Qt-5057276344a061b7f5553ef3ac12c513ccd9c694.tar.gz Qt-5057276344a061b7f5553ef3ac12c513ccd9c694.tar.bz2 |
Document unified toolbar change with regard to full screen change.
-rw-r--r-- | src/gui/widgets/qmainwindow.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/widgets/qmainwindow.cpp b/src/gui/widgets/qmainwindow.cpp index 0a0faa0..0c841eb 100644 --- a/src/gui/widgets/qmainwindow.cpp +++ b/src/gui/widgets/qmainwindow.cpp @@ -1419,9 +1419,10 @@ bool QMainWindow::event(QEvent *event) \i Toolbar breaks are not respected or preserved \i Any custom widgets in the toolbar will not be shown if the toolbar becomes too small (only actions will be shown) - \i If you call showFullScreen() on the main window, the QToolbar will - disappear since it is considered to be part of the title bar. You can - work around this by turning off the unified toolbar before you call + \i Before Qt 4.5, if you called showFullScreen() on the main window, the QToolbar would + disappear since it is considered to be part of the title bar. Qt 4.5 and up will now work around this by pulling + the toolbars out and back into the regular toolbar and vice versa when you swap out. + However, a good practice would be that turning off the unified toolbar before you call showFullScreen() and restoring it after you call showNormal(). \endlist |