You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

110 lines
1.7 KiB

10 years ago
import QtQuick 2.2
import QtQuick.Controls 1.1
import QtQuick.Layouts 1.0
import QtQuick.Controls.Styles 1.1
10 years ago
ColumnLayout {
property string currentStep
property string mem
property string stepCost
property string gasSpent
spacing: 0
RowLayout {
width: parent.width
height: parent.height / 4
Rectangle {
width: parent.width / 2
height: parent.height
color: "#e5e5e5"
Text
{
font.pixelSize: 12
anchors.centerIn: parent
color: "#a2a2a2"
text: qsTr("Current step")
font.family: "Sans Serif"
}
}
Text
{
font.pixelSize: 13
id: currentStepValue
text: currentStep
}
}
10 years ago
10 years ago
RowLayout {
width: parent.width
height: parent.height / 4
Rectangle {
width: parent.width / 2
height: parent.height
color: "#e5e5e5"
Text
{
font.pixelSize: 12
anchors.centerIn: parent
color: "#a2a2a2"
text: qsTr("Adding memory")
font.family: "Sans Serif"
}
}
10 years ago
10 years ago
Text
{
font.pixelSize: 13
id: memValue
text: mem
}
}
10 years ago
10 years ago
RowLayout {
width: parent.width
height: parent.height / 4
Rectangle {
width: parent.width / 2
height: parent.height
color: "#e5e5e5"
Text
{
font.pixelSize: 12
anchors.centerIn: parent
color: "#a2a2a2"
text: qsTr("Step cost")
font.family: "Sans Serif"
}
}
Text
{
font.pixelSize: 13
id: stepCostValue
text: stepCost
}
}
10 years ago
10 years ago
RowLayout {
width: parent.width
height: parent.height / 4
Rectangle {
width: parent.width / 2
height: parent.height
color: "#e5e5e5"
Text
{
font.pixelSize: 12
anchors.centerIn: parent
color: "#a2a2a2"
text: qsTr("Total gas spent")
font.family: "Sans Serif"
}
}
Text
{
font.pixelSize: 13
id: gasSpentValue
text: gasSpent
}
}
10 years ago
}
10 years ago