diff -r 000000000000 -r 1918ee327afb tools/activeqt/testcon/scripts/javascript.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/activeqt/testcon/scripts/javascript.js Mon Jan 11 14:00:40 2010 +0000 @@ -0,0 +1,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) +}