diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2016-11-08 16:26:48 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2016-11-08 15:29:23 +0000 |
commit | 95d10ba1b2f5fd2662c3400293f3837266a92a4e (patch) | |
tree | bc8ed28bf3681ccc1a399510314cef48ff1029c3 /src/quicktemplates2/qquickpopup.cpp | |
parent | d59476a0bb93c806c5dfb8bf998b50025ed4f852 (diff) |
Doc: Popup.CloseOnRelease* policies only work with modal popups
Non-modal popups don't accept the press event because they don't
want to block the press.
Change-Id: If4e39fe655401e55949e73c40e93626b84d4878a
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickpopup.cpp')
-rw-r--r-- | src/quicktemplates2/qquickpopup.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickpopup.cpp b/src/quicktemplates2/qquickpopup.cpp index 2982fbd3..bdcfe6ca 100644 --- a/src/quicktemplates2/qquickpopup.cpp +++ b/src/quicktemplates2/qquickpopup.cpp @@ -2007,6 +2007,10 @@ void QQuickPopup::setScale(qreal scale) has active focus. The default value is \c {Popup.CloseOnEscape | Popup.CloseOnPressOutside}. + + \note There is a known limitation that the \c Popup.CloseOnReleaseOutside + and \c Popup.CloseOnReleaseOutsideParent policies only work with + \l modal popups. */ QQuickPopup::ClosePolicy QQuickPopup::closePolicy() const { |