Commit 64382aa7 authored by Jens Bache-Wiig's avatar Jens Bache-Wiig Committed by The Qt Project
Browse files

Add statusbar to testbench


Change-Id: I9ba973d5415231380d9cff2ecb94e1861ebc3771
Reviewed-by: default avatarJens Bache-Wiig <jens.bache-wiig@digia.com>
parent cf6a0a15
No related merge requests found
Showing with 13 additions and 2 deletions
......@@ -68,7 +68,7 @@ import QtDesktop.Private 1.0
Item {
id: statusbar
implicitHeight: 20
implicitWidth: 300
implicitWidth: parent ? parent.width : 300
StyleItem {
id: style
anchors.fill: parent
......
......@@ -73,7 +73,7 @@ Item {
width: toolbar.width
height: toolbar.height
implicitHeight: toolbar.implicitHeight
implicitWidth: 300
implicitWidth: parent ? parent.width : 300
Accessible.role: Accessible.ToolBar
StyleItem {
id: toolbar
......
......@@ -73,6 +73,17 @@ ApplicationWindow {
}
}
}
statusBar: StatusBar {
Row {
anchors.left: parent.left
anchors.leftMargin: 8
anchors.verticalCenter: parent.verticalCenter
Label { text: "X: " + topLeftHandle.x ; width: 50}
Label { text: "Y: " + topLeftHandle.y ; width: 50}
Label { text: "Width: " + container.width ; width: 70}
Label { text: "Height: "+container.height ; width: 70}
}
}
SplitterRow {
anchors.fill: parent
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment