Files
new_install/xml/interface_t.xml
lizhi-rocky d1760bad48 10% work
complete most xml relax ng work.
work on real interface xml
work on python scripts for parsing interface xml
2010-07-08 11:52:50 +08:00

128 lines
4.6 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<interface base_widget='main' sequence='main'>
<!--
column 0 column 1 column 2
____________________________________________________________
row 0 | logo version |
row 1 |____________________________________________________________|
row 2 | |
row 3 | copyright information |
row 4 | quit previous next |
|____________________________________________________________|
-->
<widget type='Frame' name='main'>
<grid_management rows='5' columns='3'>
<configure row='2' weight='1'/>
<configure column='0' weight='1'/>
<configure column='1' weight='3'/>
<configure column='2' weight='1'/>
</grid_management>
<grid_location row='0' column='0' sticky='NSWE'/>
<widget type="Label">
<widget_attribute image='/home/zhi/git/install/graphicalinstall/images/linxlogo.gif'/>
<grid_location row='0' column='0' sticky='W' padx='5' pady='5'/>
</widget>
<widget type='Label'>
<widget_attribute text='#os-name'/>
<grid_location row='0' column='2' sticky='E'/>
</widget>
<widget type='Frame'>
<widget_attribute height='3' background='black'/>
<grid_location row='1' column='0' columnspan='3' sticky='WE'/>
</widget>
<widget type='Label'>
<widget_attribute text='Copyright'/>
<grid_location row='3' column='0' columnspan='3' pady='20'/>
</widget>
<widget type='Button'>
<widget_attribute text='quit' command='quit'/>
<grid_location row='4' column='0'/>
</widget>
<widget type='Button'>
<widget_attribute text='previous' command='previous'/>
<grid_location row='4' column='1'/>
</widget>
<widget type='Button'>
<widget_attribute text='next' command='next'/>
<grid_location row='4' column='2' pady='20'/>
</widget>
</widget>
<message key='#os-name'>
<English>Rocky 4.2</English>
<Chinese>磐石 4.2</Chinese>
</message>
<message>
<English>Copyright</English>
<Chinese>版权</Chinese>
</message>
<!--
column 0 column 1 column 2
____________________________________________________________
row 0 | |
row 1 | |
row 2 | Welcome to Rocky OS |
row 3 | |
row 4 | |
|____________________________________________________________|
-->
<widget type='Label' name='welcome'>
<widget_attribute text='Welcome'/>
<grid_location row='2' column='0' columnspan='3'/>
</widget>
<!--
column 0 column 1 column 2
____________________________________________________________
row 0 | |
row 1 | |
row 2 | _________ _________________ |
| | text | | serial number | |
| | | | ______________ | |
| | | || | | |
| |_________| ||______________| | |
| |_________________| |
row 3 | |
row 4 | |
|____________________________________________________________|
-->
<widget type='Frame' name='serial_no'>
<grid_management rows='1' columns='3'>
<configure row='0' weight='1'/>
<configure column='0' weight='1'/>
<configure column='1' weight='1'/>
<configure column='2' weight='1'/>
</grid_management>
<grid_location row='2' column='0' columnspan='3' sticky='NSWE'/>
<widget type='Text'>
<widget_attribute width='40' height='15' state='disabled'/>
<grid_location row='0' column='0'/>
</widget>
<widget type='Frame'>
<grid_location row='0' column='1'/>
<widget type='Label'>
<widget_attribute text='serial number'/>
<grid_location row='0' column='0' sticky='W'/>
</widget>
<widget type='Entry'>
<widget_attribute width='12'/>
<grid_location row='1' column='0'/>
</widget>
</widget>
</widget>
<sequence name='main'>
<widget name='welcome'/>
<widget name='serial_no'/>
</sequence>
</interface>