initial commit of my widget system. it is quite alpha, so please dont relay on the...
[enigma2-plugins.git] / widgets / src / widgets / frontendstatus / widget.py
1 from Plugins.Extensions.Widgets.Widget import Widget
2 from Components.Label import Label
3
4
5 class FrontendstatusWidget(Widget):
6     def __init__(self,session):
7         Widget.__init__(self,session,name="FrontendStatus",description="shows the Frontend Status of the tuned service",version="0.1",author="3c5x9",homepage="cvs://schwerkraft")
8         self.elements["frontendstatuswidget_SNR"] = Label(_("SNR")+":")
9         self.elements["frontendstatuswidget_AGC"] = Label(_("AGC")+":")
10         self.elements["frontendstatuswidget_BER"] = Label(_("BER")+":")
11
12 def get_widget(session):
13     return FrontendstatusWidget(session)