Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
Qt
QtDoc
Commits
ef5393f0
Commit
ef5393f0
authored
6 years ago
by
Qt Forward Merge Bot
Browse files
Options
Download
Plain Diff
Merge remote-tracking branch 'origin/5.12' into dev
Change-Id: Ia1f5e142e85bdfb4312917b1fba54283f0547984
parents
483b1ca0
10b3f2c1
dev
5.13
5.13.0
5.13.1
5.13.2
5.14
5.14.0
5.14.1
5.14.2
5.15
5.15.0
5.15.1
5.15.2
6.0
6.0.0
6.1
6.1.0
6.1.1
6.1.2
6.1.3
6.2
6.2.0
6.2.1
6.2.2
v5.15.0-alpha1
v5.14.1
v5.14.0
v5.14.0-rc2
v5.14.0-rc1
v5.14.0-beta3
v5.14.0-beta2
v5.14.0-beta1
v5.14.0-alpha1
v5.13.2
v5.13.1
v5.13.0
v5.13.0-rc3
v5.13.0-rc2
v5.13.0-rc1
v5.13.0-beta4
v5.13.0-beta3
v5.13.0-beta2
v5.13.0-beta1
v5.13.0-alpha1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/platforms/macos.qdoc
+7
-1
doc/src/platforms/macos.qdoc
with
7 additions
and
1 deletion
doc/src/platforms/macos.qdoc
+
7
−
1
View file @
ef5393f0
...
...
@@ -446,7 +446,7 @@
\endlist
These tests are followed all the way up the parent window chain
until one of the above rules is satis
i
fed. If all else fails, a
until one of the above rules is satisf
i
ed. If all else fails, a
default menu bar will be created. The default menu bar on
Qt is an empty menu bar. However, you can create a different
default menu bar by creating a parentless QMenuBar. The first one
...
...
@@ -735,6 +735,12 @@
and QMenu::aboutToHide() signals to keep track of menu visibility;
these provide a solution that should work on all platforms
supported by Qt.
\li By default, Qt creates a native \b Quit menu item that will react
to the \c {CMD+Q} shortcut. Creating a QAction for the QAction::QuitRole
role will replace that menu item. Therefore, the replacement action
should be connected to either the QCoreApplication::quit slot, or a
custom slot that stops the application.
\endlist
\section2 Native Widgets
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets