From 988741d418672be44d6ef30f5412fcd83f6ba978 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 10 Apr 2015 12:01:06 +0200 Subject: [PATCH] added missing qml --- ControlWindow.qml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 ControlWindow.qml diff --git a/ControlWindow.qml b/ControlWindow.qml new file mode 100644 index 0000000000..944c48a14d --- /dev/null +++ b/ControlWindow.qml @@ -0,0 +1,42 @@ +import QtQuick 2.1 +import QtQuick.Controls 1.1 +import QtQuick.Layouts 1.1 +Rectangle +{ + width: 300; height: 100 + ColumnLayout + { + Text + { + text: "Hello world!" + color: "blue" + } + RowLayout + { + Button + { + text: "Print" + onClicked: { manager.startPrint() } + } + Button + { + text: "Cancel" + onClicked: { manager.cancelPrint() } + } + } + 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 + } + } +} \ No newline at end of file