mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 18:13:05 +02:00
Add Running Scripts dialog to UI tests
This commit is contained in:
parent
3d8df56baa
commit
b3233c2d21
1 changed files with 14 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue