from PyQt4 import QtCore, QtGui class KPEditorWidget(QtGui.QGraphicsView): pass