1
mirror of https://github.com/monero-project/monero-gui synced 2025-01-24 10:27:27 +01:00

simplified window v3

This commit is contained in:
marcin 2014-07-19 17:11:16 +02:00
parent 58fb6d055b
commit 2541485881
3 changed files with 9 additions and 8 deletions

View File

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

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject> <!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> <qtcreator>
<data> <data>
<variable>ProjectExplorer.Project.ActiveTarget</variable> <variable>ProjectExplorer.Project.ActiveTarget</variable>

View File

@ -61,7 +61,7 @@ Item {
font.letterSpacing: -1 font.letterSpacing: -1
font.bold: true font.bold: true
color: "#000000" 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") text: qsTr("LOW")
} }
@ -72,7 +72,7 @@ Item {
font.letterSpacing: -1 font.letterSpacing: -1
font.bold: true font.bold: true
color: "#000000" 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") text: qsTr("MEDIUM")
} }
@ -83,7 +83,7 @@ Item {
font.letterSpacing: -1 font.letterSpacing: -1
font.bold: true font.bold: true
color: "#000000" 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") text: qsTr("HIGH")
} }
@ -121,7 +121,7 @@ Item {
Row { Row {
id: row2 id: row2
spacing: ((bar.width - 8) / 2) / 4 spacing: ((bar.width - 8) / 2.23) / 4
Repeater { Repeater {
model: 4 model: 4
@ -141,7 +141,7 @@ Item {
Row { Row {
id: row1 id: row1
spacing: ((bar.width - 8) / 2) / 10 spacing: ((bar.width - 8) / 2.23) / 10
Repeater { Repeater {
model: 10 model: 10