wireshark/ui/qt/models
John Thacker 33493cb602 Qt: Fix conversation dialog timeline graph columns
Remove the separate copy of the conversation column type
enum in ConversationDialog. It doesn't correspond to the
enum in ATapDataModel, because it doesn't include the
Conversation ID and Total columns.

Delegates set to the Traffic Tree (a QTreeView) apply to
the displayed column number, not the what is displayed
in the column. That is, when columns are hidden (filtered),
the delegates stay with the old column number and end up
being displayed on new content. That's not what we want;
we want to always have the timeline graph on the Start and
Duration columns. Moving around the Delegate depending on
which columns are filtered is complicated; just set the
TimeLine delegate to the entire TrafficTree, and use the
default paint if we're on any column other than Start or
Duration. This does mean that we don't need to store a
map of Delegates.

Use a slightly different way to get TimelineDelegate to
paint the rect with no text using the current style, so
we can use the default paint with text for other columns.

The timeline graph needs to get the value of the Start and
Duration columns as filtered by the proxy column, so have
the model pass in indices so that they can be mapped to
the current displayed column.

Have the timeline graph apply to just the Start or just the
Duration column if only one is visible.

Together these compute the proper pixel values to apply
the timeline graph to the Start and Duration columns regardless
of which columns are displayed and which are filtered, in any
tab, regardless of what optional columns appear in that tab.

