beautypg.com

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

Page 259

background image

KTD-S0057-I

Page 255 Linux® Programming Examples (DebianTM)


KTAM3874/pITX Software Guide


BorderImage
{

source:

"images/titlebar.sci"

width:

parent.width

height: parent.height + 14

y:

-7

}

Item
{

id:

container

width: (parent.width * 2) - 55

height:

parent.height

function accept ()

{

imageDetails.closed

()

titleBar.state = ""

background.state = ""

rssModel.tags = editor.text

}

Image

{

id:

quitButton

anchors.left:

parent.left

anchors.verticalCenter:

parent.verticalCenter

source:

"images/quit.png"

MouseArea

{

anchors.fill: parent

onClicked:

Qt.quit

()

}

}

Text

{

id:

categoryText

anchors

{

left:

quitButton.right

right:

tagButton.left

leftMargin:

10

rightMargin:

10

verticalCenter:

parent.verticalCenter

}

elide:

Text.ElideLeft

text: (rssModel.tags == "" ? untaggedString : taggedString + rssModel.tags)

font.bold:

true

font.pixelSize:

15

color:

"White"

style:

Text.Raised

styleColor:

"Black"

}

This manual is related to the following products: