tools/activeqt/testcon/scripts/javascript.js
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 15 Mar 2010 12:43:09 +0200
branchRCL_3
changeset 6 dee5afe5301f
parent 0 1918ee327afb
permissions -rw-r--r--
Revision: 201008 Kit: 201010

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)
}