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