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

KTD-S0057-I
Page 243 Linux® Programming Examples (DebianTM)
KTAM3874/pITX Software Guide
MouseArea
{
anchors.fill:
wrapper
onClicked: photoClicked ()
}
}
File ImageDetails.qml (header with Qt
TM
license see 'main.cpp'):
import QtQuick 1.0
// This line is not necessary
// import "../common" as Common
Flipable
{
id:
container
property alias frontContainer: containerFront
property string photoTitle: ""
property string photoTags: ""
property int photoWidth
property int photoHeight
property string photoType
property string photoAuthor
property string photoDate
property string photoUrl
property int rating: 2
property variant prevScale: 1.0
signal
closed
transform:
Rotation
{
id:
itemRotation
origin.x: container.width / 2
axis.y:
1
axis.z:
0
}
front:
Item
{
id:
containerFront
anchors.fill:
container
Rectangle
{
anchors.fill:
parent
color:
"black"
opacity:
0.4
}