From ce3988684c2dbf470976399f1b895aca35461695 Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 3 Nov 2011 04:07:53 +0100 Subject: initial commit --- src/ui.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/ui.py (limited to 'src/ui.py') diff --git a/src/ui.py b/src/ui.py new file mode 100644 index 0000000..9b5f705 --- /dev/null +++ b/src/ui.py @@ -0,0 +1,23 @@ +from PyQt4 import QtCore, QtGui + +from editorui import * + + +class KPMainWindow(QtGui.QMainWindow): + def __init__(self): + QtGui.QMainWindow.__init__(self) + + self.editor = KPEditorWidget() + self.setCentralWidget(self.editor) + + self.setupMenuBar() + + + def setupMenuBar(self): + mb = self.menuBar() + + m = mb.addMenu('&File') + # ... + + + -- cgit v1.2.3