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/qquickpopup_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/qquickpopup_p_p.h')
-rw-r--r-- | src/quicktemplates2/qquickpopup_p_p.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickpopup_p_p.h b/src/quicktemplates2/qquickpopup_p_p.h index 857bb6ae..ae0bf7cd 100644 --- a/src/quicktemplates2/qquickpopup_p_p.h +++ b/src/quicktemplates2/qquickpopup_p_p.h @@ -115,6 +115,12 @@ public: #endif virtual void reposition(); + + void createOverlay(); + void destroyOverlay(); + void toggleOverlay(); + virtual void showOverlay(); + virtual void hideOverlay(); virtual void resizeOverlay(); virtual bool prepareEnterTransition(); |