diff feedworm-gui.py @ 14:42a225be7e56

first version of the GUI
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 28 Apr 2010 02:36:00 +0200
parents
children 6b5ceffabe49
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/feedworm-gui.py	Wed Apr 28 02:36:00 2010 +0200
@@ -0,0 +1,14 @@
+
+from MainWindowController import MainWindowController
+from PyQt4 import QtGui
+import sys
+from util import configureLogging, createSession
+
+if __name__ == '__main__':
+    configureLogging()
+    session = createSession()
+    
+    app = QtGui.QApplication(sys.argv)
+    mainWindowController = MainWindowController(session)
+    mainWindowController.show()
+    sys.exit(app.exec_())