|
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:
364 bytes
|
| Line | |
|---|
| 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 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.