make infobar actions helpable
[vuplus_dvbapp] / lib / python / Screens / StartWizard.py
1 from Wizard import Wizard, wizardManager
2
3 from Components.Pixmap import *
4 from LanguageSelection import LanguageSelection
5
6 class StartWizard(Wizard):
7         skin = """
8                 <screen position="0,0" size="720,560" title="Welcome..." flags="wfNoBorder" >
9                         <widget name="text" position="50,100" size="440,200" font="Arial;23" />
10                         <widget name="list" position="50,300" zPosition="1" size="440,200" />
11                         <widget name="config" position="50,300" zPosition="1" size="440,200" transparent="1" />                 
12                         <widget name="step" position="50,50" size="440,25" font="Arial;23" />
13                         <widget name="stepslider" position="50,500" zPosition="1" size="440,20" backgroundColor="dark" />
14                         <widget name="rc" pixmap="/usr/share/enigma2/rc.png" position="500,600" zPosition="10" size="154,475" transparent="1" alphatest="on"/>
15                         <widget name="arrowdown" pixmap="/usr/share/enigma2/arrowdown.png" position="0,0" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
16                         <widget name="arrowup" pixmap="/usr/share/enigma2/arrowup.png" position="-100,-100" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
17                 </screen>"""
18         
19         def __init__(self, session):
20                 self.skin = StartWizard.skin
21                 self.xmlfile = "startwizard.xml"
22                 
23                 Wizard.__init__(self, session)
24                 self["rc"] = MovingPixmap()
25                 self["arrowdown"] = MovingPixmap()
26                 self["arrowup"] = MovingPixmap()
27                 
28 wizardManager.registerWizard(LanguageSelection)
29 wizardManager.registerWizard(StartWizard)