forked from osmocom/wireshark
c6f328c6a9
Disable QAbstractItemView's alternatingRowColors in places where we have that set. One of Wireshark's most heavily used features is packet colorization; we use color in packet list and detail rows to convey information. Simple alternating color rows doesn't do that, and as my blatant appeal to authority^W^W^W^W^WEdward Tufte points out, "Strips are merely bureaucratic or designer chartjunk; good typography can always organize a table, no stripes needed." https://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001IV
272 lines
7.2 KiB
XML
272 lines
7.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ResolvedAddressesDialog</class>
|
|
<widget class="QDialog" name="ResolvedAddressesDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>620</width>
|
|
<height>450</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Dialog</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="tab">
|
|
<attribute name="title">
|
|
<string>Hosts</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLineEdit" name="txtSearchFilter">
|
|
<property name="placeholderText">
|
|
<string>Search for entry (min 3 characters)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="cmbDataType"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QTableView" name="tblAddresses">
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="sortingEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
|
|
<bool>true</bool>
|
|
</attribute>
|
|
<attribute name="verticalHeaderVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_3">
|
|
<attribute name="title">
|
|
<string>Ports</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLineEdit" name="txtPortFilter">
|
|
<property name="placeholderText">
|
|
<string>Search for port or name</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="cmbPortFilterType"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QTableView" name="tblPorts">
|
|
<property name="sortingEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<attribute name="verticalHeaderVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_2">
|
|
<attribute name="title">
|
|
<string>Capture File Comments</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<widget class="QPlainTextEdit" name="plainTextEdit"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Close</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
<action name="actionComment">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Comment</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show the comment.</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionIPv4HashTable">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>IPv4 Hash Table</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show the IPv4 hash table entries.</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionIPv6HashTable">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>IPv6 Hash Table</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show the IPv6 hash table entries.</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionShowAll">
|
|
<property name="text">
|
|
<string>Show All</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show all address types.</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionHideAll">
|
|
<property name="text">
|
|
<string>Hide All</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Hide all address types.</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionAddressesHosts">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>IPv4 and IPv6 Addresses (hosts)</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show resolved IPv4 and IPv6 host names in "hosts" format.</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionPortNames">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Port names (services)</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show resolved port names in "services" format.</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEthernetAddresses">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Ethernet Addresses</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show resolved Ethernet addresses in "ethers" format.</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEthernetWKA">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Ethernet Well-Known Addresses</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show well-known Ethernet addresses in "ethers" format.</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEthernetManufacturers">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Ethernet Manufacturers</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show Ethernet manufacturers in "ethers" format.</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>ResolvedAddressesDialog</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>ResolvedAddressesDialog</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>
|