ostinato/common/eth2.ui
2011-01-30 17:38:03 +05:30

81 lines
1.7 KiB
XML

<ui version="4.0" >
<class>eth2</class>
<widget class="QWidget" name="eth2" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>190</width>
<height>64</height>
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QCheckBox" name="cbOverrideType" >
<property name="text" >
<string>Ethernet Type</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="leType" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="inputMask" >
<string>>HH HH; </string>
</property>
</widget>
</item>
<item row="0" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0" colspan="2" >
<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>
<resources/>
<connections>
<connection>
<sender>cbOverrideType</sender>
<signal>toggled(bool)</signal>
<receiver>leType</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>98</x>
<y>27</y>
</hint>
<hint type="destinationlabel" >
<x>118</x>
<y>27</y>
</hint>
</hints>
</connection>
</connections>
</ui>