diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-04-14 12:45:45 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-04-18 15:09:59 +0000 |
commit | e64e38ea8cfee1910854ba694540ca94b66ee6ed (patch) | |
tree | c770b2da2ba82d3db860eaa4cbb0e1c84eb75b7e | |
parent | a189554414f90e43aeca9ef2e209599824773ac0 (diff) | |
download | qtdoc-e64e38ea8cfee1910854ba694540ca94b66ee6ed.tar.gz |
Fix section levels in Qt for macOS Specific Issues
The \section2 parts had no relation to the Aqua \section1.
Change-Id: I07fa543cb626076d47c8521848d816265699a50f
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit af94855f09a04aba7abba44e9719d7a4156537b8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | doc/src/platforms/macos.qdoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/platforms/macos.qdoc b/doc/src/platforms/macos.qdoc index b4091211..4f2e3498 100644 --- a/doc/src/platforms/macos.qdoc +++ b/doc/src/platforms/macos.qdoc @@ -395,7 +395,7 @@ The \l{Qt Widget Gallery} page contains sample images of applications using the \macos platform theme. - \section2 Qt Attributes for \macos + \section1 Qt Attributes for \macos The following lists a set of useful attributes that can be used to tweak applications on \macos: @@ -421,7 +421,7 @@ outside of a paint event so Qt::WA_PaintOutsidePaintEvent has no effect either. - \section2 Right Mouse Clicks + \section1 Right Mouse Clicks The QContextMenuEvent class provides right mouse click support for \macos applications. This will map to a context menu event, for example, a menu @@ -429,7 +429,7 @@ mouse clicks, and maps to a control-click with the \macos one-button mouse support. - \section2 Menu Bar + \section1 Menu Bar Qt detects menu bars and turns them into Mac native menu bars. Fitting this into existing Qt applications is normally automatic. However, if you @@ -480,7 +480,7 @@ just like the application menu items when the \c QAction has the default \l{QAction::TextHeuristicRole}{TextHeuristicRole}. - \section2 Special Keys + \section1 Special Keys To provide the expected behavior for Qt applications on \macos, the Qt::Key_Meta, Qt::MetaModifier, and Qt::META enum values @@ -488,14 +488,14 @@ and the Qt::Key_Control, Qt::ControlModifier, and Qt::CTRL enum values correspond to the Command keys. - \section2 Dock + \section1 Dock Interaction with the dock is possible. The icon can be set by calling QWindow::setWindowIcon() from the main window in your application. The setWindowIcon() call can be made as often as necessary, providing an icon that can be easily updated. - \section2 Accessiblity + \section1 Accessiblity Many users interact with \macos with assistive devices. With Qt the aim is to make this automatic in your application so that it conforms to accepted |