Show progress bar percentage

This commit is contained in:
ItsDrike 2025-02-26 15:24:58 +01:00
parent 767f706fea
commit 48ddf3d5ae
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -140,12 +140,24 @@ ApplicationWindow {
font.pixelSize: 14
}
ProgressBar {
Item {
Layout.fillWidth: true
from: 0
Layout.preferredHeight: 25
ProgressBar {
anchors.fill: parent
to: 100
value: factorizationController.progress
}
Text {
text: factorizationController.progress.toFixed(0) + "%"
anchors.centerIn: parent
font.pixelSize: 16
color: "black"
font.bold: true
}
}
}
}