480 lines
12 KiB
XML
480 lines
12 KiB
XML
<ui version="4.0" >
|
|
<class>ip4</class>
|
|
<widget class="QWidget" name="ip4" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>507</width>
|
|
<height>308</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<item row="0" column="0" >
|
|
<layout class="QGridLayout" >
|
|
<item row="0" column="0" >
|
|
<widget class="QCheckBox" name="cbIpVersionOverride" >
|
|
<property name="text" >
|
|
<string>Override Version</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" >
|
|
<widget class="QLineEdit" name="leIpVersion" >
|
|
<property name="enabled" >
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<widget class="QCheckBox" name="cbIpHdrLenOverride" >
|
|
<property name="text" >
|
|
<string>Override Header
|
|
Length (x4)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" >
|
|
<widget class="QLineEdit" name="leIpHdrLen" >
|
|
<property name="enabled" >
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" colspan="2" >
|
|
<widget class="TosDscpWidget" name="tosDscp" native="true" />
|
|
</item>
|
|
<item row="3" column="0" >
|
|
<widget class="QCheckBox" name="cbIpLengthOverride" >
|
|
<property name="text" >
|
|
<string>Override Length</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1" >
|
|
<widget class="QLineEdit" name="leIpLength" >
|
|
<property name="enabled" >
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0" >
|
|
<widget class="QLabel" name="label_24" >
|
|
<property name="text" >
|
|
<string>Identification</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1" >
|
|
<widget class="QLineEdit" name="leIpId" >
|
|
<property name="inputMask" >
|
|
<string>>HH HH</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="0" column="2" >
|
|
<layout class="QGridLayout" >
|
|
<item row="0" column="0" >
|
|
<widget class="QLabel" name="label_25" >
|
|
<property name="text" >
|
|
<string>Fragment Offset (x8)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" >
|
|
<widget class="QLineEdit" name="leIpFragOfs" />
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<widget class="QCheckBox" name="cbIpFlagsDf" >
|
|
<property name="text" >
|
|
<string>Don't Fragment</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" >
|
|
<widget class="QCheckBox" name="cbIpFlagsMf" >
|
|
<property name="text" >
|
|
<string>More Fragments</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" >
|
|
<widget class="QLabel" name="label_26" >
|
|
<property name="text" >
|
|
<string>Time To Live (TTL)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" >
|
|
<widget class="QLineEdit" name="leIpTtl" >
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1" >
|
|
<widget class="QLineEdit" name="leIpProto" >
|
|
<property name="enabled" >
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="inputMask" >
|
|
<string>>HH</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0" >
|
|
<widget class="QCheckBox" name="cbIpCksumOverride" >
|
|
<property name="text" >
|
|
<string>Override Checksum</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1" >
|
|
<widget class="QLineEdit" name="leIpCksum" >
|
|
<property name="enabled" >
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="inputMask" >
|
|
<string>>HH HH</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" >
|
|
<widget class="QCheckBox" name="cbIpProtocolOverride" >
|
|
<property name="text" >
|
|
<string>Override Protocol</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0" colspan="3" >
|
|
<widget class="QGroupBox" name="groupBox_7" >
|
|
<property name="title" >
|
|
<string/>
|
|
</property>
|
|
<property name="flat" >
|
|
<bool>false</bool>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<item row="0" column="0" colspan="2" >
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>101</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="0" column="2" >
|
|
<widget class="QLabel" name="label_31" >
|
|
<property name="text" >
|
|
<string>Mode</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3" >
|
|
<widget class="QLabel" name="label_23" >
|
|
<property name="text" >
|
|
<string>Count</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="4" >
|
|
<widget class="QLabel" name="label_30" >
|
|
<property name="text" >
|
|
<string>Mask</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<widget class="QLabel" name="label_20" >
|
|
<property name="text" >
|
|
<string>Source</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" >
|
|
<widget class="QLineEdit" name="leIpSrcAddr" >
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2" >
|
|
<widget class="QComboBox" name="cmbIpSrcAddrMode" >
|
|
<item>
|
|
<property name="text" >
|
|
<string>Fixed</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>Increment Host</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>Decrement Host</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>Random Host</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3" >
|
|
<widget class="QLineEdit" name="leIpSrcAddrCount" >
|
|
<property name="enabled" >
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="4" >
|
|
<widget class="QLineEdit" name="leIpSrcAddrMask" >
|
|
<property name="enabled" >
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" >
|
|
<widget class="QLabel" name="label_21" >
|
|
<property name="text" >
|
|
<string>Destination</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" >
|
|
<widget class="QLineEdit" name="leIpDstAddr" >
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2" >
|
|
<widget class="QComboBox" name="cmbIpDstAddrMode" >
|
|
<item>
|
|
<property name="text" >
|
|
<string>Fixed</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>Increment Host</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>Decrement Host</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>Random Host</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="3" >
|
|
<widget class="QLineEdit" name="leIpDstAddrCount" >
|
|
<property name="enabled" >
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="4" >
|
|
<widget class="QLineEdit" name="leIpDstAddrMask" >
|
|
<property name="enabled" >
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" colspan="3" >
|
|
<layout class="QHBoxLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="label_29" >
|
|
<property name="text" >
|
|
<string>Options</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="leIpOptions" />
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="tbIpOptionsEdit" >
|
|
<property name="enabled" >
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text" >
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="3" column="1" >
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>TosDscpWidget</class>
|
|
<extends>QWidget</extends>
|
|
<header>tosdscp.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>cbIpVersionOverride</tabstop>
|
|
<tabstop>leIpVersion</tabstop>
|
|
<tabstop>cbIpHdrLenOverride</tabstop>
|
|
<tabstop>leIpHdrLen</tabstop>
|
|
<tabstop>tosDscp</tabstop>
|
|
<tabstop>cbIpLengthOverride</tabstop>
|
|
<tabstop>leIpLength</tabstop>
|
|
<tabstop>leIpId</tabstop>
|
|
<tabstop>leIpFragOfs</tabstop>
|
|
<tabstop>cbIpFlagsDf</tabstop>
|
|
<tabstop>cbIpFlagsMf</tabstop>
|
|
<tabstop>leIpTtl</tabstop>
|
|
<tabstop>cbIpProtocolOverride</tabstop>
|
|
<tabstop>leIpProto</tabstop>
|
|
<tabstop>cbIpCksumOverride</tabstop>
|
|
<tabstop>leIpCksum</tabstop>
|
|
<tabstop>leIpSrcAddr</tabstop>
|
|
<tabstop>cmbIpSrcAddrMode</tabstop>
|
|
<tabstop>leIpSrcAddrCount</tabstop>
|
|
<tabstop>leIpSrcAddrMask</tabstop>
|
|
<tabstop>leIpDstAddr</tabstop>
|
|
<tabstop>cmbIpDstAddrMode</tabstop>
|
|
<tabstop>leIpDstAddrCount</tabstop>
|
|
<tabstop>leIpDstAddrMask</tabstop>
|
|
<tabstop>leIpOptions</tabstop>
|
|
<tabstop>tbIpOptionsEdit</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>cbIpVersionOverride</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>leIpVersion</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>108</x>
|
|
<y>11</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>195</x>
|
|
<y>11</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>cbIpHdrLenOverride</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>leIpHdrLen</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>113</x>
|
|
<y>67</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>166</x>
|
|
<y>43</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>cbIpLengthOverride</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>leIpLength</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>89</x>
|
|
<y>118</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>236</x>
|
|
<y>119</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>cbIpCksumOverride</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>leIpCksum</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>387</x>
|
|
<y>140</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>406</x>
|
|
<y>122</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>cbIpProtocolOverride</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>leIpProto</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>363</x>
|
|
<y>95</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>398</x>
|
|
<y>94</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|