diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-06-16 14:55:00 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-06-23 17:51:53 +0000 |
commit | 8e147d3a5acad2aaedd03103340854e088f2029a (patch) | |
tree | 5dc2ba5c450a5544eb4ba1c468e12b3f774a7311 /src/quicktemplates2/qquickdrawer_p_p.h | |
parent | 83c31defc6a8dce29073f626aa2aaf7b26e4f029 (diff) |
Move visual overlay background management to QQuickPopup
During the early days, there was only one visual overlay background
dimmer, so QQuickOverlay was the natural choice to manage it. It was
soon realized that multiple modal popups and drawers needed each their
own background dimming. Now the implementation becomes simpler when
each popup manages its own background dimming. This paves the road for
the upcoming changes making it possible to provide background dimming
without ApplicationWindow.
Task-number: QTBUG-61336
Change-Id: I621db4efe4aa74c147f81f7aee8affebddb00d49
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickdrawer_p_p.h')
-rw-r--r-- | src/quicktemplates2/qquickdrawer_p_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickdrawer_p_p.h b/src/quicktemplates2/qquickdrawer_p_p.h index 92de9010..72a83343 100644 --- a/src/quicktemplates2/qquickdrawer_p_p.h +++ b/src/quicktemplates2/qquickdrawer_p_p.h @@ -70,6 +70,8 @@ public: qreal positionAt(const QPointF &point) const; void reposition() override; + void showOverlay() override; + void hideOverlay() override; void resizeOverlay() override; bool startDrag(QEvent *event); |