import sys from PyQt4 import QtCore, QtGui from PyQt4.QtCore import Qt from mapdata import * from main import KP