Fix #18860
2023-02-22 02:38:12 +00:00
..
astringlist_list_model.cpp Qt: Speedup for Resolved Addresses Dlg 2022-05-16 15:07:47 +00:00
astringlist_list_model.h Qt: Speedup for Resolved Addresses Dlg 2022-05-16 15:07:47 +00:00
atap_data_model.cpp Qt: Conversation/Endpoint table Filter by different QVariant types 2023-01-17 16:47:19 +00:00
atap_data_model.h Qt: Add GeoIP latitude and longitude to Endpoints table 2022-11-10 17:48:29 +00:00
cache_proxy_model.cpp Qt: Switch models and DataPrinter to new-style signals and slots. 2018-12-24 07:38:21 +00:00
cache_proxy_model.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
coloring_rules_delegate.cpp Remove modelines in ui/qt. 2021-03-08 18:11:32 +00:00
coloring_rules_delegate.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
coloring_rules_model.cpp Qt6: add toInt() to QVariant == Qt::Checked 2022-09-14 20:49:54 +00:00
coloring_rules_model.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
column_list_model.cpp epan: Rearrange column includes 2022-08-13 19:37:28 +00:00
column_list_model.h Qt: Support setting columns as un/resolved via Edit Preferences 2022-07-01 11:22:59 +00:00
credentials_model.cpp Qt: Plug credentials model memory leak 2023-01-17 13:25:02 +00:00
credentials_model.h Qt: Plug credentials model memory leak 2023-01-17 13:25:02 +00:00
decode_as_delegate.cpp Qt: Fix memory leak in Decode As 2022-09-14 12:43:55 +00:00
decode_as_delegate.h Qt: Fix memory leak in Decode As 2022-09-14 12:43:55 +00:00
decode_as_model.cpp Clarify dissector description, protocol short name, and protocol ong name. 2022-09-13 00:47:24 -07:00
decode_as_model.h Clarify dissector description, protocol short name, and protocol ong name. 2022-09-13 00:47:24 -07:00
dissector_tables_model.cpp Clarify dissector description, protocol short name, and protocol ong name. 2022-09-13 00:47:24 -07:00
dissector_tables_model.h Clarify dissector description, protocol short name, and protocol ong name. 2022-09-13 00:47:24 -07:00
enabled_protocols_model.cpp Qt: enabled/disabled protocols filtered list enable/disabled 2022-09-30 22:46:16 -05:00
enabled_protocols_model.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
expert_info_model.cpp Qt: Expert Info: Return TAP_PACKET_REDRAW if any ei is added 2022-08-13 10:55:32 +00:00
expert_info_model.h tap: Adding flags for tap_packet 2022-06-10 05:46:15 +00:00
expert_info_proxy_model.cpp Qt: if regex not valid don't attempt search 2022-09-22 12:47:08 -05:00
expert_info_proxy_model.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
export_objects_model.cpp Qt: Fix compilation with Qt 6.4 2022-10-01 21:53:11 +01:00
export_objects_model.h Qt: Fix export objects memory leak 2022-08-22 03:45:20 +00:00
fileset_entry_model.cpp Qt: Fix more Qt6-related warnings. 2022-03-25 12:48:01 -07:00
fileset_entry_model.h Qt: Handle qsizetype. 2022-03-25 16:51:55 +00:00
filter_list_model.cpp Qt: Fix a version check. 2022-05-11 09:21:41 -07:00
filter_list_model.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
info_proxy_model.cpp Qt: Fix more Qt6-related warnings. 2022-03-25 12:48:01 -07:00
info_proxy_model.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
interface_sort_filter_model.cpp Qt: Disable sorting for if acticity on default 2022-04-22 14:29:17 +02:00
interface_sort_filter_model.h Qt: Disable sorting for if acticity on default 2022-04-22 14:29:17 +02:00
interface_tree_cache_model.cpp Qt: Split MainApplication out from WiresharkApplication. 2022-04-04 09:39:27 -07:00
interface_tree_cache_model.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
interface_tree_model.cpp Qt: Fix clazy-incorrect-emit warnings. 2022-05-12 17:29:06 +00:00
interface_tree_model.h Qt: Remove unnecessary signal/slot 2022-04-22 09:37:10 +00:00
numeric_value_chooser_delegate.cpp Remove modelines in ui/qt. 2021-03-08 18:11:32 +00:00
numeric_value_chooser_delegate.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
packet_list_model.cpp Fix build of PacketListModel with Qt5 2023-02-20 21:34:56 -03:00
packet_list_model.h Qt: Ensure that add frame comments trigger recoloring, count updates 2023-02-17 20:49:11 -05:00
packet_list_record.cpp Qt: Allow caching columns while dissecting color 2023-01-29 10:39:06 +01:00
packet_list_record.h Qt: Ensure that add frame comments trigger recoloring, count updates 2023-02-17 20:49:11 -05:00
path_selection_delegate.cpp Qt: Fix File Path editor in table 2022-05-16 09:54:08 +00:00
path_selection_delegate.h Qt: Fix File Path editor in table 2022-05-16 09:54:08 +00:00
percent_bar_delegate.cpp Remove modelines in ui/qt. 2021-03-08 18:11:32 +00:00
percent_bar_delegate.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
pref_delegate.cpp Qt: Fix various compiler warnings. 2021-04-20 06:11:40 +00:00
pref_delegate.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
pref_models.cpp Qt: Fix more Qt6-related warnings. 2022-03-25 12:48:01 -07:00
pref_models.h Prefs/Extcap: Added support for password which is never stored on the disk 2021-12-30 16:03:15 +00:00
profile_model.cpp Fix more unused variables and enable unused-but-set-variable errors. 2022-11-08 13:49:44 -08:00
profile_model.h Qt: Convert our widgets and models to new-style signals & slots 2022-12-05 19:53:34 +00:00
proto_tree_model.cpp Qt: Fix crash when clicking on expanded entry in Expert Info Dialog 2022-11-21 20:36:41 -05:00
proto_tree_model.h Qt: Speed up ProtoTreeModel with lots of items 2022-11-14 06:28:16 -05:00
related_packet_delegate.cpp TCP: Overriding of the automatic SEQ Analysis 2022-11-01 10:01:35 +00:00
related_packet_delegate.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
resolved_addresses_models.cpp Qt: Fix resolved addresses dialog sorting, filtering, Ethernet groups 2022-09-09 01:03:36 +00:00
resolved_addresses_models.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
sparkline_delegate.cpp Remove modelines in ui/qt. 2021-03-08 18:11:32 +00:00
sparkline_delegate.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
supported_protocols_model.cpp Qt: if regex not valid don't attempt search 2022-09-22 12:47:08 -05:00
supported_protocols_model.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
timeline_delegate.cpp Qt: Fix conversation dialog timeline graph columns 2023-02-22 02:38:12 +00:00
timeline_delegate.h Qt: Fix conversation dialog timeline graph columns 2023-02-22 02:38:12 +00:00
tree_model_helpers.h Qt: Fix most of Qt6 compile warnings and issues 2022-03-25 11:16:18 -07:00
uat_delegate.cpp UAT: Have a combobox for Dissectors 2023-02-11 16:40:13 +00:00
uat_delegate.h Qt: Fix File Path editor in table 2022-05-16 09:54:08 +00:00
uat_model.cpp Qt: Fix test for appending rows to UAT tables 2023-01-13 09:02:47 +00:00
uat_model.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
url_link_delegate.cpp Qt: Use QRegularExpression instead of QRegExp 2021-11-26 09:10:42 +00:00
url_link_delegate.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
voip_calls_info_model.cpp Qt: Fix compilation with Qt 6.4 2022-10-01 21:53:11 +01:00
voip_calls_info_model.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00