Mercurial > hg > Feedworm
comparison feedworm-gui.py @ 24:6b5ceffabe49
MainWindowController -> MainWindow
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Thu, 29 Apr 2010 05:43:57 +0200 |
parents | 42a225be7e56 |
children | 74b8c9a9d5de |
comparison
equal
deleted
inserted
replaced
23:dcc8abff0694 | 24:6b5ceffabe49 |
---|---|
1 | 1 |
2 from MainWindowController import MainWindowController | 2 from MainWindow import MainWindow |
3 from PyQt4 import QtGui | 3 from PyQt4 import QtGui |
4 import sys | 4 import sys |
5 from util import configureLogging, createSession | 5 from util import configureLogging, createSession |
6 | 6 |
7 if __name__ == '__main__': | 7 if __name__ == '__main__': |
8 configureLogging() | 8 configureLogging() |
9 session = createSession() | 9 session = createSession() |
10 | 10 |
11 app = QtGui.QApplication(sys.argv) | 11 app = QtGui.QApplication(sys.argv) |
12 mainWindowController = MainWindowController(session) | 12 mainWindow = MainWindow(session) |
13 mainWindowController.show() | 13 mainWindow.show() |
14 sys.exit(app.exec_()) | 14 sys.exit(app.exec_()) |