touch software group

just a beginning
This commit is contained in:
lizhi-rocky
2010-07-28 17:57:23 +08:00
parent 8d724f294a
commit 6f296eb876
6 changed files with 132 additions and 39 deletions

View File

@@ -266,6 +266,18 @@ row 4 | |
</widget>
</widget>
<!--
column 1 column 2 column 3
________________________________________________________________________
| ___________ __________ ________ |
| | | host name |__________| domain name |________| |
| | Text | _ IP |________| |
| |___________| NCM |_| dynamic Subnet mask |________| |
| _ Gateway |________| |
| |_| static Primary DNS |________| |
| Secondary DNS|________| |
|________________________________________________________________________|
-->
<widget type='Frame' name='network'>
<grid_management rows='1' columns='3'>
<configure row='0' weight='1'/>
@@ -274,7 +286,7 @@ row 4 | |
<configure column='2' weight='1'/>
</grid_management>
<grid_location row='2' column='0' columnspan='3' sticky='NSWE'/>
<action init='network_init'/>
<action init='network_init' quit='network_quit'/>
<widget type='Text'>
<widget_attribute width='40' height='15' state='disabled'/>
@@ -306,12 +318,12 @@ row 4 | |
</widget>
<widget type='Radiobutton' name='network_config_dynamic'>
<widget_attribute text='dynamic' variable='network_config_method' value='dynamic'/>
<widget_attribute text='dynamic' variable='network_config_method' value='dynamic' command='ncm_dynamic'/>
<grid_location row='1' column='1' sticky='W'/>
</widget>
<widget type='Radiobutton' name='network_config_static'>
<widget_attribute text='static' variable='network_config_method' value='static' />
<widget_attribute text='static' variable='network_config_method' value='static' command='ncm_static'/>
<grid_location row='2' column='1' sticky='W'/>
</widget>
</widget>
@@ -323,7 +335,7 @@ row 4 | |
<widget_attribute text='Domain name'/>
<grid_location row='0' column='0'/>
</widget>
<widget type='Entry'>
<widget type='Entry' name='network_domain_name'>
<widget_attribute width='16' textvariable='network_domain_name'/>
<grid_location row='0' column='1' pady='2'/>
<variable name='network_domain_name' type='StringVar'/>
@@ -333,7 +345,7 @@ row 4 | |
<widget_attribute text='IP'/>
<grid_location row='1' column='0'/>
</widget>
<widget type='Entry'>
<widget type='Entry' name='network_ip'>
<widget_attribute width='16' textvariable='network_ip'/>
<grid_location row='1' column='1' pady='2'/>
<variable name='network_ip' type='StringVar'/>
@@ -343,7 +355,7 @@ row 4 | |
<widget_attribute text='Subnet mask'/>
<grid_location row='2' column='0'/>
</widget>
<widget type='Entry'>
<widget type='Entry' name='network_subnet_mask'>
<widget_attribute width='16' textvariable='network_subnet_mask'/>
<grid_location row='2' column='1' pady='2'/>
<variable name='network_subnet_mask' type='StringVar'/>
@@ -353,7 +365,7 @@ row 4 | |
<widget_attribute text='Gateway'/>
<grid_location row='3' column='0'/>
</widget>
<widget type='Entry'>
<widget type='Entry' name='network_gateway'>
<widget_attribute width='16' textvariable='network_gateway'/>
<grid_location row='3' column='1' pady='2'/>
<variable name='network_gateway' type='StringVar'/>
@@ -363,7 +375,7 @@ row 4 | |
<widget_attribute text='Primary DNS'/>
<grid_location row='4' column='0'/>
</widget>
<widget type='Entry'>
<widget type='Entry' name='network_primary_dns'>
<widget_attribute width='16' textvariable='network_primary_dns'/>
<grid_location row='4' column='1' pady='2'/>
<variable name='network_primary_dns' type='StringVar'/>
@@ -373,7 +385,7 @@ row 4 | |
<widget_attribute text='Secondary DNS'/>
<grid_location row='5' column='0'/>
</widget>
<widget type='Entry'>
<widget type='Entry' name='network_secondary_dns'>
<widget_attribute width='16' textvariable='network_secondary_dns'/>
<grid_location row='5' column='1' pady='2'/>
<variable name='network_secondary_dns' type='StringVar'/>
@@ -381,6 +393,34 @@ row 4 | |
</widget>
</widget>
<!--
-->
<widget type='Frame' name='software-group'>
<grid_management rows='1' column='2'>
<configure row='0' weight='1'/>
<configure column='0' weight='1'/>
<configure column='1' 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' name='software_group_content' construct='software_group_construct'>
<grid_location row='0' column='1' sticky='NSWE' />
<action init='software_group_init' quit='software_group_quit'/>
<!-- a template for software group item -->
<widget type='Checkbutton' name='software-group-item'>
<widget_attribute text='' command='software_group_item' variable='' onvalue='on' offvalue='off'/>
<grid_location row='0' column='0'/>
</widget>
</widget>
</widget>
<message_box name='previous' type='info' title='#install-sequence' message='#first-step'/>
<message_box name='next' type='info' title='#install-sequence' message='#last-step'/>
@@ -482,5 +522,6 @@ row 4 | |
<widget name='serial_no'/>
<widget name='mount'/>
<widget name='network'/>
<widget name='software-group'/>
</sequence>
</interface>