from PyQt4.QtCore import * from PyQt4.QtGui import * from sface.screens.sfascreen import SfaScreen class HelpWidget(QWidget): def __init__(self, parent): QWidget.__init__(self, parent) self.showHelpText() def showHelpText(self): layout = QVBoxLayout(self) layout.setAlignment(Qt.AlignTop) text = QLabel(self) text.setWordWrap(True) text.setOpenExternalLinks(True) text.setText("""
The PlanetLab Federation is a collection of testbeds that have joined forces using the Slice Federation Architecture (SFA).
This GUI allows users of OneLab and PlanetLab to allocate resources belonging to any federated testbed to an existing slice. To use it, follow these steps:
This GUI was built by the OneLab and PlanetLab teams. Your feedback is appreciated devel@planet-lab.org
""") text.setTextFormat(Qt.RichText) layout.addWidget(text) class HelpScreen(SfaScreen): def __init__(self, parent): SfaScreen.__init__(self, parent) widget = HelpWidget(self) self.init(widget, "Help", "How to use the OneLab Federation GUI")