source: branches/4.5.1/tools/activeqt/testcon/scripts/perlscript.pl

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

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

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