From f4daf5f7d9cd824096c0f0957000138f2fb2f537 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 5 Mar 2014 20:58:42 +0100 Subject: [PATCH] export location --- src/declarativeimports/plasmacomponents/qml/Dialog.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/declarativeimports/plasmacomponents/qml/Dialog.qml b/src/declarativeimports/plasmacomponents/qml/Dialog.qml index cd3f9b5fc..32078b90f 100644 --- a/src/declarativeimports/plasmacomponents/qml/Dialog.qml +++ b/src/declarativeimports/plasmacomponents/qml/Dialog.qml @@ -100,6 +100,11 @@ Item { property alias privateTitleHeight: titleBar.height property alias privateButtonsHeight: buttonItem.height + /** + * Hint on where to display the dialog in relation to visualParent + */ + property int location: PlasmaCore.Types.Floating + /** * This signal is emitted when the user accepts the dialog's request or the * accept() method is called. @@ -249,7 +254,7 @@ Item { id: coreDialog //windowFlags: Qt.Popup visualParent: root.visualParent -// state: "Hidden" + location: root.location visible: false onVisibleChanged: { if (visible) {