|
@@ -22,7 +22,7 @@ Item
|
|
width: childrenRect.width
|
|
width: childrenRect.width
|
|
height: 18 * screenScaleFactor // TODO: Theme!
|
|
height: 18 * screenScaleFactor // TODO: Theme!
|
|
|
|
|
|
- ProgressBar
|
|
|
|
|
|
+ UM.ProgressBar
|
|
{
|
|
{
|
|
id: progressBar
|
|
id: progressBar
|
|
anchors
|
|
anchors
|
|
@@ -30,22 +30,6 @@ Item
|
|
verticalCenter: parent.verticalCenter
|
|
verticalCenter: parent.verticalCenter
|
|
}
|
|
}
|
|
value: printJob ? printJob.progress : 0
|
|
value: printJob ? printJob.progress : 0
|
|
- style: ProgressBarStyle
|
|
|
|
- {
|
|
|
|
- background: Rectangle
|
|
|
|
- {
|
|
|
|
- color: UM.Theme.getColor("monitor_progress_bar_empty")
|
|
|
|
- implicitHeight: visible ? 12 * screenScaleFactor : 0 // TODO: Theme!
|
|
|
|
- implicitWidth: 180 * screenScaleFactor // TODO: Theme!
|
|
|
|
- radius: 2 * screenScaleFactor // TODO: Theme!
|
|
|
|
- }
|
|
|
|
- progress: Rectangle
|
|
|
|
- {
|
|
|
|
- id: progressItem;
|
|
|
|
- color: printJob && printJob.isActive ? UM.Theme.getColor("monitor_progress_bar_fill") : UM.Theme.getColor("monitor_progress_bar_deactive")
|
|
|
|
- radius: 2 * screenScaleFactor // TODO: Theme!
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
Label
|
|
Label
|
|
{
|
|
{
|