summaryrefslogtreecommitdiffstats
path: root/tools/activeqt/testcon/scripts/pythonscript.py
blob: 79bca87b6c90e0b3716f82847032fcc5aad404cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
def QAxWidget2_Click():
    QAxWidget2.lineWidth = QAxWidget2.lineWidth + 1;
    MainWindow.logMacro(0, "Hello from Python: QAxWidget2_Click", 0, "");

def fatLines():
    QAxWidget2.lineWidth = 25;

def thinLines():
    QAxWidget2.lineWidth = 1;

def setLineWidth(width):
    QAxWidget2.lineWidth = width;

def getLineWidth():
    return QAxWidget2.lineWidth;