summaryrefslogtreecommitdiffstats
path: root/lib/kformula/prototype/main.py
blob: 5f9fc29b513b4d01f8dfe8789b7ecb12b5812f7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python

import sys
from TQt.tqt import *

from engine import Widget

a = TQApplication(sys.argv)
mw = Widget()
mw.setCaption('Prototype of the formula engine')
mw.show()
a.connect(a, TQ_SIGNAL('lastWindowClosed()'), a, TQ_SLOT('quit()'))
a.exec_loop()