![Gerald Combs](/assets/img/avatar_default.png)
Make the Sequence, IO Graph, Statistics Tree, and VoIP Calls dialogs subclasses of WiresharkDialog. Remove "Stats Tree" from Statistics Tree dialog titles. Don't complain if the user opens more than one instance of the dialog. Use the applicationName property in WiresharkApplication instead of a separate variable. Add a preexisting item to the IO Graph bug list (hovering when the file is closed clears the graph). Change-Id: I8411a25305d00b16e0d4a82fa50a9bad5c85b239 Reviewed-on: https://code.wireshark.org/review/6125 Reviewed-by: Gerald Combs <gerald@wireshark.org>
400 lines
11 KiB
XML
400 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>SequenceDialog</class>
|
|
<widget class="QDialog" name="SequenceDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>679</width>
|
|
<height>568</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="1,0,0,0">
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QCustomPlot" name="sequencePlot" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>1</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QScrollBar" name="verticalScrollBar">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QScrollBar" name="horizontalScrollBar">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QFrame" name="frame"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="ElidedLabel" name="hintLabel">
|
|
<property name="toolTip">
|
|
<string><html><head/><body>
|
|
|
|
<h3>Valuable and amazing time-saving keyboard shortcuts</h3>
|
|
<table><tbody>
|
|
|
|
<tr><th>0</th><td>Reset graph to its initial state</td></th>
|
|
|
|
<tr><th>→</th><td>Move right 10 pixels</td></th>
|
|
<tr><th>←</th><td>Move left 10 pixels</td></th>
|
|
<tr><th>↑</th><td>Move up 10 pixels</td></th>
|
|
<tr><th>↓</th><td>Move down 10 pixels</td></th>
|
|
<tr><th><i>Shift+</i>→</th><td>Move right 1 pixel</td></th>
|
|
<tr><th><i>Shift+</i>←</th><td>Move left 1 pixel</td></th>
|
|
<tr><th><i>Shift+</i>↑</th><td>Move up 1 pixel</td></th>
|
|
<tr><th><i>Shift+</i>↓</th><td>Move down 1 pixel</td></th>
|
|
|
|
<tr><th>g</th><td>Go to packet under cursor</td></th>
|
|
|
|
</tbody></table>
|
|
</body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string><small><i>A hint</i></small></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="controlFrame">
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="lineWidth">
|
|
<number>0</number>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<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>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Show:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="showComboBox">
|
|
<item>
|
|
<property name="text">
|
|
<string>All packets</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Displayed packets</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>13</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="flowLabel">
|
|
<property name="text">
|
|
<string>Flow type:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="flowComboBox"/>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>13</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Addresses:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="addressComboBox">
|
|
<item>
|
|
<property name="text">
|
|
<string>Any</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Network</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<spacer name="horizontalSpacer_3">
|
|
<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="QPushButton" name="resetButton">
|
|
<property name="text">
|
|
<string>Reset</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok|QDialogButtonBox::Save</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
<action name="actionReset">
|
|
<property name="text">
|
|
<string>Reset Diagram</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Reset the diagram to its initial state.</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>0</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionMoveUp10">
|
|
<property name="text">
|
|
<string>Move Up 10 Pixels</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Move Up 10 Pixels</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Up</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionMoveLeft10">
|
|
<property name="text">
|
|
<string>Move Left 10 Pixels</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Move Left 10 Pixels</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Left</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionMoveRight10">
|
|
<property name="text">
|
|
<string>Move Right 10 Pixels</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Move Right 10 Pixels</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Right</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionMoveDown10">
|
|
<property name="text">
|
|
<string>Move Down 10 Pixels</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Move Down 10 Pixels</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Down</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionMoveUp1">
|
|
<property name="text">
|
|
<string>Move Up 1 Pixel</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Move Up 1 Pixel</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Shift+Up</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionMoveLeft1">
|
|
<property name="text">
|
|
<string>Move Left 1 Pixel</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Move Left 1 Pixel</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Shift+Left</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionMoveRight1">
|
|
<property name="text">
|
|
<string>Move Right 1 Pixel</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Move Right 1 Pixel</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Shift+Right</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionMoveDown1">
|
|
<property name="text">
|
|
<string>Move Down 1 Pixel</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Move Down 1 Pixel</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Shift+Down</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionGoToPacket">
|
|
<property name="text">
|
|
<string>Go To Packet Under Cursor</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Go to packet currently under the cursor</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>G</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFlowAny">
|
|
<property name="text">
|
|
<string>All Flows</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show flows for all packets</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>1</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFlowTcp">
|
|
<property name="text">
|
|
<string>TCP Flows</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show only TCP flow information</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>1</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>QCustomPlot</class>
|
|
<extends>QWidget</extends>
|
|
<header>qcustomplot.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>ElidedLabel</class>
|
|
<extends>QLabel</extends>
|
|
<header>elided_label.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>SequenceDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>248</x>
|
|
<y>254</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>SequenceDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>316</x>
|
|
<y>260</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|