blob: ba1ff2ce5118e0783a2b7661905407d44d55dfc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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_()
|