diff options
| author | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2024-09-24 15:09:51 +0200 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-09-25 08:38:32 +0000 |
| commit | b9d07f13f71f491591457b781ad22ab5c9973ae8 (patch) | |
| tree | 37d7bedeada8cbc808906086ccda7b5e2a256a1f | |
| parent | f993163767938ad48986bf4bb5f254fcf1c27b73 (diff) | |
doc: fix some incorrect information about QQuickPopup::popupType
Since we ran out of time, we're not going to make out styles bind on
popupType for 6.8.
Remove the claim that we are.
Also mention that we might make that decision later on.
Change-Id: Iad0b8dedff0b66e75adb5b80e6bbd5d087ae5d66
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
(cherry picked from commit a24914067d5495c7baebdb7bfacbe53cbab91421)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 556f6cc7ba73d51f9a6a7e13224bbe84e054521a)
| -rw-r--r-- | src/quicktemplates/qquickpopup.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/quicktemplates/qquickpopup.cpp b/src/quicktemplates/qquickpopup.cpp index 1e127fe225..85062f44fd 100644 --- a/src/quicktemplates/qquickpopup.cpp +++ b/src/quicktemplates/qquickpopup.cpp @@ -2929,11 +2929,10 @@ void QQuickPopup::resetBottomInset() well. And if the menu is a sub-menu inside another menu, the parent (or root) menu will decide the type. - The default value is style-dependent, and can change in future versions of Qt. - The \l {macOS Style}, for example, sets \c {Menu.popupType} to be \c Popup.Native, while - the \l{Imagine Style} uses \c Popup.Window (which is the default when the style doesn't - set a popup type). If you always want to use native menus for all styles on macOS, for - example, you can do: + The default value is usually \c Popup.Item, with some exceptions, mentioned above. + This might change in future versions of Qt, for certain styles and platforms that benefit + from using other popup types. + If you always want to use native menus for all styles on macOS, for example, you can do: \code Menu { |
