aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickmenu.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2018-05-02 15:16:47 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2018-05-02 14:43:07 +0000
commitf9779928136a25db8fb84db9450ae6fc4aa5bb14 (patch)
treeab3edb8923b89d9e79895255728188d92273872a /src/quicktemplates2/qquickmenu.cpp
parent5dc2465dc5d2970ef97f66bd21ccebb8792419f1 (diff)
QQuickPopup: prepare for overriding the positioner
Create the positioner lazily to make it possible for QQuickPopup sub-classes to override the positioner, and give the upcoming QQuickPopupPositioner sub-classes access to the popup instance. - QQuickDrawer has custom positioning along the window edges - QQuickMenu has custom positioning for cascading sub-menus - in the future, native menus, native tooltips, and top-level popups/dialogs will also need different positioners. Change-Id: I7c3ac2c38b00ef92410b2cdf4e51fa974efb534f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickmenu.cpp')
0 files changed, 0 insertions, 0 deletions