annotate feedworm-gui.py @ 22:cb9d8da0f307
Put the widgets into a layout to have proper resize behaviour
author |
Dirk Olmes <dirk@xanthippe.ping.de> |
date |
Thu, 29 Apr 2010 05:22:59 +0200 |
parents |
42a225be7e56 |
children |
6b5ceffabe49 |
rev |
line source |
14
|
1
|
|
2 from MainWindowController import MainWindowController
|
|
3 from PyQt4 import QtGui
|
|
4 import sys
|
|
5 from util import configureLogging, createSession
|
|
6
|
|
7 if __name__ == '__main__':
|
|
8 configureLogging()
|
|
9 session = createSession()
|
|
10
|
|
11 app = QtGui.QApplication(sys.argv)
|
|
12 mainWindowController = MainWindowController(session)
|
|
13 mainWindowController.show()
|
|
14 sys.exit(app.exec_())
|