wireshark/ui/qt/layout_preferences_frame.ui
Jim Young d42042fcbb Qt: Add checkbox for enabling/disabling packet-list hover_style
At times the presence of the packet-list hover_style colorization can make
it difficult to determine the state of the packet directly under the mouse
cursor. This forces the user to move the mouse cursor away from the
packet-list row to reveal the next colorization state. The packet-list row
colorization style precedence, from highest to lowest, is: hover_style,
Selected, Ignored, Marked and then coloring rules.

This patch adds a new 'Packet List settings:' checkbox option 'Enable
mouse-over colorization'. By default the supporting preference
`gui.packet_list_hover_style.enabled` will be enabled (TRUE). When this
checkbox is disabled, the packet-list hover_style (mouse-over)
colorization will not be used.
2021-04-21 08:36:27 +00:00

475 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>LayoutPreferencesFrame</class>
<widget class="QFrame" name="LayoutPreferencesFrame">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>414</width>
<height>409</height>
</rect>
</property>
<property name="windowTitle">
<string>Frame</string>
</property>
<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_4">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QToolButton" name="layout5ToolButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../image/layout.qrc">
<normaloff>:/layout/layout_5.png</normaloff>:/layout/layout_5.png</iconset>
</property>
<property name="iconSize">
<size>
<width>48</width>
<height>48</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<attribute name="buttonGroup">
<string notr="true">layoutButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QToolButton" name="layout2ToolButton">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../image/layout.qrc">
<normaloff>:/layout/layout_2.png</normaloff>:/layout/layout_2.png</iconset>
</property>
<property name="iconSize">
<size>
<width>48</width>
<height>48</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<attribute name="buttonGroup">
<string notr="true">layoutButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QToolButton" name="layout1ToolButton">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../image/layout.qrc">
<normaloff>:/layout/layout_1.png</normaloff>:/layout/layout_1.png</iconset>
</property>
<property name="iconSize">
<size>
<width>48</width>
<height>48</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<attribute name="buttonGroup">
<string notr="true">layoutButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QToolButton" name="layout4ToolButton">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../image/layout.qrc">
<normaloff>:/layout/layout_4.png</normaloff>:/layout/layout_4.png</iconset>
</property>
<property name="iconSize">
<size>
<width>48</width>
<height>48</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<attribute name="buttonGroup">
<string notr="true">layoutButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QToolButton" name="layout3ToolButton">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../image/layout.qrc">
<normaloff>:/layout/layout_3.png</normaloff>:/layout/layout_3.png</iconset>
</property>
<property name="iconSize">
<size>
<width>48</width>
<height>48</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<attribute name="buttonGroup">
<string notr="true">layoutButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QToolButton" name="layout6ToolButton">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../image/layout.qrc">
<normaloff>:/layout/layout_6.png</normaloff>:/layout/layout_6.png</iconset>
</property>
<property name="iconSize">
<size>
<width>48</width>
<height>48</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<attribute name="buttonGroup">
<string notr="true">layoutButtonGroup</string>
</attribute>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Pane 1:</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="pane1PacketListRadioButton">
<property name="text">
<string>Packet List</string>
</property>
<attribute name="buttonGroup">
<string notr="true">pane1ButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="pane1PacketDetailsRadioButton">
<property name="text">
<string>Packet Details</string>
</property>
<attribute name="buttonGroup">
<string notr="true">pane1ButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="pane1PacketBytesRadioButton">
<property name="text">
<string>Packet Bytes</string>
</property>
<attribute name="buttonGroup">
<string notr="true">pane1ButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="pane1PacketDiagramRadioButton">
<property name="text">
<string>Packet Diagram</string>
</property>
<attribute name="buttonGroup">
<string notr="true">pane1ButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="pane1NoneRadioButton">
<property name="text">
<string>None</string>
</property>
<attribute name="buttonGroup">
<string notr="true">pane1ButtonGroup</string>
</attribute>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Pane 2:</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="pane2PacketListRadioButton">
<property name="text">
<string>Packet List</string>
</property>
<attribute name="buttonGroup">
<string notr="true">pane2ButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="pane2PacketDetailsRadioButton">
<property name="text">
<string>Packet Details</string>
</property>
<attribute name="buttonGroup">
<string notr="true">pane2ButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="pane2PacketBytesRadioButton">
<property name="text">
<string>Packet Bytes</string>
</property>
<attribute name="buttonGroup">
<string notr="true">pane2ButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="pane2PacketDiagramRadioButton">
<property name="text">
<string>Packet Diagram</string>
</property>
<attribute name="buttonGroup">
<string notr="true">pane2ButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="pane2NoneRadioButton">
<property name="text">
<string>None</string>
</property>
<attribute name="buttonGroup">
<string notr="true">pane2ButtonGroup</string>
</attribute>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Pane 3:</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="pane3PacketListRadioButton">
<property name="text">
<string>Packet List</string>
</property>
<attribute name="buttonGroup">
<string notr="true">pane3ButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="pane3PacketDetailsRadioButton">
<property name="text">
<string>Packet Details</string>
</property>
<attribute name="buttonGroup">
<string notr="true">pane3ButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="pane3PacketBytesRadioButton">
<property name="text">
<string>Packet Bytes</string>
</property>
<attribute name="buttonGroup">
<string notr="true">pane3ButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="pane3PacketDiagramRadioButton">
<property name="text">
<string>Packet Diagram</string>
</property>
<attribute name="buttonGroup">
<string notr="true">pane3ButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="pane3NoneRadioButton">
<property name="text">
<string>None</string>
</property>
<attribute name="buttonGroup">
<string notr="true">pane3ButtonGroup</string>
</attribute>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="packetListSettings">
<property name="text">
<string>Packet List settings:</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="packetListSeparatorCheckBox">
<property name="text">
<string>Show packet separator</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="packetListHeaderShowColumnDefinition">
<property name="text">
<string>Show column definition in column context menu</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="packetListHoverStyleCheckbox">
<property name="text">
<string>Enable mouse-over colorization</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="statusBarSettings">
<property name="text">
<string>Status Bar settings:</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="statusBarShowSelectedPacketCheckBox">
<property name="text">
<string>Show selected packet number</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="statusBarShowFileLoadTimeCheckBox">
<property name="text">
<string>Show file load time</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>68</width>
<height>13</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QDialogButtonBox" name="restoreButtonBox">
<property name="standardButtons">
<set>QDialogButtonBox::RestoreDefaults</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="../../image/layout.qrc"/>
</resources>
<connections/>
<buttongroups>
<buttongroup name="layoutButtonGroup"/>
<buttongroup name="pane3ButtonGroup"/>
<buttongroup name="pane2ButtonGroup"/>
<buttongroup name="pane1ButtonGroup"/>
</buttongroups>
</ui>