summaryrefslogtreecommitdiffstats
path: root/tools/testcon/scripts/javascript.js
blob: afa3af925a966ebc7700f2f5db0ccd92dfe2d544 (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)
}