export location
This commit is contained in:
parent
6fe147f4d7
commit
f4daf5f7d9
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user