ostinato/client/portstatswindow.ui
Srivats P 6791eb06dd Change port stats to use XTableView to support copy paste
Also fix plain text copy to only include selected column headers if the
selection behaviour is SelectColumns
2020-03-20 22:15:13 +05:30

303 lines
9.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PortStatsWindow</class>
<widget class="QWidget" name="PortStatsWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>502</width>
<height>415</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout">
<item>
<widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::Panel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Transmit</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbStartTransmit">
<property name="toolTip">
<string>Start Tx</string>
</property>
<property name="statusTip">
<string>Starts transmit on selected port(s)</string>
</property>
<property name="text">
<string>Start</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="tbStopTransmit">
<property name="toolTip">
<string>Stop Tx</string>
</property>
<property name="statusTip">
<string>Stops transmit on selected port(s)</string>
</property>
<property name="text">
<string>Stop</string>
</property>
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/control_stop.png</normaloff>:/icons/control_stop.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Stats</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbGetStreamStats" >
<property name="toolTip" >
<string>Fetch Selected Port Stream Stats</string>
</property>
<property name="statusTip" >
<string>Fetches stream statistics from the selected port(s)</string>
</property>
<property name="text" >
<string>Fetch Stream Stats</string>
</property>
<property name="icon" >
<iconset resource="ostinato.qrc" >:/icons/stream_stats.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbClear">
<property name="toolTip">
<string>Clear Selected Port Stats</string>
</property>
<property name="statusTip">
<string>Clears statistics of the selected port(s)</string>
</property>
<property name="text">
<string>Clear</string>
</property>
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/portstats_clear.png</normaloff>:/icons/portstats_clear.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbClearAll">
<property name="toolTip">
<string>Clear All Ports Stats</string>
</property>
<property name="statusTip">
<string>Clears statistics of all ports</string>
</property>
<property name="text">
<string>Clear All</string>
</property>
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/portstats_clear_all.png</normaloff>:/icons/portstats_clear_all.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Capture</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbStartCapture" >
<property name="toolTip" >
<string>Start Capture</string>
</property>
<property name="statusTip">
<string>Captures packets on the selected port(s)</string>
</property>
<property name="text">
<string>Start</string>
</property>
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/sound_none.png</normaloff>:/icons/sound_none.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbStopCapture">
<property name="toolTip">
<string>Stop Capture</string>
</property>
<property name="statusTip">
<string>End capture on selecteed port(s)</string>
</property>
<property name="text">
<string>Stop</string>
</property>
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/sound_mute.png</normaloff>:/icons/sound_mute.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbViewCapture">
<property name="toolTip">
<string>View Capture Buffer</string>
</property>
<property name="statusTip">
<string>View captured packets on selected port(s)</string>
</property>
<property name="text">
<string>View</string>
</property>
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/magnifier.png</normaloff>:/icons/magnifier.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>ARP/ND</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbResolveNeighbors">
<property name="toolTip">
<string>Resolve Neighbors</string>
</property>
<property name="statusTip">
<string>Resolve Device Neighbors on selected port(s)</string>
</property>
<property name="text">
<string>Resolve Neighbors</string>
</property>
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/neighbor_resolve.png</normaloff>:/icons/neighbor_resolve.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbClearNeighbors">
<property name="toolTip">
<string>Clear Neighbors</string>
</property>
<property name="statusTip">
<string>Clear Device Neighbors on selected port(s)</string>
</property>
<property name="text">
<string>Clear Neighbors</string>
</property>
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/neighbor_clear.png</normaloff>:/icons/neighbor_clear.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</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>
<item>
<widget class="QToolButton" name="tbFilter">
<property name="statusTip">
<string>Select which ports to view</string>
</property>
<property name="text">
<string>Filter</string>
</property>
<property name="icon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/portstats_filter.png</normaloff>:/icons/portstats_filter.png</iconset>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="XTableView" name="tvPortStats">
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectColumns</enum>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>XTableView</class>
<extends>QTableView</extends>
<header>xtableview.h</header>
</customwidget>
</customwidgets>
<resources>
<include location="ostinato.qrc"/>
</resources>
<connections/>
</ui>