tools/activeqt/testcon/scripts/javascript.js
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 function QAxWidget2::Click()
       
     2 {
       
     3 	QAxWidget2.lineWidth++;
       
     4 	MainWindow.logMacro(0, "Hello from JavaScript: QAxWidget2::Click", 0, "");
       
     5 }
       
     6 
       
     7 function fatLines()
       
     8 {
       
     9 	QAxWidget2.lineWidth = 25;
       
    10 }
       
    11 
       
    12 function thinLines()
       
    13 {
       
    14 	QAxWidget2.lineWidth = 1;
       
    15 }
       
    16 
       
    17 function setLineWidth(width)
       
    18 {
       
    19 	QAxWidget2.lineWidth = width;
       
    20 }
       
    21 
       
    22 function getLineWidth()
       
    23 {
       
    24 	return(QAxWidget2.lineWidth)
       
    25 }