summaryrefslogtreecommitdiffstats
path: root/tools/activeqt/testcon/scripts/perlscript.pl
blob: 029bdc264c674cbeb1cacdc58aabd15f0c71acad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
sub QAxWidget2_Click {
	$QAxWidget2->{'lineWidth'} = $QAxWidget2->{'lineWidth'} + 1;
	$MainWindow->logMacro(0, "Hello from Perl: QAxWidget2_Click", 0, "");
}

sub fatLines
{
	$QAxWidget2->{'lineWidth'} = 25;
}

sub thinLines
{
	$QAxWidget2->{'lineWidth'} = 1;
}

sub setLineWidth(width)
{
	$QAxWidget2->{'lineWidth'} = width;
}

sub getLineWidth()
{
	return $QAxWidget2->{'lineWidth'};
}