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

Page 242

Advertising
background image

KTD-S0057-I

Page 238 Linux® Programming Examples (DebianTM)


KTAM3874/pITX Software Guide


Connections

{

target:

imageDetails

onClosed:

{

if (background.state == "DetailedView")

{

background.state

=

''

imageDetails.photoUrl

=

""

}

}

}

states:

State

{

name:

"DetailedView"

PropertyChanges

{

target:

views

x: -parent.width

}

PropertyChanges

{

target:

toolBar

button1Label:

"View..."

}

PropertyChanges

{

target:

toolBar

onButton1Clicked:
if

(imageDetails.state=='')

imageDetails.state='Back'

else

imageDetails.state=''

}

PropertyChanges

{

target:

toolBar

button2Label:

"Back"

}

PropertyChanges

{

target:

toolBar

onButton2Clicked:

imageDetails.closed

()

}

}

Advertising
This manual is related to the following products: