
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 ()
}
}
Comentarios a estos manuales