import sys
+from PyQt4.QtCore import Qt
from PyQt4.QtGui import QWidget, QLabel, QVBoxLayout
class SfaScreen(QWidget):
self.name = name
self.title = title
self.widget = widget
- self.label = QLabel(self.title, self)
+ self.label = QLabel("<b>%s</b>" % self.title, self)
+ self.label.setScaledContents(False)
layout = QVBoxLayout(self)
layout.addWidget(self.label)
+ layout.addStretch()
layout.addWidget(self.widget)
self.setLayout(layout)
def getLabelText(self):
- return "<a href='%s'>%s</a>" % (self.name, self.name)
+ return "<a href='%s'>Go to %s</a>" % (self.name, self.name)