source: trunk/tools/activeqt/testcon/scripts/pythonscript.py@ 5

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

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

File size: 361 bytes
Line 
1def QAxWidget2_Click():
2 QAxWidget2.lineWidth = QAxWidget2.lineWidth + 1;
3 MainWindow.logMacro(0, "Hello from Python: QAxWidget2_Click", 0, "");
4
5def fatLines():
6 QAxWidget2.lineWidth = 25;
7
8def thinLines():
9 QAxWidget2.lineWidth = 1;
10
11def setLineWidth(width):
12 QAxWidget2.lineWidth = width;
13
14def getLineWidth():
15 return QAxWidget2.lineWidth;
Note: See TracBrowser for help on using the repository browser.