Add Running Scripts dialog to UI tests

This commit is contained in:
David Rowe 2016-02-12 10:13:28 +13:00
parent 3d8df56baa
commit b3233c2d21

View file

@ -13,7 +13,7 @@ ApplicationWindow {
id: appWindow id: appWindow
visible: true visible: true
width: 1280 width: 1280
height: 720 height: 800
title: qsTr("Scratch App") title: qsTr("Scratch App")
Desktop { Desktop {
@ -36,6 +36,17 @@ ApplicationWindow {
property var tabs: []; property var tabs: [];
property var urls: []; property var urls: [];
Button {
text: "Running Scripts"
property var builder: Component {
RunningScripts { }
}
onClicked: {
var runningScripts = builder.createObject(desktop);
}
}
/* /*
Button { Button {
text: "restore all" text: "restore all"
@ -133,6 +144,7 @@ ApplicationWindow {
} }
} }
/*
Window { Window {
id: blue id: blue
closable: true closable: true
@ -157,6 +169,7 @@ ApplicationWindow {
Component.onDestruction: console.log("Blue destroyed") Component.onDestruction: console.log("Blue destroyed")
} }
} }
*/
/* /*
Window { Window {
id: green id: green