470 lines
21 KiB
Plaintext
470 lines
21 KiB
Plaintext
|
<?xml version="1.0"?>
|
||
|
<interface>
|
||
|
<requires lib="gtk+" version="2.16"/>
|
||
|
<!-- interface-naming-policy project-wide -->
|
||
|
<object class="GtkTreeStore" id="tsDhcpInfo">
|
||
|
<columns>
|
||
|
<!-- column-name cVni -->
|
||
|
<column type="gchararray"/>
|
||
|
<!-- column-name cMac -->
|
||
|
<column type="gchararray"/>
|
||
|
<!-- column-name cHostname -->
|
||
|
<column type="gchararray"/>
|
||
|
<!-- column-name cStep -->
|
||
|
<column type="gchararray"/>
|
||
|
<!-- column-name cResult -->
|
||
|
<column type="gchararray"/>
|
||
|
<!-- column-name cRltPrgess -->
|
||
|
<column type="gfloat"/>
|
||
|
</columns>
|
||
|
</object>
|
||
|
<object class="GtkWindow" id="wndMain">
|
||
|
<property name="width_request">1024</property>
|
||
|
<signal name="destroy" handler="__mainWnd_on_destroy"/>
|
||
|
<child>
|
||
|
<object class="GtkVBox" id="vbWnd">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="orientation">vertical</property>
|
||
|
<child>
|
||
|
<object class="GtkMenuBar" id="menuMain">
|
||
|
<property name="visible">True</property>
|
||
|
<child>
|
||
|
<object class="GtkMenuItem" id="menuitem1">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="label" translatable="yes">_File</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<child type="submenu">
|
||
|
<object class="GtkMenu" id="menu1">
|
||
|
<property name="visible">True</property>
|
||
|
<child>
|
||
|
<object class="GtkImageMenuItem" id="imagemenuitem1">
|
||
|
<property name="label">gtk-new</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<property name="use_stock">True</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkImageMenuItem" id="imagemenuitem2">
|
||
|
<property name="label">gtk-open</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<property name="use_stock">True</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkImageMenuItem" id="imagemenuitem3">
|
||
|
<property name="label">gtk-save</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<property name="use_stock">True</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkImageMenuItem" id="imagemenuitem4">
|
||
|
<property name="label">gtk-save-as</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<property name="use_stock">True</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkSeparatorMenuItem" id="separatormenuitem1">
|
||
|
<property name="visible">True</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkImageMenuItem" id="imagemenuitem5">
|
||
|
<property name="label">gtk-quit</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<property name="use_stock">True</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkMenuItem" id="menuitem2">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="label" translatable="yes">_Edit</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<child type="submenu">
|
||
|
<object class="GtkMenu" id="menu2">
|
||
|
<property name="visible">True</property>
|
||
|
<child>
|
||
|
<object class="GtkImageMenuItem" id="imagemenuitem6">
|
||
|
<property name="label">gtk-cut</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<property name="use_stock">True</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkImageMenuItem" id="imagemenuitem7">
|
||
|
<property name="label">gtk-copy</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<property name="use_stock">True</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkImageMenuItem" id="imagemenuitem8">
|
||
|
<property name="label">gtk-paste</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<property name="use_stock">True</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkImageMenuItem" id="imagemenuitem9">
|
||
|
<property name="label">gtk-delete</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<property name="use_stock">True</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkMenuItem" id="menuitem3">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="label" translatable="yes">_View</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkMenuItem" id="menuitem4">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="label" translatable="yes">_Help</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<child type="submenu">
|
||
|
<object class="GtkMenu" id="menu3">
|
||
|
<property name="visible">True</property>
|
||
|
<child>
|
||
|
<object class="GtkImageMenuItem" id="imagemenuitem10">
|
||
|
<property name="label">gtk-about</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<property name="use_stock">True</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="position">0</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkToolbar" id="tbMain">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="toolbar_style">both</property>
|
||
|
<child>
|
||
|
<object class="GtkToolButton" id="tbStart">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="label" translatable="yes">Start</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<property name="stock_id">gtk-media-play</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="homogeneous">True</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkToolButton" id="tbStop">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="label" translatable="yes">Stop</property>
|
||
|
<property name="use_underline">True</property>
|
||
|
<property name="stock_id">gtk-media-stop</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="homogeneous">True</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="position">1</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkVBox" id="vbSetting">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="orientation">vertical</property>
|
||
|
<child>
|
||
|
<object class="GtkFrame" id="frame1">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="border_width">5</property>
|
||
|
<property name="label_xalign">0</property>
|
||
|
<child>
|
||
|
<object class="GtkTable" id="table1">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="border_width">5</property>
|
||
|
<property name="n_rows">2</property>
|
||
|
<property name="n_columns">4</property>
|
||
|
<property name="column_spacing">5</property>
|
||
|
<property name="row_spacing">5</property>
|
||
|
<child>
|
||
|
<object class="GtkLabel" id="label2">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="xalign">0</property>
|
||
|
<property name="label" translatable="yes">MAC起始地址:</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkLabel" id="label3">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="xalign">0</property>
|
||
|
<property name="label" translatable="yes">DHCP 并发请求数:</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="top_attach">1</property>
|
||
|
<property name="bottom_attach">2</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkLabel" id="label4">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="xalign">0</property>
|
||
|
<property name="label" translatable="yes">主机名前缀:</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="left_attach">2</property>
|
||
|
<property name="right_attach">3</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkLabel" id="label5">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="xalign">0</property>
|
||
|
<property name="label" translatable="yes">VNI 起始值:</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="left_attach">2</property>
|
||
|
<property name="right_attach">3</property>
|
||
|
<property name="top_attach">1</property>
|
||
|
<property name="bottom_attach">2</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkEntry" id="txtMacStart">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">True</property>
|
||
|
<property name="invisible_char">●</property>
|
||
|
<property name="text" translatable="yes">06:01:02:00:00:01</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="left_attach">1</property>
|
||
|
<property name="right_attach">2</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkEntry" id="entry2">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">True</property>
|
||
|
<property name="invisible_char">●</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="left_attach">3</property>
|
||
|
<property name="right_attach">4</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkSpinButton" id="sbReqNum">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">True</property>
|
||
|
<property name="invisible_char">●</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="left_attach">1</property>
|
||
|
<property name="right_attach">2</property>
|
||
|
<property name="top_attach">1</property>
|
||
|
<property name="bottom_attach">2</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkSpinButton" id="sbVni">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">True</property>
|
||
|
<property name="invisible_char">●</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="left_attach">3</property>
|
||
|
<property name="right_attach">4</property>
|
||
|
<property name="top_attach">1</property>
|
||
|
<property name="bottom_attach">2</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child type="label">
|
||
|
<object class="GtkLabel" id="label1">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="xpad">5</property>
|
||
|
<property name="label" translatable="yes"><b> 参数设置 </b></property>
|
||
|
<property name="use_markup">True</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="position">0</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="position">2</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkScrolledWindow" id="sclTreeView">
|
||
|
<property name="height_request">400</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">True</property>
|
||
|
<property name="border_width">5</property>
|
||
|
<property name="hscrollbar_policy">automatic</property>
|
||
|
<property name="vscrollbar_policy">automatic</property>
|
||
|
<child>
|
||
|
<object class="GtkTreeView" id="treeResult">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">True</property>
|
||
|
<property name="model">tsDhcpInfo</property>
|
||
|
<property name="enable_grid_lines">both</property>
|
||
|
<child>
|
||
|
<object class="GtkTreeViewColumn" id="tvcIndex">
|
||
|
<property name="title">VNI</property>
|
||
|
<property name="alignment">0.5</property>
|
||
|
<child>
|
||
|
<object class="GtkCellRendererText" id="cellrenderertext1"/>
|
||
|
<attributes>
|
||
|
<attribute name="text">0</attribute>
|
||
|
</attributes>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkTreeViewColumn" id="tvcMac">
|
||
|
<property name="title">MAC</property>
|
||
|
<property name="alignment">0.5</property>
|
||
|
<child>
|
||
|
<object class="GtkCellRendererText" id="cellrenderertext2"/>
|
||
|
<attributes>
|
||
|
<attribute name="text">1</attribute>
|
||
|
</attributes>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkTreeViewColumn" id="tvcHostname">
|
||
|
<property name="title">Hostname</property>
|
||
|
<property name="alignment">0.5</property>
|
||
|
<child>
|
||
|
<object class="GtkCellRendererText" id="cellrenderertext3"/>
|
||
|
<attributes>
|
||
|
<attribute name="text">2</attribute>
|
||
|
</attributes>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkTreeViewColumn" id="tvcStep">
|
||
|
<property name="sizing">autosize</property>
|
||
|
<property name="title">Step</property>
|
||
|
<property name="alignment">0.5</property>
|
||
|
<child>
|
||
|
<object class="GtkCellRendererText" id="cellrenderertext4"/>
|
||
|
<attributes>
|
||
|
<attribute name="text">3</attribute>
|
||
|
</attributes>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkTreeViewColumn" id="tvcResult">
|
||
|
<property name="title">Result</property>
|
||
|
<property name="alignment">0.5</property>
|
||
|
<child>
|
||
|
<object class="GtkCellRendererText" id="crResult"/>
|
||
|
<attributes>
|
||
|
<attribute name="text">4</attribute>
|
||
|
</attributes>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkTreeViewColumn" id="tblStatus">
|
||
|
<property name="title">Staus</property>
|
||
|
<property name="alignment">0.5</property>
|
||
|
<child>
|
||
|
<object class="GtkCellRendererProgress" id="cellrendererprogress1"/>
|
||
|
<attributes>
|
||
|
<attribute name="value">5</attribute>
|
||
|
</attributes>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="position">3</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkExpander" id="epLogout">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">True</property>
|
||
|
<property name="border_width">5</property>
|
||
|
<child>
|
||
|
<object class="GtkScrolledWindow" id="sclLogout">
|
||
|
<property name="height_request">150</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">True</property>
|
||
|
<property name="hscrollbar_policy">automatic</property>
|
||
|
<property name="vscrollbar_policy">automatic</property>
|
||
|
<child>
|
||
|
<object class="GtkTextView" id="txtLogout">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">True</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child type="label">
|
||
|
<object class="GtkLabel" id="label6">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="label" translatable="yes">Logs</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">False</property>
|
||
|
<property name="position">4</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkStatusbar" id="sbMain">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="spacing">2</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">False</property>
|
||
|
<property name="position">5</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</interface>
|