source: trunk/tools/activeqt/testcon/scripts/javascript.js@ 865

Last change on this file since 865 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 364 bytes
Line 
1function QAxWidget2::Click()
2{
3 QAxWidget2.lineWidth++;
4 MainWindow.logMacro(0, "Hello from JavaScript: QAxWidget2::Click", 0, "");
5}
6
7function fatLines()
8{
9 QAxWidget2.lineWidth = 25;
10}
11
12function thinLines()
13{
14 QAxWidget2.lineWidth = 1;
15}
16
17function setLineWidth(width)
18{
19 QAxWidget2.lineWidth = width;
20}
21
22function getLineWidth()
23{
24 return(QAxWidget2.lineWidth)
25}
Note: See TracBrowser for help on using the repository browser.