We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53f3396 commit 9dc93e9Copy full SHA for 9dc93e9
simple_screenshot.qml
@@ -9,19 +9,24 @@ Loader{
9
//Qt.quit()
10
}
11
12
- function grab(tag){
+ function testScreenshot(tag, next){
13
var path = source.toString()
14
.replace(".qml", "")
15
.replace("file://", "")
16
if(tag)
17
path = path + "-" + tag
18
console.log("grab" + path + ".png")
19
shorty.shootFull(path+ ".png")
20
+ next()
21
- function done(){
22
+ function testDone(){
23
Qt.quit()
24
25
+ function testYield()
26
+ {
27
+ }
28
onLoaded: {
29
+ console.log("load")
30
timer.start()
31
32
0 commit comments