Kontron KTAM3874-pITX Uživatelský manuál Strana 251

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 293
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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"
}
}
Zobrazit stránku 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 292 293

Komentáře k této Příručce

Žádné komentáře