Support turbo2.
[vuplus_dvbapp] / lib / python / Plugins / SystemPlugins / Videomode / videowizard.xml
1 <wizard>
2         <step id="portselection" nextstep="modeselection" timeout="20" timeoutaction="selectnext">
3                 <text value="Video input selection\n\nPlease press OK if you can see this page on your TV or select a different input port.\n\nThe next input port will be automatically probed in 20 seconds" />
4                 <displaytext value="Select video port" />
5                 <list type="dynamic" source="portList" evaluation="portSelectionMade" onselect="portSelectionMoved" />
6                 <code>
7 self.clearSelectedKeys()
8 self.selectKey("OK")
9                 </code>
10         </step>
11         <step id="modeselection" nextstep="rateselection" timeout="20" timeoutaction="selectnext">
12                 <text value="Video mode selection" />
13                 <displaytext value="Select video mode" />
14                 <list type="dynamic" source="modeList" evaluation="modeSelectionMade" onselect="modeSelectionMoved" />
15                 <code>
16 self.clearSelectedKeys()
17 self.selectKey("UP")
18 self.selectKey("DOWN")
19                 </code>
20         </step>
21         <step id="rateselection" nextstep="end" timeout="20" timeoutaction="selectnext">
22                 <condition>
23 self.condition = (self.port != "DVI")
24                 </condition>
25                 <text value="Refresh rate selection" />
26                 <displaytext value="Select refresh rate" />
27                 <list type="dynamic" source="rateList" evaluation="rateSelectionMade" onselect="rateSelectionMoved" />
28                 <code>
29 self.clearSelectedKeys()
30 self.selectKey("UP")
31 self.selectKey("DOWN")
32                 </code>
33         </step>
34         <step id="end">
35                 <code>
36 self.video_cfg.saveVideomode(self.port, self.mode, self.rate)
37 from Components.config import configfile
38 configfile.save()
39                 </code>
40                 <text value="The input port should be configured now.\nYou can now configure the screen by displaying some test picture. Do you want to do that now?" />
41                 <displaytext value="video tune" />
42                 <list evaluation="showVideoTune" onselect="showVideoTune">
43                         <listentry caption="Yes" step="yes" />
44                         <listentry caption="No" step="no" />
45                 </list>
46         </step>
47 </wizard>