Kontron KTAM3874-pITX Manual de usuario Pagina 251

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 293
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 250
KTD-S0057-I Page 247 Linux® Programming Examples (DebianTM)
KTAM3874/pITX Software Guide
anchors
{
bottom: parent.bottom
bottomMargin: 65
left: parent.left
leftMargin: 25
right: parent.right
rightMargin: 25
}
onValueChanged:
{
if (bigImage.width * value > flickable.width)
{
var xoff = (flickable.width / 2 + flickable.contentX) * value / prevScale
flickable.contentX = xoff - flickable.width / 2
}
if (bigImage.height * value > flickable.height)
{
var yoff = (flickable.height / 2 + flickable.contentY) * value / prevScale
flickable.contentY = yoff - flickable.height / 2
}
prevScale = value
}
}
}
states: State
{
name: "Back"
PropertyChanges
{
target: itemRotation
angle: 180
}
PropertyChanges
{
target: toolBar
button2Visible: false
}
PropertyChanges
{
target: toolBar
button1Label: "Back"
}
}
Vista de pagina 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 292 293

Comentarios a estos manuales

Sin comentarios