+from Components.Sources.FrontendInfo import FrontendInfo
+
+class ServiceScanSummary(Screen):
+ skin = """
+ <screen position="0,0" size="132,64">
+ <widget name="Title" position="6,4" size="120,42" font="Regular;16" transparent="1" />
+ <widget name="scan_progress" position="6,50" zPosition="1" borderWidth="1" size="56,12" backgroundColor="dark" />
+ <widget name="Service" position="6,22" size="120,26" font="Regular;12" transparent="1" />
+ </screen>"""
+
+ def __init__(self, session, parent, showStepSlider = True):
+ Screen.__init__(self, session, parent)
+
+ self["Title"] = Label(parent.title or "ServiceScan")
+ self["Service"] = Label("No Service")
+ self["scan_progress"] = ProgressBar()
+
+ def updateProgress(self, value):
+ self["scan_progress"].setValue(value)
+
+ def updateService(self, name):
+ self["Service"].setText(name)