diff -r 41300fa6a67c -r f7bc934e204c util/tools/activeqt/testcon/scripts/javascript.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/util/tools/activeqt/testcon/scripts/javascript.js Wed Mar 31 11:06:36 2010 +0300 @@ -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) +}