2017-09-07 10:15:43 -05:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
2015-04-16 11:50:07 -05:00
<class>PortsWindow</class>
2017-09-07 10:15:43 -05:00
<widget class="QWidget" name="PortsWindow">
<property name="geometry">
2015-04-16 11:50:07 -05:00
<rect>
<x>0</x>
<y>0</y>
2016-03-13 09:21:32 -05:00
<width>663</width>
2015-04-16 11:50:07 -05:00
<height>352</height>
</rect>
</property>
2017-09-07 10:15:43 -05:00
<property name="windowTitle">
2015-04-16 11:50:07 -05:00
<string>Form</string>
</property>
2017-09-07 10:15:43 -05:00
<layout class="QGridLayout">
<item row="0" column="0">
<widget class="QSplitter" name="splitter">
<property name="orientation">
2015-04-16 11:50:07 -05:00
<enum>Qt::Horizontal</enum>
</property>
2017-09-07 10:15:43 -05:00
<property name="childrenCollapsible">
2015-04-16 11:50:07 -05:00
<bool>false</bool>
</property>
2017-09-09 02:43:52 -05:00
<widget class="XTreeView" name="tvPortList">
2017-09-07 10:15:43 -05:00
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
2016-03-22 07:57:36 -05:00
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2017-09-07 10:15:43 -05:00
<property name="contextMenuPolicy">
2015-04-16 11:50:07 -05:00
<enum>Qt::ActionsContextMenu</enum>
</property>
2017-09-07 10:15:43 -05:00
<property name="selectionMode">
2015-04-16 11:50:07 -05:00
<enum>QAbstractItemView::SingleSelection</enum>
</property>
</widget>
2017-09-07 10:15:43 -05:00
<widget class="QStackedWidget" name="swDetail">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
2016-03-22 07:57:36 -05:00
<horstretch>2</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2017-09-07 10:15:43 -05:00
<property name="currentIndex">
<number>2</number>
2015-04-16 11:50:07 -05:00
</property>
2017-09-07 10:15:43 -05:00
<widget class="QWidget" name="blankPage">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
2017-09-21 10:41:34 -05:00
<string><p><b>Welcome to Ostinato</b></p>
2017-09-07 10:15:43 -05:00
<p>The port list on the left contains all the ports on which you can transmit packets.</p>
<p>Ports belong to a port group. Make sure the Port Group has a <img src=":/icons/bullet_green.png"/> next to it, then double click the port group to show or hide the ports in the port group.</p>
2017-09-09 08:23:58 -05:00
<p>To generate packets, you need to create and configure packet streams. A stream is a sequence of one or more packets.</p>
2017-09-07 10:15:43 -05:00
<p>To create a stream, select the port on which you want to send packets.</p>
<hr/>
2018-12-14 11:34:47 -06:00
<p>Don't see the port that you want (or any ports at all) inside the port group? <a href="https://jump.ostinato.org/noports">Get Help!</a></p></string>
2017-09-07 10:15:43 -05:00
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="portGroupDetail">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string><p>You have selected a port group in the port list on the left.</p>
<p>You can transmit packets on any of the ports within the port group.</p>
<p>Make sure the port group has a <img src=":/icons/bullet_green.png"/> next to it and then double click the port group to show or hide the ports in the port group.</p>
2017-09-09 08:23:58 -05:00
<p>To generate packets, you need to create and configure packet streams. A stream is a sequence of one or more packets.</p>
2017-10-24 08:07:30 -05:00
<p>To create a stream, select the port on which you want to send packets. </p>
<hr/>
2018-12-14 11:34:47 -06:00
<p>Don't see the port that you want (or any ports at all) inside the port group? <a href="https://jump.ostinato.org/noports">Get Help!</a></p></string>
2017-09-07 10:15:43 -05:00
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
2017-10-24 08:07:30 -05:00
<property name="openExternalLinks">
<bool>true</bool>
</property>
2017-09-07 10:15:43 -05:00
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>177</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="portDetail">
<layout class="QVBoxLayout">
<property name="margin">
2015-04-16 11:50:07 -05:00
<number>0</number>
</property>
2016-03-04 07:11:36 -06:00
<item>
2017-09-07 10:15:43 -05:00
<widget class="QFrame" name="frame">
<property name="frameShape">
2016-03-04 07:11:36 -06:00
<enum>QFrame::Panel</enum>
</property>
2017-09-07 10:15:43 -05:00
<property name="frameShadow">
2016-03-04 07:11:36 -06:00
<enum>QFrame::Raised</enum>
</property>
2017-09-07 10:15:43 -05:00
<layout class="QHBoxLayout">
<property name="margin">
2016-03-04 07:11:36 -06:00
<number>3</number>
</property>
<item>
<spacer>
2017-09-07 10:15:43 -05:00
<property name="orientation">
2016-03-04 07:11:36 -06:00
<enum>Qt::Horizontal</enum>
</property>
2017-09-07 10:15:43 -05:00
<property name="sizeHint" stdset="0">
2016-03-04 07:11:36 -06:00
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
2017-09-14 10:08:13 -05:00
<widget class="QLabel" name="applyHint">
2017-09-07 10:15:43 -05:00
<property name="text">
2017-09-14 10:08:13 -05:00
<string>Apply Hint</string>
2017-09-07 10:15:43 -05:00
</property>
</widget>
</item>
2017-09-14 10:08:13 -05:00
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
2017-09-07 10:15:43 -05:00
<item>
<widget class="QPushButton" name="pbApply">
<property name="text">
2016-03-04 07:11:36 -06:00
<string>Apply</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
2017-09-07 10:15:43 -05:00
<widget class="QTabWidget" name="portConfig">
<property name="currentIndex">
2016-02-02 07:13:48 -06:00
<number>0</number>
</property>
2017-09-07 10:15:43 -05:00
<widget class="QWidget" name="streamsTab">
<attribute name="title">
2016-02-02 07:13:48 -06:00
<string>Streams</string>
</attribute>
2017-09-07 10:15:43 -05:00
<layout class="QVBoxLayout">
2015-04-16 11:50:07 -05:00
<item>
2017-09-07 10:15:43 -05:00
<layout class="QHBoxLayout">
2016-02-02 07:13:48 -06:00
<item>
2017-09-07 10:15:43 -05:00
<widget class="QRadioButton" name="radioButton">
<property name="text">
2016-03-04 07:11:36 -06:00
<string>Avg pps</string>
</property>
2017-09-07 10:15:43 -05:00
<property name="checked">
2016-03-04 07:11:36 -06:00
<bool>true</bool>
2016-02-02 07:13:48 -06:00
</property>
2016-03-04 07:11:36 -06:00
</widget>
</item>
<item>
2017-09-07 10:15:43 -05:00
<widget class="QLineEdit" name="averagePacketsPerSec"/>
2016-03-04 07:11:36 -06:00
</item>
<item>
2017-09-07 10:15:43 -05:00
<widget class="QRadioButton" name="radioButton_2">
<property name="text">
2016-03-04 07:11:36 -06:00
<string>Avg bps</string>
2016-02-02 07:13:48 -06:00
</property>
2016-03-04 07:11:36 -06:00
</widget>
</item>
<item>
2017-09-07 10:15:43 -05:00
<widget class="QLineEdit" name="averageBitsPerSec">
<property name="enabled">
2016-03-04 07:11:36 -06:00
<bool>false</bool>
2016-02-02 07:13:48 -06:00
</property>
</widget>
</item>
<item>
2016-03-04 07:11:36 -06:00
<spacer>
2017-09-07 10:15:43 -05:00
<property name="orientation">
2016-03-04 07:11:36 -06:00
<enum>Qt::Horizontal</enum>
</property>
2017-09-07 10:15:43 -05:00
<property name="sizeHint" stdset="0">
2016-03-04 07:11:36 -06:00
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
2016-02-02 07:13:48 -06:00
</item>
</layout>
</item>
<item>
2017-09-09 08:23:58 -05:00
<widget class="XTableView" name="tvStreamList">
2017-09-07 10:15:43 -05:00
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
2016-02-02 07:13:48 -06:00
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
2017-09-07 10:15:43 -05:00
<property name="contextMenuPolicy">
2016-02-02 07:13:48 -06:00
<enum>Qt::ActionsContextMenu</enum>
</property>
2017-09-09 08:23:58 -05:00
<property name="whatsThis">
<string>This is the stream list for the selected port
A stream is a sequence of one or more packets
Right-click to create a stream</string>
</property>
2017-09-07 10:15:43 -05:00
<property name="frameShape">
2016-02-02 07:13:48 -06:00
<enum>QFrame::StyledPanel</enum>
</property>
2017-09-07 10:15:43 -05:00
<property name="lineWidth">
2016-02-02 07:13:48 -06:00
<number>1</number>
</property>
2017-09-07 10:15:43 -05:00
<property name="selectionMode">
2016-02-02 07:13:48 -06:00
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
2017-09-07 10:15:43 -05:00
<property name="selectionBehavior">
2016-02-02 07:13:48 -06:00
<enum>QAbstractItemView::SelectRows</enum>
2015-04-16 11:50:07 -05:00
</property>
</widget>
</item>
2016-02-02 07:13:48 -06:00
</layout>
</widget>
2017-09-07 10:15:43 -05:00
<widget class="QWidget" name="devicesTab">
<attribute name="title">
2016-02-02 07:13:48 -06:00
<string>Devices</string>
</attribute>
2017-09-07 10:15:43 -05:00
<layout class="QVBoxLayout">
2016-03-04 07:11:36 -06:00
<item>
2017-09-07 10:15:43 -05:00
<widget class="DevicesWidget" name="devicesWidget" native="true"/>
2015-04-16 11:50:07 -05:00
</item>
</layout>
2016-02-02 07:13:48 -06:00
</widget>
2015-04-16 11:50:07 -05:00
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
</item>
</layout>
2017-09-07 10:15:43 -05:00
<action name="actionNew_Port_Group">
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/portgroup_add.png</normaloff>:/icons/portgroup_add.png</iconset>
2015-04-16 11:50:07 -05:00
</property>
2017-09-07 10:15:43 -05:00
<property name="text">
2015-04-16 11:50:07 -05:00
<string>New Port Group</string>
</property>
</action>
2017-09-07 10:15:43 -05:00
<action name="actionDelete_Port_Group">
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/portgroup_delete.png</normaloff>:/icons/portgroup_delete.png</iconset>
2015-04-16 11:50:07 -05:00
</property>
2017-09-07 10:15:43 -05:00
<property name="text">
2015-04-16 11:50:07 -05:00
<string>Delete Port Group</string>
</property>
</action>
2017-09-07 10:15:43 -05:00
<action name="actionConnect_Port_Group">
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/portgroup_connect.png</normaloff>:/icons/portgroup_connect.png</iconset>
2015-04-16 11:50:07 -05:00
</property>
2017-09-07 10:15:43 -05:00
<property name="text">
2015-04-16 11:50:07 -05:00
<string>Connect Port Group</string>
</property>
</action>
2017-09-07 10:15:43 -05:00
<action name="actionDisconnect_Port_Group">
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/portgroup_disconnect.png</normaloff>:/icons/portgroup_disconnect.png</iconset>
2015-04-16 11:50:07 -05:00
</property>
2017-09-07 10:15:43 -05:00
<property name="text">
2015-04-16 11:50:07 -05:00
<string>Disconnect Port Group</string>
</property>
</action>
2017-09-07 10:15:43 -05:00
<action name="actionNew_Stream">
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/stream_add.png</normaloff>:/icons/stream_add.png</iconset>
2015-04-16 11:50:07 -05:00
</property>
2017-09-07 10:15:43 -05:00
<property name="text">
2015-04-16 11:50:07 -05:00
<string>New Stream</string>
</property>
</action>
2017-09-07 10:15:43 -05:00
<action name="actionDelete_Stream">
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/stream_delete.png</normaloff>:/icons/stream_delete.png</iconset>
2015-04-16 11:50:07 -05:00
</property>
2017-09-07 10:15:43 -05:00
<property name="text">
2015-04-16 11:50:07 -05:00
<string>Delete Stream</string>
</property>
</action>
2017-09-07 10:15:43 -05:00
<action name="actionEdit_Stream">
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/stream_edit.png</normaloff>:/icons/stream_edit.png</iconset>
2015-04-16 11:50:07 -05:00
</property>
2017-09-07 10:15:43 -05:00
<property name="text">
2015-04-16 11:50:07 -05:00
<string>Edit Stream</string>
</property>
</action>
2017-09-07 10:15:43 -05:00
<action name="actionExclusive_Control">
<property name="checkable">
2015-04-16 11:50:07 -05:00
<bool>true</bool>
</property>
2017-09-07 10:15:43 -05:00
<property name="text">
2015-04-16 11:50:07 -05:00
<string>Exclusive Port Control (EXPERIMENTAL)</string>
</property>
</action>
2017-09-07 10:15:43 -05:00
<action name="actionOpen_Streams">
<property name="text">
2015-04-16 11:50:07 -05:00
<string>Open Streams ...</string>
</property>
</action>
2017-09-07 10:15:43 -05:00
<action name="actionSave_Streams">
<property name="text">
2015-04-16 11:50:07 -05:00
<string>Save Streams ...</string>
</property>
</action>
2017-09-07 10:15:43 -05:00
<action name="actionPort_Configuration">
<property name="text">
2015-04-16 11:50:07 -05:00
<string>Port Configuration ...</string>
</property>
</action>
2017-09-07 10:15:43 -05:00
<action name="actionDuplicate_Stream">
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/stream_duplicate.png</normaloff>:/icons/stream_duplicate.png</iconset>
2015-04-16 11:50:07 -05:00
</property>
2017-09-07 10:15:43 -05:00
<property name="text">
2015-04-16 11:50:07 -05:00
<string>Duplicate Stream</string>
</property>
</action>
</widget>
2016-03-13 09:21:32 -05:00
<customwidgets>
<customwidget>
<class>DevicesWidget</class>
<extends>QWidget</extends>
<header>deviceswidget.h</header>
<container>1</container>
</customwidget>
2017-09-09 02:43:52 -05:00
<customwidget>
<class>XTreeView</class>
<extends>QTreeView</extends>
<header>xtreeview.h</header>
</customwidget>
2017-09-09 08:23:58 -05:00
<customwidget>
<class>XTableView</class>
<extends>QTableView</extends>
<header>xtableview.h</header>
</customwidget>
2016-03-13 09:21:32 -05:00
</customwidgets>
2015-04-16 11:50:07 -05:00
<resources>
2017-09-07 10:15:43 -05:00
<include location="ostinato.qrc"/>
2015-04-16 11:50:07 -05:00
</resources>
<connections>
<connection>
<sender>radioButton</sender>
<signal>toggled(bool)</signal>
<receiver>averagePacketsPerSec</receiver>
<slot>setEnabled(bool)</slot>
<hints>
2017-09-07 10:15:43 -05:00
<hint type="sourcelabel">
2016-03-04 07:11:36 -06:00
<x>326</x>
<y>80</y>
2015-04-16 11:50:07 -05:00
</hint>
2017-09-07 10:15:43 -05:00
<hint type="destinationlabel">
2016-03-04 07:11:36 -06:00
<x>454</x>
<y>79</y>
2015-04-16 11:50:07 -05:00
</hint>
</hints>
</connection>
<connection>
<sender>radioButton_2</sender>
<signal>toggled(bool)</signal>
<receiver>averageBitsPerSec</receiver>
<slot>setEnabled(bool)</slot>
<hints>
2017-09-07 10:15:43 -05:00
<hint type="sourcelabel">
2016-03-04 07:11:36 -06:00
<x>523</x>
<y>80</y>
2015-04-16 11:50:07 -05:00
</hint>
2017-09-07 10:15:43 -05:00
<hint type="destinationlabel">
2016-03-04 07:11:36 -06:00
<x>651</x>
<y>88</y>
2015-04-16 11:50:07 -05:00
</hint>
</hints>
</connection>
</connections>
</ui>