ScenePosition QML Type

An attached property that contains the information about the scene position of the item. More...

Import Statement: import org.kde.kirigami

Attached Properties

  • x : double
  • y : double

Detailed Description

Its global x and y coordinates will update automatically and can be binded.

 import org.kde.kirigami as Kirigami
 Text {
    text: ScenePosition.x
 }

Attached Property Documentation

ScenePosition.x : double

The global scene X position


ScenePosition.y : double

The global scene Y position