c8cad99515
Merge in the old ColorDialog which was a placeholder for color_filter_add_cb. Change-Id: I48d188509f480b8514122b4011ac9d8790fcca10 Reviewed-on: https://code.wireshark.org/review/6996 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
507 lines
14 KiB
XML
507 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>IOGraphDialog</class>
|
|
<widget class="QDialog" name="IOGraphDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>850</width>
|
|
<height>640</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Dialog</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QCustomPlot" name="ioPlot" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>4</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
</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>+</th><td>Zoom in</td></th>
|
|
<tr><th>-</th><td>Zoom out</td></th>
|
|
<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>
|
|
|
|
<tr><th>z</th><td>Toggle mouse drag / zoom</td></th>
|
|
<tr><th>t</th><td>Toggle capture / session time origin</td></th>
|
|
<tr><th>Space</th><td>Toggle crosshairs</td></th>
|
|
|
|
</tbody></table>
|
|
</body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTreeWidget" name="graphTreeWidget">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>1</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<column>
|
|
<property name="text">
|
|
<string>Name</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Display filter</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Color</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Style</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Y Axis</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Y Field</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Smoothing</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QToolButton" name="newToolButton">
|
|
<property name="toolTip">
|
|
<string>Add a new graph.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../image/toolbar.qrc">
|
|
<normaloff>:/stock/plus-8.png</normaloff>:/stock/plus-8.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="deleteToolButton">
|
|
<property name="toolTip">
|
|
<string>Remove this graph.</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../image/toolbar.qrc">
|
|
<normaloff>:/stock/minus-8.png</normaloff>:/stock/minus-8.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="copyToolButton">
|
|
<property name="toolTip">
|
|
<string>Duplicate this graph.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../image/toolbar.qrc">
|
|
<normaloff>:/stock/copy-8.png</normaloff>:/stock/copy-8.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_4">
|
|
<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="QLabel" name="mouseLabel">
|
|
<property name="text">
|
|
<string>Mouse</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="dragRadioButton">
|
|
<property name="toolTip">
|
|
<string>Drag using the mouse button.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>drags</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="zoomRadioButton">
|
|
<property name="toolTip">
|
|
<string>Select using the mouse button.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>zooms</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<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="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Interval</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="intervalComboBox"/>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<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="QCheckBox" name="todCheckBox">
|
|
<property name="text">
|
|
<string>Time of day</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_5">
|
|
<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="QCheckBox" name="logCheckBox">
|
|
<property name="text">
|
|
<string>Log scale</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<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>
|
|
<item>
|
|
<widget class="QPushButton" name="resetButton">
|
|
<property name="text">
|
|
<string>Reset</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Close|QDialogButtonBox::Help|QDialogButtonBox::Save</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
<action name="actionReset">
|
|
<property name="text">
|
|
<string>Reset Graph</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Reset the graph to its initial state.</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>0</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionZoomIn">
|
|
<property name="text">
|
|
<string>Zoom In</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Zoom In</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>+</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionZoomOut">
|
|
<property name="text">
|
|
<string>Zoom Out</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Zoom Out</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>-</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="actionDragZoom">
|
|
<property name="text">
|
|
<string>Drag / Zoom</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Toggle mouse drag / zoom behavior</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Z</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionToggleTimeOrigin">
|
|
<property name="text">
|
|
<string>Capture / Session Time Origin</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Toggle capture / session time origin</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>T</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionCrosshairs">
|
|
<property name="text">
|
|
<string>Crosshairs</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Toggle crosshairs</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Space</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>
|
|
<include location="../../image/toolbar.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>IOGraphDialog</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>IOGraphDialog</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>
|