summaryrefslogtreecommitdiff
path: root/src/controls/Styles/Desktop/MenuStyle.qml
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>2014-03-04 16:01:09 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-05 11:58:38 +0100
commitb48b2a35725209f4821349a1a8177f417307e914 (patch)
treead778bbc3ed3f3e3d8974b876bacfb201040d95f /src/controls/Styles/Desktop/MenuStyle.qml
parent9e3b84506cab89de4c34e38d1e88aaeaafefc103 (diff)
downloadqtquickcontrols-b48b2a35725209f4821349a1a8177f417307e914.tar.gz
MenuStyle: Adding missing 'submenuPopupDelay' property
This amends e88bdffe644e53912dfbce95117555cb6a87bfd2 API-wise. Change-Id: I9243aa05c3c4803e1c3ee08a761e782ee8e0841a Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/Styles/Desktop/MenuStyle.qml')
-rw-r--r--src/controls/Styles/Desktop/MenuStyle.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/Styles/Desktop/MenuStyle.qml b/src/controls/Styles/Desktop/MenuStyle.qml
index 886fed3d..6cf67b1c 100644
--- a/src/controls/Styles/Desktop/MenuStyle.qml
+++ b/src/controls/Styles/Desktop/MenuStyle.qml
@@ -49,6 +49,7 @@ Style {
property string __menuItemType: "menuitem"
property int submenuOverlap: 0
+ property int submenuPopupDelay: 0
property int __maxPopupHeight: 0
property Component frame: StyleItem {
@@ -74,6 +75,7 @@ Style {
styleRoot.padding.top = menuVMargin + menuPanelWidth
styleRoot.padding.bottom = menuVMargin + menuPanelWidth
styleRoot.submenuOverlap = 2 * menuPanelWidth
+ styleRoot.submenuPopupDelay = styleHint("submenupopupdelay")
}
// ### The Screen attached property can only be set on an Item,