2012-02-02 08:55:00 +00:00
|
|
|
# CMakeLists.txt
|
|
|
|
#
|
|
|
|
# Wireshark - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@wireshark.org>
|
|
|
|
# Copyright 1998 Gerald Combs
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2012-02-02 08:55:00 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# All .h files which inherit from QObject aka which use the Q_OBJECT macro
|
|
|
|
# need to go here.
|
2013-11-21 01:28:17 +00:00
|
|
|
set(WIRESHARK_QT_HEADERS
|
2014-01-02 17:04:10 +00:00
|
|
|
about_dialog.h
|
2015-06-05 20:17:13 +00:00
|
|
|
accordion_frame.h
|
2015-01-22 11:27:23 +00:00
|
|
|
bluetooth_att_server_attributes_dialog.h
|
2015-05-13 15:33:28 +00:00
|
|
|
bluetooth_devices_dialog.h
|
2012-12-18 17:21:20 +00:00
|
|
|
accordion_frame.h
|
2012-02-02 08:55:00 +00:00
|
|
|
byte_view_tab.h
|
|
|
|
byte_view_text.h
|
2014-09-09 20:42:58 +00:00
|
|
|
capture_file.h
|
2012-02-02 08:55:00 +00:00
|
|
|
capture_file_dialog.h
|
2015-06-19 23:56:44 +00:00
|
|
|
capture_file_progress_frame.h
|
2014-11-12 22:24:16 +00:00
|
|
|
capture_file_properties_dialog.h
|
2013-08-08 00:26:57 +00:00
|
|
|
capture_filter_combo.h
|
|
|
|
capture_filter_edit.h
|
|
|
|
capture_filter_syntax_worker.h
|
2012-02-02 08:55:00 +00:00
|
|
|
capture_info_dialog.h
|
2013-11-25 14:15:49 +00:00
|
|
|
capture_interfaces_dialog.h
|
2013-07-23 11:20:45 +00:00
|
|
|
capture_preferences_frame.h
|
2012-02-02 08:55:00 +00:00
|
|
|
color_utils.h
|
2015-02-05 00:36:19 +00:00
|
|
|
coloring_rules_dialog.h
|
2013-01-23 19:04:36 +00:00
|
|
|
column_preferences_frame.h
|
2015-01-01 19:41:03 +00:00
|
|
|
column_editor_frame.h
|
2014-06-04 09:03:59 +00:00
|
|
|
compiled_filter_output.h
|
2014-04-29 15:10:27 +00:00
|
|
|
conversation_dialog.h
|
2013-11-22 01:07:36 +00:00
|
|
|
decode_as_dialog.h
|
2012-02-02 08:55:00 +00:00
|
|
|
display_filter_combo.h
|
|
|
|
display_filter_edit.h
|
2015-06-01 23:29:17 +00:00
|
|
|
display_filter_expression_dialog.h
|
2013-07-25 23:49:47 +00:00
|
|
|
elided_label.h
|
2014-08-06 17:07:42 +00:00
|
|
|
endpoint_dialog.h
|
2015-03-11 22:22:20 +00:00
|
|
|
expert_info_dialog.h
|
2012-10-12 23:40:29 +00:00
|
|
|
export_dissection_dialog.h
|
2012-10-18 22:20:36 +00:00
|
|
|
export_object_dialog.h
|
2014-01-14 18:37:40 +00:00
|
|
|
export_pdu_dialog.h
|
2012-10-01 22:40:20 +00:00
|
|
|
file_set_dialog.h
|
2014-04-29 15:10:27 +00:00
|
|
|
filter_action.h
|
2015-06-03 23:26:00 +00:00
|
|
|
filter_dialog.h
|
|
|
|
filter_dialog.h
|
2013-02-06 19:03:23 +00:00
|
|
|
filter_expressions_preferences_frame.h
|
2013-09-09 19:30:30 +00:00
|
|
|
follow_stream_dialog.h
|
2013-11-14 17:37:40 +00:00
|
|
|
follow_stream_text.h
|
2013-01-24 01:10:12 +00:00
|
|
|
font_color_preferences_frame.h
|
2015-07-03 20:52:49 +00:00
|
|
|
funnel_string_dialog.h
|
|
|
|
funnel_text_dialog.h
|
|
|
|
funnel_statistics.h
|
2012-09-18 00:40:10 +00:00
|
|
|
import_text_dialog.h
|
2012-02-02 08:55:00 +00:00
|
|
|
interface_tree.h
|
Add a Qt I/O Graph dialog.
For each graph you can set:
- Its visibility
- A name
- A display filter
- Color, from a fixed list
- Plot style: Line, Impulse, Bar, Stacked Bar, Dot, Square, Diamond
- Basic Y Axes (packets/s, bytes/s, bits/s)
- Computed Y Axes (SUM, MIN, AVG, MAX)
- Smoothing
You can pan and zoom using the mouse and keyboard. Clicking on a graph
selects the last packet for that interval. If all graphs have the same Y
axis a single label is shown, otherwise a legend is shown.
The time scale (X axis) can be toggled between relative seconds and the
time of day.
Graphs can be saved as PDF, PNG, BMP, and JPEG. Settings are "sticky"
via the io_graphs UAT.
To do:
- Minimize graph drawing delays.
- Figure out why smoothing differs from GTK+
- Everything else at the top of io_graph_dialog.cpp
- Fix empty resets.
A fair amount of code was copied from TCPStreamDialog. We might want to
subclass QCustomPlot and place the shared code there.
Move common syntax checking to SyntaxLineEdit.
Move some common code from ui/gtk/io_stat.c to ui/io_graph_item.[ch] and
use it in both GTK+ and Qt.
Make the io_graph_item_t array allocation in io_stat.c static. The
behavior should be identical and this gives us additional compile-time
checks.
Change-Id: I9a3d544469b7048f0761fdbf7bcf20f44ae76577
Reviewed-on: https://code.wireshark.org/review/435
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Tested-by: Gerald Combs <gerald@wireshark.org>
2014-02-12 00:07:10 +00:00
|
|
|
io_graph_dialog.h
|
2012-02-02 08:55:00 +00:00
|
|
|
label_stack.h
|
2013-01-21 05:29:14 +00:00
|
|
|
layout_preferences_frame.h
|
2014-04-08 22:13:45 +00:00
|
|
|
lbm_lbtrm_transport_dialog.h
|
|
|
|
lbm_lbtru_transport_dialog.h
|
|
|
|
lbm_stream_dialog.h
|
|
|
|
lbm_uimflow_dialog.h
|
2012-02-02 08:55:00 +00:00
|
|
|
main_status_bar.h
|
|
|
|
main_welcome.h
|
|
|
|
main_window.h
|
2013-01-19 00:57:57 +00:00
|
|
|
main_window_preferences_frame.h
|
2014-06-24 09:36:51 +00:00
|
|
|
manage_interfaces_dialog.h
|
2013-02-08 01:30:31 +00:00
|
|
|
module_preferences_scroll_area.h
|
2012-12-23 04:37:58 +00:00
|
|
|
packet_comment_dialog.h
|
2015-02-11 23:00:27 +00:00
|
|
|
packet_dialog.h
|
2012-10-12 23:40:29 +00:00
|
|
|
packet_format_group_box.h
|
2012-02-02 08:55:00 +00:00
|
|
|
packet_list.h
|
|
|
|
packet_list_model.h
|
2012-10-08 20:01:59 +00:00
|
|
|
packet_range_group_box.h
|
2015-06-17 15:41:41 +00:00
|
|
|
preference_editor_frame.h
|
2013-01-05 02:30:58 +00:00
|
|
|
preferences_dialog.h
|
2012-11-01 20:57:45 +00:00
|
|
|
print_dialog.h
|
2012-12-29 02:58:56 +00:00
|
|
|
profile_dialog.h
|
2012-02-02 08:55:00 +00:00
|
|
|
proto_tree.h
|
2015-02-03 16:39:14 +00:00
|
|
|
protocol_hierarchy_dialog.h
|
2015-06-17 00:24:19 +00:00
|
|
|
protocol_preferences_menu.h
|
2013-08-27 20:24:20 +00:00
|
|
|
qcustomplot.h
|
2012-02-02 08:55:00 +00:00
|
|
|
recent_file_status.h
|
2015-02-24 01:56:14 +00:00
|
|
|
related_packet_delegate.h
|
2015-07-09 23:00:14 +00:00
|
|
|
resolved_addresses_dialog.h
|
2015-07-07 19:04:48 +00:00
|
|
|
response_time_delay_dialog.h
|
2015-02-02 17:01:29 +00:00
|
|
|
rtp_analysis_dialog.h
|
2015-01-15 01:25:56 +00:00
|
|
|
rtp_stream_dialog.h
|
2013-12-13 07:25:30 +00:00
|
|
|
sctp_all_assocs_dialog.h
|
|
|
|
sctp_assoc_analyse_dialog.h
|
|
|
|
sctp_chunk_statistics_dialog.h
|
|
|
|
sctp_graph_dialog.h
|
|
|
|
sctp_graph_arwnd_dialog.h
|
|
|
|
sctp_graph_byte_dialog.h
|
2012-12-15 01:04:39 +00:00
|
|
|
search_frame.h
|
2013-10-24 22:52:30 +00:00
|
|
|
sequence_diagram.h
|
|
|
|
sequence_dialog.h
|
2014-09-24 21:06:23 +00:00
|
|
|
simple_dialog.h
|
2012-11-05 03:54:21 +00:00
|
|
|
splash_overlay.h
|
2013-11-21 01:28:17 +00:00
|
|
|
stats_tree_dialog.h
|
2015-06-05 20:17:13 +00:00
|
|
|
service_response_time_dialog.h
|
2015-07-07 23:18:00 +00:00
|
|
|
simple_statistics_dialog.h
|
2012-10-09 00:54:40 +00:00
|
|
|
syntax_line_edit.h
|
2015-06-08 18:33:16 +00:00
|
|
|
tap_parameter_dialog.h
|
2013-08-27 18:13:20 +00:00
|
|
|
tcp_stream_dialog.h
|
2012-12-23 03:45:35 +00:00
|
|
|
time_shift_dialog.h
|
2014-08-06 17:07:42 +00:00
|
|
|
traffic_table_dialog.h
|
2013-07-25 23:49:47 +00:00
|
|
|
uat_dialog.h
|
2014-11-19 00:21:42 +00:00
|
|
|
voip_calls_dialog.h
|
2015-06-11 22:05:44 +00:00
|
|
|
wireless_frame.h
|
2012-02-02 08:55:00 +00:00
|
|
|
wireshark_application.h
|
2014-12-22 23:51:36 +00:00
|
|
|
wireshark_dialog.h
|
2014-04-29 15:10:27 +00:00
|
|
|
)
|
2012-02-02 12:04:22 +00:00
|
|
|
|
2014-09-20 21:49:25 +00:00
|
|
|
if(HAVE_PCAP_REMOTE)
|
|
|
|
set(WIRESHARK_QT_HEADERS
|
|
|
|
${WIRESHARK_QT_HEADERS}
|
|
|
|
remote_capture_dialog.h
|
|
|
|
remote_settings_dialog.h
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2015-04-28 08:26:46 +00:00
|
|
|
if(ENABLE_EXTCAP)
|
|
|
|
set(WIRESHARK_QT_HEADERS
|
|
|
|
${WIRESHARK_QT_HEADERS}
|
|
|
|
extcap_argument.h
|
|
|
|
extcap_argument_file.h
|
|
|
|
extcap_options_dialog.h
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2015-01-15 01:25:56 +00:00
|
|
|
file(GLOB EXTRA_QT_HEADERS
|
2014-04-29 15:10:27 +00:00
|
|
|
packet_list_record.h
|
|
|
|
qt_ui_utils.h
|
|
|
|
sparkline_delegate.h
|
2014-09-18 21:09:55 +00:00
|
|
|
stock_icon.h
|
2012-02-02 08:55:00 +00:00
|
|
|
)
|
|
|
|
|
2013-11-21 01:28:17 +00:00
|
|
|
set(WIRESHARK_QT_SRC
|
2014-01-02 17:04:10 +00:00
|
|
|
about_dialog.cpp
|
2012-12-18 17:21:20 +00:00
|
|
|
accordion_frame.cpp
|
2015-01-22 11:27:23 +00:00
|
|
|
bluetooth_att_server_attributes_dialog.cpp
|
2015-05-13 15:33:28 +00:00
|
|
|
bluetooth_devices_dialog.cpp
|
2012-02-02 08:55:00 +00:00
|
|
|
byte_view_tab.cpp
|
|
|
|
byte_view_text.cpp
|
2014-09-09 20:42:58 +00:00
|
|
|
capture_file.cpp
|
2012-02-02 08:55:00 +00:00
|
|
|
capture_file_dialog.cpp
|
2015-06-19 23:56:44 +00:00
|
|
|
capture_file_progress_frame.cpp
|
2014-11-12 22:24:16 +00:00
|
|
|
capture_file_properties_dialog.cpp
|
2013-08-08 00:26:57 +00:00
|
|
|
capture_filter_combo.cpp
|
|
|
|
capture_filter_edit.cpp
|
|
|
|
capture_filter_syntax_worker.cpp
|
2012-02-02 08:55:00 +00:00
|
|
|
capture_info_dialog.cpp
|
2013-11-25 14:15:49 +00:00
|
|
|
capture_interfaces_dialog.cpp
|
2013-02-01 00:14:15 +00:00
|
|
|
capture_preferences_frame.cpp
|
2015-02-05 00:36:19 +00:00
|
|
|
color_utils.cpp
|
|
|
|
coloring_rules_dialog.cpp
|
2013-01-23 19:04:36 +00:00
|
|
|
column_preferences_frame.cpp
|
2015-01-01 19:41:03 +00:00
|
|
|
column_editor_frame.cpp
|
2014-06-04 09:03:59 +00:00
|
|
|
compiled_filter_output.cpp
|
2013-11-22 01:07:36 +00:00
|
|
|
decode_as_dialog.cpp
|
2012-02-02 08:55:00 +00:00
|
|
|
display_filter_combo.cpp
|
|
|
|
display_filter_edit.cpp
|
2015-06-01 23:29:17 +00:00
|
|
|
display_filter_expression_dialog.cpp
|
2013-07-25 23:49:47 +00:00
|
|
|
elided_label.cpp
|
2015-03-11 22:22:20 +00:00
|
|
|
expert_info_dialog.cpp
|
2012-10-12 23:40:29 +00:00
|
|
|
export_dissection_dialog.cpp
|
2012-10-18 22:20:36 +00:00
|
|
|
export_object_dialog.cpp
|
2014-01-14 18:37:40 +00:00
|
|
|
export_pdu_dialog.cpp
|
2012-10-01 22:40:20 +00:00
|
|
|
file_set_dialog.cpp
|
2014-04-29 15:10:27 +00:00
|
|
|
filter_action.cpp
|
2015-06-03 23:26:00 +00:00
|
|
|
filter_dialog.cpp
|
2013-02-06 19:03:23 +00:00
|
|
|
filter_expressions_preferences_frame.cpp
|
2013-09-09 19:30:30 +00:00
|
|
|
follow_stream_dialog.cpp
|
2013-11-14 17:37:40 +00:00
|
|
|
follow_stream_text.cpp
|
2013-01-24 01:10:12 +00:00
|
|
|
font_color_preferences_frame.cpp
|
2015-07-03 20:52:49 +00:00
|
|
|
funnel_string_dialog.cpp
|
|
|
|
funnel_text_dialog.cpp
|
2012-09-18 00:40:10 +00:00
|
|
|
import_text_dialog.cpp
|
2012-02-02 08:55:00 +00:00
|
|
|
interface_tree.cpp
|
|
|
|
label_stack.cpp
|
2013-01-21 05:29:14 +00:00
|
|
|
layout_preferences_frame.cpp
|
2014-04-08 22:13:45 +00:00
|
|
|
lbm_lbtrm_transport_dialog.cpp
|
|
|
|
lbm_lbtru_transport_dialog.cpp
|
|
|
|
lbm_stream_dialog.cpp
|
|
|
|
lbm_uimflow_dialog.cpp
|
2012-02-02 08:55:00 +00:00
|
|
|
main_status_bar.cpp
|
|
|
|
main_welcome.cpp
|
|
|
|
main_window.cpp
|
2013-01-19 00:57:57 +00:00
|
|
|
main_window_preferences_frame.cpp
|
2012-10-02 18:47:05 +00:00
|
|
|
main_window_slots.cpp
|
2014-06-24 09:36:51 +00:00
|
|
|
manage_interfaces_dialog.cpp
|
2013-02-08 01:30:31 +00:00
|
|
|
module_preferences_scroll_area.cpp
|
2012-12-23 04:37:58 +00:00
|
|
|
packet_comment_dialog.cpp
|
2015-02-11 23:00:27 +00:00
|
|
|
packet_dialog.cpp
|
2012-10-12 23:40:29 +00:00
|
|
|
packet_format_group_box.cpp
|
2012-02-02 08:55:00 +00:00
|
|
|
packet_list.cpp
|
|
|
|
packet_list_model.cpp
|
2013-09-09 19:23:17 +00:00
|
|
|
packet_list_record.cpp
|
2012-10-08 20:01:59 +00:00
|
|
|
packet_range_group_box.cpp
|
2015-06-17 15:41:41 +00:00
|
|
|
preference_editor_frame.cpp
|
2013-01-05 02:30:58 +00:00
|
|
|
preferences_dialog.cpp
|
2012-11-01 20:57:45 +00:00
|
|
|
print_dialog.cpp
|
2012-12-29 02:58:56 +00:00
|
|
|
profile_dialog.cpp
|
2012-02-02 08:55:00 +00:00
|
|
|
proto_tree.cpp
|
2015-02-03 16:39:14 +00:00
|
|
|
protocol_hierarchy_dialog.cpp
|
2015-06-17 00:24:19 +00:00
|
|
|
protocol_preferences_menu.cpp
|
2015-02-18 13:45:53 +00:00
|
|
|
qcustomplot.cpp
|
2012-02-02 08:55:00 +00:00
|
|
|
qt_ui_utils.cpp
|
|
|
|
recent_file_status.cpp
|
2013-07-08 16:54:18 +00:00
|
|
|
related_packet_delegate.cpp
|
2015-07-09 23:00:14 +00:00
|
|
|
resolved_addresses_dialog.cpp
|
2015-07-07 19:04:48 +00:00
|
|
|
response_time_delay_dialog.cpp
|
2015-02-02 17:01:29 +00:00
|
|
|
rtp_analysis_dialog.cpp
|
2015-01-15 01:25:56 +00:00
|
|
|
rtp_stream_dialog.cpp
|
2013-12-13 07:25:30 +00:00
|
|
|
sctp_all_assocs_dialog.cpp
|
|
|
|
sctp_assoc_analyse_dialog.cpp
|
|
|
|
sctp_chunk_statistics_dialog.cpp
|
|
|
|
sctp_graph_dialog.cpp
|
|
|
|
sctp_graph_arwnd_dialog.cpp
|
|
|
|
sctp_graph_byte_dialog.cpp
|
2013-08-27 11:19:12 +00:00
|
|
|
search_frame.cpp
|
2013-10-24 22:52:30 +00:00
|
|
|
sequence_diagram.cpp
|
|
|
|
sequence_dialog.cpp
|
2015-06-05 20:17:13 +00:00
|
|
|
service_response_time_dialog.cpp
|
2014-09-24 21:06:23 +00:00
|
|
|
simple_dialog.cpp
|
2015-07-07 23:18:00 +00:00
|
|
|
simple_statistics_dialog.cpp
|
2013-08-27 11:19:12 +00:00
|
|
|
splash_overlay.cpp
|
2012-08-04 00:31:31 +00:00
|
|
|
sparkline_delegate.cpp
|
2014-09-18 21:09:55 +00:00
|
|
|
stock_icon.cpp
|
2012-10-08 20:01:59 +00:00
|
|
|
syntax_line_edit.cpp
|
2015-06-08 18:33:16 +00:00
|
|
|
tap_parameter_dialog.cpp
|
2013-08-27 18:13:20 +00:00
|
|
|
tcp_stream_dialog.cpp
|
2012-12-23 03:45:35 +00:00
|
|
|
time_shift_dialog.cpp
|
2014-08-06 17:07:42 +00:00
|
|
|
traffic_table_dialog.cpp
|
2013-07-25 23:49:47 +00:00
|
|
|
uat_dialog.cpp
|
2014-11-19 00:21:42 +00:00
|
|
|
voip_calls_dialog.cpp
|
2015-06-11 22:05:44 +00:00
|
|
|
wireless_frame.cpp
|
2012-02-02 08:55:00 +00:00
|
|
|
wireshark_application.cpp
|
2014-12-22 23:51:36 +00:00
|
|
|
wireshark_dialog.cpp
|
2012-02-02 08:55:00 +00:00
|
|
|
)
|
|
|
|
|
2014-09-20 21:49:25 +00:00
|
|
|
if(HAVE_PCAP_REMOTE)
|
|
|
|
set(WIRESHARK_QT_SRC
|
|
|
|
${WIRESHARK_QT_SRC}
|
|
|
|
remote_capture_dialog.cpp
|
|
|
|
remote_settings_dialog.cpp
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2015-04-28 08:26:46 +00:00
|
|
|
if(ENABLE_EXTCAP)
|
|
|
|
set(WIRESHARK_QT_SRC
|
|
|
|
${WIRESHARK_QT_SRC}
|
|
|
|
extcap_argument.cpp
|
|
|
|
extcap_argument_file.cpp
|
|
|
|
extcap_options_dialog.cpp
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2013-11-21 01:28:17 +00:00
|
|
|
set(WIRESHARK_QT_TAP_SRC
|
2014-04-29 15:10:27 +00:00
|
|
|
conversation_dialog.cpp
|
2014-08-06 17:07:42 +00:00
|
|
|
endpoint_dialog.cpp
|
2015-07-03 20:52:49 +00:00
|
|
|
funnel_statistics.cpp
|
2014-07-09 17:50:51 +00:00
|
|
|
io_graph_dialog.cpp
|
2013-11-21 01:28:17 +00:00
|
|
|
stats_tree_dialog.cpp
|
|
|
|
)
|
|
|
|
|
2015-02-18 08:03:42 +00:00
|
|
|
set(WIRESHARK_QT_FILES
|
2013-11-21 01:28:17 +00:00
|
|
|
${WIRESHARK_QT_SRC}
|
|
|
|
${WIRESHARK_QT_TAP_SRC}
|
|
|
|
)
|
|
|
|
|
|
|
|
set(WIRESHARK_QT_UI
|
2014-01-02 17:04:10 +00:00
|
|
|
about_dialog.ui
|
2015-01-22 11:27:23 +00:00
|
|
|
bluetooth_att_server_attributes_dialog.ui
|
2015-05-13 15:33:28 +00:00
|
|
|
bluetooth_devices_dialog.ui
|
2015-06-19 23:56:44 +00:00
|
|
|
capture_file_progress_frame.ui
|
2014-11-12 22:24:16 +00:00
|
|
|
capture_file_properties_dialog.ui
|
2013-11-25 14:15:49 +00:00
|
|
|
capture_interfaces_dialog.ui
|
2014-11-12 22:24:16 +00:00
|
|
|
capture_preferences_frame.ui
|
2015-02-05 00:36:19 +00:00
|
|
|
coloring_rules_dialog.ui
|
2013-01-23 19:04:36 +00:00
|
|
|
column_preferences_frame.ui
|
2015-01-01 19:41:03 +00:00
|
|
|
column_editor_frame.ui
|
2014-06-04 09:03:59 +00:00
|
|
|
compiled_filter_output.ui
|
2013-11-22 01:07:36 +00:00
|
|
|
decode_as_dialog.ui
|
2015-06-01 23:29:17 +00:00
|
|
|
display_filter_expression_dialog.ui
|
2015-03-11 22:22:20 +00:00
|
|
|
expert_info_dialog.ui
|
2012-10-18 22:20:36 +00:00
|
|
|
export_object_dialog.ui
|
2014-01-14 18:37:40 +00:00
|
|
|
export_pdu_dialog.ui
|
2012-12-11 21:51:18 +00:00
|
|
|
file_set_dialog.ui
|
2015-06-03 23:26:00 +00:00
|
|
|
filter_dialog.ui
|
2013-02-06 19:03:23 +00:00
|
|
|
filter_expressions_preferences_frame.ui
|
2013-09-09 19:30:30 +00:00
|
|
|
follow_stream_dialog.ui
|
2013-01-24 01:10:12 +00:00
|
|
|
font_color_preferences_frame.ui
|
2015-07-03 20:52:49 +00:00
|
|
|
funnel_string_dialog.ui
|
|
|
|
funnel_text_dialog.ui
|
2012-09-18 00:40:10 +00:00
|
|
|
import_text_dialog.ui
|
Add a Qt I/O Graph dialog.
For each graph you can set:
- Its visibility
- A name
- A display filter
- Color, from a fixed list
- Plot style: Line, Impulse, Bar, Stacked Bar, Dot, Square, Diamond
- Basic Y Axes (packets/s, bytes/s, bits/s)
- Computed Y Axes (SUM, MIN, AVG, MAX)
- Smoothing
You can pan and zoom using the mouse and keyboard. Clicking on a graph
selects the last packet for that interval. If all graphs have the same Y
axis a single label is shown, otherwise a legend is shown.
The time scale (X axis) can be toggled between relative seconds and the
time of day.
Graphs can be saved as PDF, PNG, BMP, and JPEG. Settings are "sticky"
via the io_graphs UAT.
To do:
- Minimize graph drawing delays.
- Figure out why smoothing differs from GTK+
- Everything else at the top of io_graph_dialog.cpp
- Fix empty resets.
A fair amount of code was copied from TCPStreamDialog. We might want to
subclass QCustomPlot and place the shared code there.
Move common syntax checking to SyntaxLineEdit.
Move some common code from ui/gtk/io_stat.c to ui/io_graph_item.[ch] and
use it in both GTK+ and Qt.
Make the io_graph_item_t array allocation in io_stat.c static. The
behavior should be identical and this gives us additional compile-time
checks.
Change-Id: I9a3d544469b7048f0761fdbf7bcf20f44ae76577
Reviewed-on: https://code.wireshark.org/review/435
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Tested-by: Gerald Combs <gerald@wireshark.org>
2014-02-12 00:07:10 +00:00
|
|
|
io_graph_dialog.ui
|
2013-01-21 05:29:14 +00:00
|
|
|
layout_preferences_frame.ui
|
2014-04-08 22:13:45 +00:00
|
|
|
lbm_lbtrm_transport_dialog.ui
|
|
|
|
lbm_lbtru_transport_dialog.ui
|
|
|
|
lbm_stream_dialog.ui
|
|
|
|
lbm_uimflow_dialog.ui
|
2012-08-18 19:40:12 +00:00
|
|
|
main_welcome.ui
|
2012-02-02 08:55:00 +00:00
|
|
|
main_window.ui
|
2013-01-19 00:57:57 +00:00
|
|
|
main_window_preferences_frame.ui
|
2014-06-24 09:36:51 +00:00
|
|
|
manage_interfaces_dialog.ui
|
2013-02-08 01:30:31 +00:00
|
|
|
module_preferences_scroll_area.ui
|
2012-12-23 04:37:58 +00:00
|
|
|
packet_comment_dialog.ui
|
2015-02-11 23:00:27 +00:00
|
|
|
packet_dialog.ui
|
2012-10-12 23:40:29 +00:00
|
|
|
packet_format_group_box.ui
|
2012-10-08 20:01:59 +00:00
|
|
|
packet_range_group_box.ui
|
2015-06-17 15:41:41 +00:00
|
|
|
preference_editor_frame.ui
|
2013-01-05 02:30:58 +00:00
|
|
|
preferences_dialog.ui
|
2012-11-01 20:57:45 +00:00
|
|
|
print_dialog.ui
|
2012-12-29 02:58:56 +00:00
|
|
|
profile_dialog.ui
|
2015-02-03 16:39:14 +00:00
|
|
|
protocol_hierarchy_dialog.ui
|
2015-07-09 23:00:14 +00:00
|
|
|
resolved_addresses_dialog.ui
|
2015-02-02 17:01:29 +00:00
|
|
|
rtp_analysis_dialog.ui
|
2015-01-15 01:25:56 +00:00
|
|
|
rtp_stream_dialog.ui
|
2013-12-13 07:25:30 +00:00
|
|
|
sctp_all_assocs_dialog.ui
|
|
|
|
sctp_assoc_analyse_dialog.ui
|
|
|
|
sctp_chunk_statistics_dialog.ui
|
|
|
|
sctp_graph_dialog.ui
|
|
|
|
sctp_graph_arwnd_dialog.ui
|
|
|
|
sctp_graph_byte_dialog.ui
|
2012-12-15 01:04:39 +00:00
|
|
|
search_frame.ui
|
2013-10-24 22:52:30 +00:00
|
|
|
sequence_dialog.ui
|
2012-11-05 03:54:21 +00:00
|
|
|
splash_overlay.ui
|
2015-06-08 18:33:16 +00:00
|
|
|
tap_parameter_dialog.ui
|
2013-08-27 18:13:20 +00:00
|
|
|
tcp_stream_dialog.ui
|
2012-12-23 03:45:35 +00:00
|
|
|
time_shift_dialog.ui
|
2014-08-06 17:07:42 +00:00
|
|
|
traffic_table_dialog.ui
|
2013-07-25 23:49:47 +00:00
|
|
|
uat_dialog.ui
|
2014-11-19 00:21:42 +00:00
|
|
|
voip_calls_dialog.ui
|
2015-06-11 22:05:44 +00:00
|
|
|
wireless_frame.ui
|
2012-02-02 08:55:00 +00:00
|
|
|
)
|
|
|
|
|
2014-09-20 21:49:25 +00:00
|
|
|
if(HAVE_PCAP_REMOTE)
|
|
|
|
set(WIRESHARK_QT_UI
|
|
|
|
${WIRESHARK_QT_UI}
|
|
|
|
remote_capture_dialog.ui
|
|
|
|
remote_settings_dialog.ui
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2015-04-28 08:26:46 +00:00
|
|
|
if(ENABLE_EXTCAP)
|
|
|
|
set(WIRESHARK_QT_UI
|
|
|
|
${WIRESHARK_QT_UI}
|
|
|
|
extcap_options_dialog.ui
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2013-11-21 01:28:17 +00:00
|
|
|
set(WIRESHARK_QT_QRC
|
2014-01-02 17:04:10 +00:00
|
|
|
../../image/about.qrc
|
2012-08-01 18:27:57 +00:00
|
|
|
../../image/display_filter.qrc
|
2013-12-21 16:55:43 +00:00
|
|
|
../../image/languages/languages.qrc
|
2013-01-21 16:58:33 +00:00
|
|
|
../../image/layout.qrc
|
2012-08-01 18:27:57 +00:00
|
|
|
../../image/status.qrc
|
|
|
|
../../image/toolbar.qrc
|
2014-09-21 20:28:29 +00:00
|
|
|
../../image/wsicon.qrc
|
2012-03-07 10:23:50 +00:00
|
|
|
i18n.qrc
|
2012-02-03 17:40:55 +00:00
|
|
|
)
|
|
|
|
|
2013-11-21 01:28:17 +00:00
|
|
|
set(WIRESHARK_QT_TS
|
2014-08-28 23:48:53 +00:00
|
|
|
wireshark_de.ts
|
|
|
|
wireshark_en.ts # lupdate -pluralonly
|
|
|
|
wireshark_fr.ts
|
2014-10-16 07:12:25 +00:00
|
|
|
wireshark_it.ts
|
2014-08-28 23:48:53 +00:00
|
|
|
wireshark_ja_JP.ts
|
|
|
|
wireshark_pl.ts
|
|
|
|
wireshark_zh_CN.ts
|
2012-03-07 10:23:50 +00:00
|
|
|
)
|
|
|
|
|
2012-02-02 12:38:04 +00:00
|
|
|
include_directories(
|
2013-08-27 11:19:12 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
2015-06-25 16:44:58 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
2012-02-02 12:38:04 +00:00
|
|
|
)
|
|
|
|
|
2013-04-25 23:04:19 +00:00
|
|
|
if (QT_VERSION EQUAL 5)
|
2013-11-21 01:28:17 +00:00
|
|
|
QT5_ADD_TRANSLATION(WIRESHARK_QT_TS_QM ${WIRESHARK_QT_TS})
|
|
|
|
QT5_ADD_RESOURCES(WIRESHARK_QT_QRC_SRC ${WIRESHARK_QT_QRC})
|
|
|
|
QT5_WRAP_UI(WIRESHARK_QT_UI_SRC ${WIRESHARK_QT_UI})
|
2013-04-25 23:04:19 +00:00
|
|
|
# For now, do the moc stuff manually
|
2013-11-21 01:28:17 +00:00
|
|
|
QT5_WRAP_CPP(WIRESHARK_QT_MOC_SRC ${WIRESHARK_QT_HEADERS})
|
2013-04-25 23:04:19 +00:00
|
|
|
# Starting with cmake 2.8.6, we may also use
|
|
|
|
# set(CMAKE_AUTOMOC TRUE)
|
|
|
|
# or
|
|
|
|
# set_target_properties(${some-source-files} PROPERTIES AUTOMOC TRUE)
|
|
|
|
else()
|
2013-11-21 01:28:17 +00:00
|
|
|
QT4_ADD_TRANSLATION(WIRESHARK_QT_TS_QM ${WIRESHARK_QT_TS})
|
|
|
|
QT4_ADD_RESOURCES(WIRESHARK_QT_QRC_SRC ${WIRESHARK_QT_QRC})
|
|
|
|
QT4_WRAP_UI(WIRESHARK_QT_UI_SRC ${WIRESHARK_QT_UI})
|
2013-04-25 23:04:19 +00:00
|
|
|
# For now, do the moc stuff manually
|
2013-11-21 01:28:17 +00:00
|
|
|
QT4_WRAP_CPP(WIRESHARK_QT_MOC_SRC ${WIRESHARK_QT_HEADERS})
|
2013-04-25 23:04:19 +00:00
|
|
|
# Starting with cmake 2.8.6, we may also use
|
|
|
|
# set(CMAKE_AUTOMOC TRUE)
|
|
|
|
# or
|
|
|
|
# set_target_properties(${some-source-files} PROPERTIES AUTOMOC TRUE)
|
|
|
|
endif()
|
2012-02-02 08:55:00 +00:00
|
|
|
|
|
|
|
if (WERROR)
|
|
|
|
set_source_files_properties(
|
2015-02-18 08:03:42 +00:00
|
|
|
${WIRESHARK_QT_FILES}
|
2012-02-02 08:55:00 +00:00
|
|
|
PROPERTIES
|
|
|
|
COMPILE_FLAGS -Werror
|
|
|
|
)
|
2013-09-10 22:01:42 +00:00
|
|
|
# The Qt headers generate a ton of shortening errors on 64-bit systems.
|
|
|
|
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
|
|
|
set_source_files_properties(
|
2015-02-18 08:03:42 +00:00
|
|
|
${WIRESHARK_QT_FILES}
|
2013-09-10 22:01:42 +00:00
|
|
|
PROPERTIES
|
|
|
|
COMPILE_FLAGS -Wno-shorten-64-to-32
|
|
|
|
)
|
|
|
|
endif()
|
2012-02-02 08:55:00 +00:00
|
|
|
endif()
|
|
|
|
|
2012-08-23 10:30:37 +00:00
|
|
|
add_definitions(${QT_DEFINITIONS})
|
|
|
|
|
2013-11-21 01:28:17 +00:00
|
|
|
register_tap_files(wireshark-tap-register.c
|
|
|
|
taps
|
|
|
|
${WIRESHARK_QT_TAP_SRC}
|
|
|
|
)
|
|
|
|
|
2012-02-02 08:55:00 +00:00
|
|
|
add_library(qtui STATIC
|
2013-11-21 01:28:17 +00:00
|
|
|
${WIRESHARK_QT_SRC}
|
|
|
|
${WIRESHARK_QT_TAP_SRC}
|
|
|
|
${WIRESHARK_QT_UI_SRC}
|
|
|
|
${WIRESHARK_QT_MOC_SRC}
|
|
|
|
${WIRESHARK_QT_QRC_SRC}
|
|
|
|
${WIRESHARK_QT_TS_QM}
|
|
|
|
wireshark-tap-register.c
|
2012-02-02 08:55:00 +00:00
|
|
|
)
|
|
|
|
set_target_properties(qtui PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}")
|
2013-10-13 09:21:55 +00:00
|
|
|
set_target_properties(qtui PROPERTIES FOLDER "UI")
|