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/qquickoverlay_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/qquickoverlay_p_p.h')
-rw-r--r-- | src/quicktemplates2/qquickoverlay_p_p.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/quicktemplates2/qquickoverlay_p_p.h b/src/quicktemplates2/qquickoverlay_p_p.h index 05177a49..772b9b09 100644 --- a/src/quicktemplates2/qquickoverlay_p_p.h +++ b/src/quicktemplates2/qquickoverlay_p_p.h @@ -84,13 +84,6 @@ public: void removePopup(QQuickPopup *popup); void setMouseGrabberPopup(QQuickPopup *popup); - void popupAboutToShow(); - void popupAboutToHide(); - - void createOverlay(QQuickPopup *popup); - void destroyOverlay(QQuickPopup *popup); - void toggleOverlay(); - QVector<QQuickPopup *> stackingOrderPopups() const; QVector<QQuickDrawer *> stackingOrderDrawers() const; |