from PyQt4.QtGui import QWidget, QLabel from sfadata import SfaData from sfascreen import SfaScreen class ConfigWidget(QWidget): def __init__(self, parent=None): QWidget.__init__(self, parent) label = QLabel("config widget", self) class SfaConfigScreen(SfaScreen): def __init__(self, parent=None): SfaScreen.__init__(self, parent) config = ConfigWidget(self) self.init(config, "Configure", "Configure the PlanetLab Federation GUI")