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

Page 260

Advertising
background image

KTD-S0057-I

Page 256 Linux® Programming Examples (DebianTM)


KTAM3874/pITX Software Guide


Button

{

id:

tagButton

x: titleBar.width - 50

width:

45

height:

32

text:

"..."

onClicked:

if (titleBar.state == "Tags")

container.accept

()

else

titleBar.state

=

"Tags"

anchors.verticalCenter:

parent.verticalCenter

}

Item

{

id:

lineEdit

y:

4

height: parent.height - 9

anchors

{

left:

tagButton.right

leftMargin: 5

right:

parent.right

rightMargin:

5

}

BorderImage

{

source:

"images/lineedit.sci"

anchors.fill: parent

}

TextInput

{

id:

editor

anchors

{

left: parent.left

right:

parent.right

leftMargin:

10

rightMargin:

10

verticalCenter:

parent.verticalCenter

}

cursorVisible: true

font.bold:

true

color:

"#151515"

selectionColor:

"Green"

}

Keys.forwardTo: [(returnKey), (editor)]

Advertising
This manual is related to the following products: