Kontron KTAM3874-pITX Manual de usuario Pagina 254

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 293
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 253
KTD-S0057-I Page 250 Linux® Programming Examples (DebianTM)
KTAM3874/pITX Software Guide
Text
{
text: photoDate
width: parent.width
font.pixelSize: 14
elide: Text.ElideRight
color: "#cccccc"
style: Text.Raised
styleColor: "black"
}
}
}
}
}
File Progress.qml
(header with Qt
TM
license see 'main.cpp'):
import QtQuick 1.0
Item
{
property variant progress: 0
Rectangle
{
anchors.fill: parent
smooth: true
border.color: "white"
border.width: 0
radius: height / 2 - 2
gradient: Gradient
{
GradientStop
{
position: 0
color: "#66343434"
}
GradientStop
{
position: 1.0
color: "#66000000"
}
}
}
Rectangle
{
y: 2
height: parent.height - 4
x: 2
width: Math.max (parent.width * progress - 4, 0)
opacity: width < 1 ? 0 : 1
smooth: true
Vista de pagina 253
1 2 ... 249 250 251 252 253 254 255 256 257 258 259 ... 292 293

Comentarios a estos manuales

Sin comentarios