simplified window v3

pull/2/head
marcin 10 years ago
parent 58fb6d055b
commit 2541485881

@ -31,6 +31,7 @@ Rectangle {
Grid {
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
width: 256
columns: 3
Text {
@ -48,7 +49,7 @@ Rectangle {
Text {
id: balanceText
width: 100
width: 110
height: 20
font.family: "Arial"
font.pixelSize: 18
@ -86,7 +87,7 @@ Rectangle {
Text {
id: availableBalanceText
width: 100
width: 110
height: 20
font.family: "Arial"
font.pixelSize: 14

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.1.2, 2014-07-18T18:25:55. -->
<!-- Written by QtCreator 3.1.2, 2014-07-19T16:52:37. -->
<qtcreator>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>

@ -61,7 +61,7 @@ Item {
font.letterSpacing: -1
font.bold: true
color: "#000000"
x: row.x + (row.positions[0] !== undefined ? row.positions[0].currentX - 5 : 0) - width
x: row.x + (row.positions[0] !== undefined ? row.positions[0].currentX - 3 : 0) - width
text: qsTr("LOW")
}
@ -72,7 +72,7 @@ Item {
font.letterSpacing: -1
font.bold: true
color: "#000000"
x: row.x + (row.positions[4] !== undefined ? row.positions[4].currentX - 5 : 0) - width
x: row.x + (row.positions[4] !== undefined ? row.positions[4].currentX - 3 : 0) - width
text: qsTr("MEDIUM")
}
@ -83,7 +83,7 @@ Item {
font.letterSpacing: -1
font.bold: true
color: "#000000"
x: row.x + (row.positions[13] !== undefined ? row.positions[13].currentX - 5 : 0) - width
x: row.x + (row.positions[13] !== undefined ? row.positions[13].currentX - 3 : 0) - width
text: qsTr("HIGH")
}
@ -121,7 +121,7 @@ Item {
Row {
id: row2
spacing: ((bar.width - 8) / 2) / 4
spacing: ((bar.width - 8) / 2.23) / 4
Repeater {
model: 4
@ -141,7 +141,7 @@ Item {
Row {
id: row1
spacing: ((bar.width - 8) / 2) / 10
spacing: ((bar.width - 8) / 2.23) / 10
Repeater {
model: 10