export location

This commit is contained in:
Marco Martin 2014-03-05 20:58:42 +01:00
parent 6fe147f4d7
commit f4daf5f7d9

View File

@ -100,6 +100,11 @@ Item {
property alias privateTitleHeight: titleBar.height property alias privateTitleHeight: titleBar.height
property alias privateButtonsHeight: buttonItem.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 * This signal is emitted when the user accepts the dialog's request or the
* accept() method is called. * accept() method is called.
@ -249,7 +254,7 @@ Item {
id: coreDialog id: coreDialog
//windowFlags: Qt.Popup //windowFlags: Qt.Popup
visualParent: root.visualParent visualParent: root.visualParent
// state: "Hidden" location: root.location
visible: false visible: false
onVisibleChanged: { onVisibleChanged: {
if (visible) { if (visible) {