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

KTD-S0057-I
Page 225 Linux® Programming Examples (DebianTM)
KTAM3874/pITX Software Guide
header.urlChanged
=
false
}
onUrlChanged: header.urlChanged = true
}
Button
{
id:
reloadButton
anchors
{
right:
quitButton.left
rightMargin:
10
}
action:
webView.reload
image:
"pics/view-refresh.png"
visible: webView.progress == 1.0 && !header.urlChanged
}
Text
{
id:
quitButton
color:
"white"
style:
Text.Sunken
anchors.right:
parent.right
anchors.top:
parent.top
anchors.bottom:
parent.bottom
verticalAlignment:
Text.AlignVCenter
horizontalAlignment:
Text.AlignHCenter
font.pixelSize:
18
width:
60
text:
"Quit"
MouseArea
{
anchors.fill: parent
onClicked:
Qt.quit
()
}
Rectangle
{
width:
1
y:
5
height: parent.height - 10
anchors.right:
parent.left
color:
"darkgray"
}
}
Button
{
id:
stopButton
anchors
{
right:
quitButton.left
rightMargin:
10
}