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

Page 252

Advertising
background image

KTD-S0057-I

Page 248 Linux® Programming Examples (DebianTM)


KTAM3874/pITX Software Guide


transitions:

Transition

{

SequentialAnimation

{

PropertyAction

{

target:

bigImage

property:

"smooth"

value:

false

}

NumberAnimation

{

easing.type:

Easing.InOutQuad

properties:

"angle"

duration:

500

}

PropertyAction

{

target:

bigImage

property:

"smooth"

value:

!flickable.movingVertically

}

}

}
}


File ListDelegate.qml (header with Qt

TM

license see 'main.cpp'):

import QtQuick 1.0

Component
{
Item
{

id:

wrapper

width:

wrapper.ListView.view.width

height:

86

Item

{

id:

moveMe

Rectangle

{

color:

"black"

opacity: index % 2 ? 0.2 : 0.4

height:

84

width:

wrapper.width

y:

1

}

Advertising
This manual is related to the following products: