from PyQt4 import QtCore, QtGui from . import __path__ from core.auimd_widget import * class Tutorial1(QtGui.QLabel, AuimdWidget): @staticmethod def defaultWidgetIcon(): return QtGui.QIcon(__path__[0]+"/knewstuff.png") @staticmethod def defaultWidgetTitle(): return "Tutorial 1" @staticmethod def getCategory(): return "Other" def __init__(self, parent, *args): QtGui.QLabel.__init__(self, parent) AuimdWidget.__init__(self, parent) self.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignVCenter) self.setText("Hello World !")