Updating firmware now spawns progress window

This commit is contained in:
Jaime van Kessel 2015-04-17 09:55:18 +02:00
parent de03470dbc
commit 34aac653b4
2 changed files with 49 additions and 19 deletions

29
FirmwareUpdateWindow.qml Normal file
View 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: "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
}
}
}