layouts
[sface.git] / sface / screens / sfascreen.py
index cb8a266..b3f68e8 100644 (file)
@@ -16,14 +16,13 @@ class SfaScreen(QWidget):
         self.name = name
         self.title = title
         self.widget = widget
-        self.label = QLabel("<b>%s</b>" % self.title, self)
-        self.label.setScaledContents(False)
 
         layout = QVBoxLayout(self)
-        layout.addWidget(self.label)
         layout.addWidget(self.widget)
-
         self.setLayout(layout)
 
-    def getLabelText(self):
+    def getLinkText(self):
         return "<a href='%s'>Go to %s</a>" % (self.name, self.name)
+
+    def getTitleText(self):
+        return "<b>%s</b>" % self.title