mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 18:29:10 +08:00
parent
cff6ae32a7
commit
7922cb3034
@ -152,7 +152,30 @@ QtObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
property Component progressbar: Component{
|
property Component progressbar_regular: Component{
|
||||||
|
ProgressBarStyle {
|
||||||
|
background: Rectangle {
|
||||||
|
implicitWidth: UM.Theme.sizes.progressbar.width
|
||||||
|
implicitHeight: UM.Theme.sizes.progressbar.height
|
||||||
|
color: "transparent"
|
||||||
|
Item {
|
||||||
|
anchors.fill: parent
|
||||||
|
UM.AngledCornerRectangle {
|
||||||
|
cornerSize: UM.Theme.sizes.progressbar_control.height
|
||||||
|
color: UM.Theme.colors.progressbar_background
|
||||||
|
width: UM.Theme.sizes.progressbar.width
|
||||||
|
height: UM.Theme.sizes.progressbar.height
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
progress: UM.AngledCornerRectangle {
|
||||||
|
cornerSize: UM.Theme.sizes.progressbar_control.height
|
||||||
|
color: UM.Theme.colors.progressbar_control
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
property Component progressbar_indeterminate: Component{
|
||||||
ProgressBarStyle {
|
ProgressBarStyle {
|
||||||
background: UM.AngledCornerRectangle {
|
background: UM.AngledCornerRectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
@ -168,7 +191,6 @@ QtObject {
|
|||||||
color: UM.Theme.colors.progressbar_background
|
color: UM.Theme.colors.progressbar_background
|
||||||
Item {
|
Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: UM.Theme.sizes.progressbar_margin.width
|
|
||||||
visible: control.indeterminate
|
visible: control.indeterminate
|
||||||
Row {
|
Row {
|
||||||
Repeater {
|
Repeater {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user