Unsolved How to get cartesian coordinates about element inside of ColumnLayout
-
Having a ColumnLayout that have inside 4 different items, positioned using Layout, how can I get cartesian coordinates from one of those item?
Example:
import QtQuick 2.11 import QtQuick.Layouts 1.3 ColumnLayout { spacing: 0 Layout.topMargin: 10 Layout.bottomMargin: 10 Image { id: 'item1' Layout.alignment: Qt.AlignHCenter sourceSize: Qt.size(204, 96) } Text { id: 'item2' Layout.topMargin: 15 Layout.fillWidth: true horizontalAlignment: Text.AlignHCenter text: "hello" } Text { id: 'item3' Layout.alignment: Qt.AlignHCenter text: "world" } }
What is the position based in cartesian coordinates of element with id "item3"? How to get that?