2021-11-05 05:02:23 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
2021-11-06 03:51:40 -05:00
|
|
|
<class>PortWidget</class>
|
|
|
|
<widget class="QWidget" name="PortWidget">
|
2021-11-05 05:02:23 -05:00
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2021-11-07 07:35:11 -06:00
|
|
|
<width>806</width>
|
|
|
|
<height>73</height>
|
2021-11-05 05:02:23 -05:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Form</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
2021-11-06 03:51:40 -05:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2021-11-05 05:02:23 -05:00
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="startTx">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Start Transmit</string>
|
|
|
|
</property>
|
|
|
|
<property name="statusTip">
|
|
|
|
<string>Start transmit on selected port</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="ostinato.qrc">
|
|
|
|
<normaloff>:/icons/control_play.png</normaloff>:/icons/control_play.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="stopTx">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Stop Transmit</string>
|
|
|
|
</property>
|
|
|
|
<property name="statusTip">
|
|
|
|
<string>Stop transmit on selected port</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="ostinato.qrc">
|
|
|
|
<normaloff>:/icons/control_stop.png</normaloff>:/icons/control_stop.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2021-11-07 07:35:11 -06:00
|
|
|
<item>
|
|
|
|
<widget class="Line" name="rateSep">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2021-11-05 05:02:23 -05:00
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="radioButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Avg pps</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="averagePacketsPerSec"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="radioButton_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>Avg bps</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="averageBitsPerSec">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2021-11-07 07:35:11 -06:00
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="rbLoad">
|
|
|
|
<property name="text">
|
|
|
|
<string>Load</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDoubleSpinBox" name="averageLoadPercent">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
2021-11-09 10:51:12 -06:00
|
|
|
<property name="buttonSymbols">
|
|
|
|
<enum>QAbstractSpinBox::NoButtons</enum>
|
|
|
|
</property>
|
2021-11-07 07:35:11 -06:00
|
|
|
<property name="suffix">
|
|
|
|
<string>%</string>
|
|
|
|
</property>
|
|
|
|
<property name="decimals">
|
|
|
|
<number>4</number>
|
|
|
|
</property>
|
2021-11-09 10:51:12 -06:00
|
|
|
<property name="maximum">
|
|
|
|
<double>999.999900000000025</double>
|
|
|
|
</property>
|
2021-11-07 07:35:11 -06:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="Line" name="speedSep">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="portSpeed">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Port Speed</string>
|
|
|
|
</property>
|
|
|
|
<property name="statusTip">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Max speed</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2021-11-05 05:02:23 -05:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources>
|
|
|
|
<include location="ostinato.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>radioButton</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>averagePacketsPerSec</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2021-11-07 07:35:11 -06:00
|
|
|
<x>450</x>
|
|
|
|
<y>44</y>
|
2021-11-05 05:02:23 -05:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
2021-11-07 07:35:11 -06:00
|
|
|
<x>593</x>
|
|
|
|
<y>45</y>
|
2021-11-05 05:02:23 -05:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>radioButton_2</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>averageBitsPerSec</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2021-11-07 07:35:11 -06:00
|
|
|
<x>661</x>
|
|
|
|
<y>44</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>804</x>
|
|
|
|
<y>45</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>rbLoad</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>averageLoadPercent</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>281</x>
|
|
|
|
<y>43</y>
|
2021-11-05 05:02:23 -05:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
2021-11-07 07:35:11 -06:00
|
|
|
<x>308</x>
|
|
|
|
<y>45</y>
|
2021-11-05 05:02:23 -05:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|