beautypg.com

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

Page 230

background image

KTD-S0057-I

Page 226 Linux® Programming Examples (DebianTM)


KTAM3874/pITX Software Guide


action:

webView.stop

image:

"pics/edit-delete.png"

visible: webView.progress < 1.0 && !header.urlChanged

}

Button

{

id:

goButton

anchors

{

right:

parent.right

rightMargin:

4

}

onClicked:

{

webBrowser.urlString

=

urlInput.url

webBrowser.focus

=

true

header.urlChanged

=

false

}

image:

"pics/go-jump-locationbar.png"

visible:

header.urlChanged

}

}

}
}


File ScrollBar.qml (header with Qt

TM

license see 'main.cpp'):

import QtQuick 1.0

Item
{
id:

container

property variant scrollArea

property variant orientation: Qt.Vertical

opacity:

0

function position ()

{

var ny = 0

if

(container.orientation == Qt.Vertical)

ny = scrollArea.visibleArea.yPosition * container.height

else

ny = scrollArea.visibleArea.xPosition * container.width

if (ny > 2)

return

ny

else

return

2

}

This manual is related to the following products: