blob: b8d3b411cfb6f7ae878352f1c3e3cd8a3ed12ae0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
from xsviewer import *
from qt import *
def main(args):
app = QApplication(args)
mainwin = XSViewer(app)
mainwin.show()
app.connect(app, SIGNAL("lastWindowClosed()"),
app, SLOT("quit()"))
app.exec_loop()
|