mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Add 'plugins/USBPrinting/' from commit 'b28ca0881a
'
git-subtree-dir: plugins/USBPrinting git-subtree-mainline:3823afd8cc
git-subtree-split:b28ca0881a
This commit is contained in:
commit
63e8cf72a3
10 changed files with 1204 additions and 0 deletions
29
plugins/USBPrinting/FirmwareUpdateWindow.qml
Normal file
29
plugins/USBPrinting/FirmwareUpdateWindow.qml
Normal file
|
@ -0,0 +1,29 @@
|
|||
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
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue