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
158 lines
3.9 KiB
XML
158 lines
3.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>SCTPChunkStatisticsDialog</class>
|
|
<widget class="QDialog" name="SCTPChunkStatisticsDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>830</width>
|
|
<height>673</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Dialog</string>
|
|
</property>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>510</x>
|
|
<y>610</y>
|
|
<width>311</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Close</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTableWidget" name="tableWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>10</y>
|
|
<width>831</width>
|
|
<height>591</height>
|
|
</rect>
|
|
</property>
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
<property name="rowCount">
|
|
<number>0</number>
|
|
</property>
|
|
<attribute name="horizontalHeaderCascadingSectionResizes">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<attribute name="horizontalHeaderStretchLastSection">
|
|
<bool>true</bool>
|
|
</attribute>
|
|
<attribute name="verticalHeaderCascadingSectionResizes">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<column>
|
|
<property name="text">
|
|
<string>Association</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Endpoint 1</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Endpoint 2</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>610</y>
|
|
<width>381</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save Chunk Type Order</string>
|
|
</property>
|
|
</widget>
|
|
<action name="actionHideChunkType">
|
|
<property name="text">
|
|
<string>Hide Chunk Type</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Remove the chunk type from the table</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionChunkTypePreferences">
|
|
<property name="text">
|
|
<string>Chunk Type Preferences</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Go to the chunk type preferences dialog to show or hide other chunk types</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionShowAllChunkTypes">
|
|
<property name="text">
|
|
<string>Show All Registered Chunk Types</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show all chunk types with defined names</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>clicked(QAbstractButton*)</signal>
|
|
<receiver>SCTPChunkStatisticsDialog</receiver>
|
|
<slot>close()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>456</x>
|
|
<y>483</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>445</x>
|
|
<y>563</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>clicked(QAbstractButton*)</signal>
|
|
<receiver>SCTPChunkStatisticsDialog</receiver>
|
|
<slot>close()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>357</x>
|
|
<y>486</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>355</x>
|
|
<y>542</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|