diff options
author | Treeki <treeki@gmail.com> | 2011-11-03 04:07:53 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-11-03 04:07:53 +0100 |
commit | ce3988684c2dbf470976399f1b895aca35461695 (patch) | |
tree | 029b34371f81c61957143a714206b6e333c976c0 /src/main.py | |
download | koopatlas-ce3988684c2dbf470976399f1b895aca35461695.tar.gz koopatlas-ce3988684c2dbf470976399f1b895aca35461695.zip |
initial commit
Diffstat (limited to '')
-rw-r--r-- | src/main.py | 16 |
1 files changed, 16 insertions, 0 deletions
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_() + |