summaryrefslogtreecommitdiffstats
path: root/tools/activeqt/testcon/scripts/javascript.js
blob: e2bd54b47bcd4573022e69ca22ff21e23dc6cac5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
function QAxWidget2::Click()
{
	QAxWidget2.lineWidth++;
	MainWindow.logMacro(0, "Hello from JavaScript: QAxWidget2::Click", 0, "");
}

function fatLines()
{
	QAxWidget2.lineWidth = 25;
}

function thinLines()
{
	QAxWidget2.lineWidth = 1;
}

function setLineWidth(width)
{
	QAxWidget2.lineWidth = width;
}

function getLineWidth()
{
	return(QAxWidget2.lineWidth)
}