Ktam3874/pitx software guide – Kontron KTAM3874-pITX User Manual
Page 226

KTD-S0057-I
Page 222 Linux® Programming Examples (DebianTM)
KTAM3874/pITX Software Guide
doZoom (zf, clickX * zf, clickY * zf)
}
}
SequentialAnimation
{
id:
quickZoom
PropertyAction
{
target:
webView
property:
"renderingEnabled"
value:
false
}
ParallelAnimation
{
NumberAnimation
{
id: scaleAnim
target:
webView
property:
"contentsScale"
// the to property is set before calling
easing.type:
Easing.Linear
duration:
200
}
NumberAnimation
{
id:
flickVX
target:
flickable
property:
"contentX"
easing.type:
Easing.Linear
duration:
200
from: 0 // set before calling
to: 0 // set before calling
}
NumberAnimation
{
id:
flickVY
target:
flickable
property:
"contentY"
easing.type:
Easing.Linear
duration:
200
from: 0 // set before calling
to: 0 // set before calling
}
}
// Have to set the contentXY, since the above 2 size changes may have started a correction if
// contentsScale < 1.0.