mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-03 08:15:12 +08:00

git-subtree-dir: plugins/USBPrinting git-subtree-mainline: 3823afd8cca1fe92b69082d51d0d50946b904e91 git-subtree-split: b28ca0881a6c2564f5447476f7b21de5645c10bd
29 lines
743 B
QML
29 lines
743 B
QML
import QtQuick 2.1
|
|
import QtQuick.Controls 1.1
|
|
import QtQuick.Layouts 1.1
|
|
Rectangle
|
|
{
|
|
width: 300; height: 100
|
|
ColumnLayout
|
|
{
|
|
|
|
Text
|
|
{
|
|
text: manager.progress == 0 ? "Starting firmware update, may take a while.": manager.progress > 99 ? "Firmware update completed.": "Updating firmware."
|
|
}
|
|
ProgressBar
|
|
{
|
|
id: prog;
|
|
value: manager.progress
|
|
minimumValue: 0;
|
|
maximumValue: 100;
|
|
Layout.maximumWidth:parent.width
|
|
Layout.preferredWidth:230
|
|
Layout.preferredHeight:25
|
|
Layout.minimumWidth:230
|
|
Layout.minimumHeight:25
|
|
width: 230
|
|
height: 25
|
|
}
|
|
}
|
|
} |