wireshark/ui
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
..
cli Move ui/cmdarg_err.[ch] to wsutil 2023-02-10 20:59:22 +00:00
logray Move ui/clopts_common.[ch] to wsutil 2023-02-10 20:59:22 +00:00
macosx macos: Remove no longer needed function 2022-07-25 17:00:55 +00:00
qt Qt: Fix conversation dialog timeline graph columns 2023-02-22 02:38:12 +00:00
win32 MinGW: Disable -Wcast-function-type warnings 2023-01-14 14:52:53 +00:00
CMakeLists.txt Move ui/filter_files.[ch] to wsutil 2023-02-10 20:59:22 +00:00
alert_box.c
alert_box.h
all_files_wildcard.h
capture.c Qt+extcap: Make our capture error dialog less noisy. 2022-09-08 10:20:48 -07:00
capture.h
capture_globals.h
capture_info.h
capture_ui_utils.c
capture_ui_utils.h
commandline.c Move ui/clopts_common.[ch] to wsutil 2023-02-10 20:59:22 +00:00
commandline.h
decode_as_utils.c Move ui/cmdarg_err.[ch] to wsutil 2023-02-10 20:59:22 +00:00
decode_as_utils.h
dissect_opts.c Move ui/clopts_common.[ch] to wsutil 2023-02-10 20:59:22 +00:00
dissect_opts.h
export_pdu_ui_utils.c Move ui/version_info.[ch] to wsutil 2023-02-07 23:17:37 +00:00
export_pdu_ui_utils.h Specify directory for temporary captures 2022-02-09 14:32:28 +00:00
failure_message.c Move ui/cmdarg_err.[ch] to wsutil 2023-02-10 20:59:22 +00:00
failure_message.h
file_dialog.c
file_dialog.h
firewall_rules.c
firewall_rules.h
help_url.c Install documentation (HTML manuals) to DOCDIR 2023-01-19 01:40:59 +00:00
help_url.h Drop old unused topic actions 2022-03-06 15:10:19 +00:00
iface_lists.c Fix more unused variables and enable unused-but-set-variable errors. 2022-11-08 13:49:44 -08:00
iface_lists.h Allow to filter interface types 2022-04-19 09:19:50 +00:00
iface_toolbar.c
iface_toolbar.h
io_graph_item.c
io_graph_item.h ftypes: Make accessor functions type safe 2022-06-20 17:29:57 +00:00
language.c
language.h
last_open_dir.h
main_statusbar.h
mcast_stream.c tap: Adding flags for tap_packet 2022-06-10 05:46:15 +00:00
mcast_stream.h
packet_list_utils.c epan: Allow FT_IPv4, FT_IPv6 custom columns to be resolved or not. 2022-12-26 16:12:19 +00:00
packet_list_utils.h Ui: Centralize PacketList helper prototypes 2022-06-29 09:31:09 +00:00
packet_range.c
packet_range.h
persfilepath_opt.c
persfilepath_opt.h
preference_utils.c ui: Check occurrence when check for existing custom column 2023-01-17 08:34:09 +00:00
preference_utils.h Qt: Add resolved button to Edit Columns 2022-06-30 08:28:54 -04:00
profile.c
profile.h
progress_dlg.h
proto_hier_stats.c Proto hierarchy stats: obtain capture file read lock 2023-01-15 16:09:17 +00:00
proto_hier_stats.h hierarchy stats: Only increment the total packet count once per frame 2022-04-12 13:38:33 +00:00
recent.c Add a default configuration profile for Logray. 2022-07-06 10:53:21 -05:00
recent.h Qt: Hide columns for traffic tree 2022-06-19 16:39:35 +02:00
recent_utils.h Ui: Centralize PacketList helper prototypes 2022-06-29 09:31:09 +00:00
rtp_media.c
rtp_media.h
rtp_stream.c
rtp_stream.h
rtp_stream_id.c
rtp_stream_id.h
service_response_time.c
service_response_time.h
simple_dialog.h
software_update.c macos: Remove no longer needed function 2022-07-25 17:00:55 +00:00
software_update.h
ssl_key_export.c
ssl_key_export.h
summary.c Do not require using wsgcrypt.h 2023-02-06 15:52:10 +00:00
summary.h
tap-credentials.h
tap-iax2-analysis.c
tap-iax2-analysis.h
tap-rlc-graph.c dfilter: Return an error object instead of string 2022-11-28 15:46:44 +00:00
tap-rlc-graph.h RLC Graph: store secs in time_t 2022-08-20 19:56:34 +00:00
tap-rtp-analysis.c
tap-rtp-analysis.h
tap-rtp-common.c tap: Adding flags for tap_packet 2022-06-10 05:46:15 +00:00
tap-rtp-common.h tap: Adding flags for tap_packet 2022-06-10 05:46:15 +00:00
tap-sctp-analysis.c tap: Adding flags for tap_packet 2022-06-10 05:46:15 +00:00
tap-sctp-analysis.h gboolean bitfields considered harmful 2022-07-30 08:49:08 -04:00
tap-tcp-stream.c dfilter: Return an error object instead of string 2022-11-28 15:46:44 +00:00
tap-tcp-stream.h
tap_export_pdu.c Move ui/version_info.[ch] to wsutil 2023-02-07 23:17:37 +00:00
tap_export_pdu.h
taps.h
text_import.c Move ui/version_info.[ch] to wsutil 2023-02-07 23:17:37 +00:00
text_import.h
text_import_regex.c
text_import_regex.h
text_import_scanner.h
text_import_scanner.l Add macros to control lemon diagnostics 2022-11-20 10:11:27 +00:00
time_shift.c Ui: Centralize PacketList helper prototypes 2022-06-29 09:31:09 +00:00
time_shift.h
urls.h
util.c
util.h
voip_calls.c Fix more unused variables and enable unused-but-set-variable errors. 2022-11-08 13:49:44 -08:00
voip_calls.h
ws_ui_util.h MinGW: Fix -Wreturn-type 2023-01-13 22:41:04 +00:00