From ce3988684c2dbf470976399f1b895aca35461695 Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 3 Nov 2011 04:07:53 +0100 Subject: initial commit --- src/main.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/main.py (limited to 'src/main.py') diff --git a/src/main.py b/src/main.py new file mode 100644 index 0000000..ba1ff2c --- /dev/null +++ b/src/main.py @@ -0,0 +1,16 @@ +from PyQt4 import QtCore, QtGui +import sys + +from ui import KPMainWindow + +def run_koopatlas(): + global Koopatlas + Koopatlas = KPApplication(sys.argv) + Koopatlas.run() + +class KPApplication(QtGui.QApplication): + def run(self): + self.mainWindow = KPMainWindow() + self.mainWindow.show() + self.exec_() + -- cgit v1.2.3