Files
amnezia-client/client/ui/qml/PageNewServerConfiguring.qml
T

78 lines
2.0 KiB
QML
Raw Normal View History

2021-07-28 16:13:29 +07:00
import QtQuick 2.12
import QtQuick.Controls 2.12
import "./"
Item {
id: root
width: GC.screenWidth
height: GC.screenHeight
2021-08-09 00:41:52 +07:00
enabled: UiLogic.pageNewServerConfiguringEnabled
2021-07-28 16:13:29 +07:00
Text {
font.family: "Lato"
font.styleName: "normal"
font.pixelSize: 24
color: "#100A44"
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
text: qsTr("Configuring...")
x: 0
y: 35
width: 381
height: 31
}
LabelType {
x: 30
y: 90
width: 321
height: 31
text: qsTr("Please wait.")
}
LabelType {
x: 40
y: 560
width: 301
height: 41
2021-08-09 00:41:52 +07:00
text: UiLogic.labelNewServerConfiguringWaitInfoText
visible: UiLogic.labelNewServerConfiguringWaitInfoVisible
2021-07-28 16:13:29 +07:00
}
ProgressBar {
id: pr
anchors.horizontalCenter: parent.horizontalCenter
y: 510
width: 301
height: 40
from: 0
2021-08-09 00:41:52 +07:00
to: UiLogic.progressBarNewServerConfiguringMaximium
2021-07-28 16:13:29 +07:00
value: UiLogic.progressBarNewServerConfiguringValue
2021-08-09 00:41:52 +07:00
visible: UiLogic.progressBarNewServerConfiguringVisible
2021-07-28 16:13:29 +07:00
background: Rectangle {
implicitWidth: parent.width
implicitHeight: parent.height
color: "#100A44"
radius: 4
}
contentItem: Item {
implicitWidth: parent.width
implicitHeight: parent.height
Rectangle {
width: pr.visualPosition * parent.width
height: parent.height
radius: 4
color: Qt.rgba(255, 255, 255, 0.15);
}
}
LabelType {
anchors.fill: parent
2021-08-09 00:41:52 +07:00
text: UiLogic.progressBarNewServerConfiguringText
2021-07-28 16:13:29 +07:00
horizontalAlignment: Text.AlignHCenter
font.family: "Lato"
font.styleName: "normal"
font.pixelSize: 16
color: "#D4D4D4"
2021-08-09 00:41:52 +07:00
visible: UiLogic.progressBarNewServerConfiguringTextVisible
2021-07-28 16:13:29 +07:00
}
}
}