Sign in
third-party-mirror
/
orbit
/
refs/heads/master
/
.
/
qt-everywhere-src-5.15.1
/
qtdeclarative
/
tests
/
auto
/
quick
/
qquickwindow
/
data
/
grabContentItemToImage.qml
blob: 9086e0cc849bc2b0e7466a21e1ec510afd1c9737 [
file
] [
log
] [
blame
]
import
QtQuick
2.0
import
QtQuick
.
Window
2.2
as
Window
Window
.
Window
{
visible
:
true
width
:
100
height
:
100
property
int
success
:
0
function
grabContentItemToImage
()
{
contentItem
.
grabToImage
(
function
(
image
)
{
success
=
1
})
}
}