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" />
7 self.clearSelectedKeys()
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" />
16 self.clearSelectedKeys()
18 self.selectKey("DOWN")
21 <step id="rateselection" nextstep="end" timeout="20" timeoutaction="selectnext">
23 self.condition = (self.port != "DVI")
25 <text value="Refresh rate selection" />
26 <displaytext value="Select refresh rate" />
27 <list type="dynamic" source="rateList" evaluation="rateSelectionMade" onselect="rateSelectionMoved" />
29 self.clearSelectedKeys()
31 self.selectKey("DOWN")
36 self.video_cfg.saveVideomode(self.port, self.mode, self.rate)
37 from Components.config import configfile
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" />