Mercurial > hg > Feedworm
diff MainWindowController.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 | b1aeb98824c1 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MainWindowController.py Wed Apr 28 02:36:00 2010 +0200 @@ -0,0 +1,10 @@ + +from Ui_MainWindow import Ui_MainWindow +from PyQt4 import QtGui + +class MainWindowController(QtGui.QMainWindow): + def __init__(self, session=None): + QtGui.QWidget.__init__(self, None) + self.session = session + self.ui = Ui_MainWindow() + self.ui.setupUi(self)