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

Page 244

Advertising
background image

KTD-S0057-I

Page 240 Linux® Programming Examples (DebianTM)


KTAM3874/pITX Software Guide

text:

container.text

style:

Text.Raised

styleColor:

"black"

}

states:

[

State

{

name:

"Pressed"

when: mouseRegion.pressed == true

PropertyChanges

{

target:

pressed

opacity:

1

}

}

]
}

File GridDelegate.qml (header with Qt

TM

license see 'main.cpp'):

import QtQuick 1.0

Item
{
id:

wrapper

width:

GridView.view.cellWidth

height:

GridView.view.cellHeight

function photoClicked ()

{

imageDetails.photoTitle = title

imageDetails.photoTags = tags

imageDetails.photoWidth = photoWidth

imageDetails.photoHeight = photoHeight

imageDetails.photoType = photoType

imageDetails.photoAuthor = photoAuthor

imageDetails.photoDate = photoDate

imageDetails.photoUrl = url

imageDetails.rating = 0

scaleMe.state = "Details"

}

Item
{

anchors.centerIn:

parent

scale:

0.0

Behavior on scale

{

NumberAnimation

{

easing.type:

Easing.InOutQuad

}

}

id:

scaleMe

Advertising
This manual is related to the following products: