diff options
author | Christoph Schleifenbaum <christoph.schleifenbaum@kdab.com> | 2012-06-01 09:16:59 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-11 11:22:07 +0200 |
commit | 2a8c423577e7d7a647e4b252010c24c8be59dfca (patch) | |
tree | 5b2b2ef6f68c30acfde6ce1dba9e555cf0c2040d /src/widgets/widgets/qmainwindow.cpp | |
parent | ee895bdbb12a230043d99a6e11bc87af53dfa130 (diff) |
Deprecate QMainWindow::unifiedTitleAndToolBarOnMac
Update documentation. Implementation is left for
now.
There is currently no replacement; once we have
that in place we'll update the docs agin to point
to it.
Change-Id: I8b4532702938398dc5b4eef5da2b3f9dfb68382f
Reviewed-by: Christoph Schleifenbaum <christoph.schleifenbaum@kdab.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'src/widgets/widgets/qmainwindow.cpp')
-rw-r--r-- | src/widgets/widgets/qmainwindow.cpp | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/src/widgets/widgets/qmainwindow.cpp b/src/widgets/widgets/qmainwindow.cpp index 4ab7210bd9..3093bdc832 100644 --- a/src/widgets/widgets/qmainwindow.cpp +++ b/src/widgets/widgets/qmainwindow.cpp @@ -1471,28 +1471,9 @@ bool QMainWindow::event(QEvent *event) \property QMainWindow::unifiedTitleAndToolBarOnMac \brief whether the window uses the unified title and toolbar look on Mac OS X \since 4.3 + \obsolete - This property is false by default and only has any effect on Mac OS X 10.4 or higher. - - If set to true, then the top toolbar area is replaced with a Carbon HIToolbar - or a Cocoa NSToolbar (depending on whether Qt was built with Carbon or Cocoa). - All toolbars in the top toolbar area and any toolbars added afterwards are - moved to that. This means a couple of things. - - \list - \li QToolBars in this toolbar area are not movable and you cannot drag other - toolbars to it - \li Toolbar breaks are not respected or preserved - \li Any custom widgets in the toolbar will not be shown if the toolbar - becomes too small (only actions will be shown) - \li 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. - \endlist - - Setting this back to false will remove these restrictions. - - The Qt::WA_MacBrushedMetal attribute takes precedence over this property. + This property is not implemented in Qt 5. Setting it has no effect. */ void QMainWindow::setUnifiedTitleAndToolBarOnMac(bool set) { |