summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-04-14 12:45:45 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-04-18 13:34:32 +0200
commitaf94855f09a04aba7abba44e9719d7a4156537b8 (patch)
tree5aa39c6802494225508c642922e1eb4feaa46de9
parentdd1c006104533b2c1c8500675959e5c4c3cf9b95 (diff)
downloadqtdoc-af94855f09a04aba7abba44e9719d7a4156537b8.tar.gz
Fix section levels in Qt for macOS Specific Issues
The \section2 parts had no relation to the Aqua \section1. Pick-to: 6.5 Change-Id: I07fa543cb626076d47c8521848d816265699a50f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
-rw-r--r--doc/src/platforms/macos.qdoc12
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