X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=qml%2FQZeeControl%2FMainPage.qml;h=b86c1b70997334d6d8b025c34ad941a46b799291;hb=396f18e0f2ee2e7b600673ec0f2a826b9b106c75;hp=ed1bb3d5765a304e692e81c6d0c1e17a0b264d59;hpb=045af7aab86e74ef8d0aed3c9860ab03de045819;p=qzeecontrol diff --git a/qml/QZeeControl/MainPage.qml b/qml/QZeeControl/MainPage.qml index ed1bb3d..b86c1b7 100644 --- a/qml/QZeeControl/MainPage.qml +++ b/qml/QZeeControl/MainPage.qml @@ -88,23 +88,18 @@ Page { width: 256 height: 256 + } - Rectangle{ - id: cursor - width: 10 - height: 10 - color: "red" - z: 32 - - x: moveArea.x + (moveArea.width * 0.5) + btConn.x - y: moveArea.y + (moveArea.height * 0.5) + btConn.y + Rectangle{ + id: cursorRectangle + width: 10 + height: 10 + color: "red" - onXChanged: console.log("New x: " + x) - onYChanged: console.log("New y: " + y) - } + x: moveArea.x + (moveArea.width * 0.5) + btConn.x - (cursorRectangle.width * 0.5) + y: moveArea.y + (moveArea.height * 0.5) + btConn.y - (cursorRectangle.height * 0.5) } - BluetoothDiscoveryModel{ id: btDiscovery