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
|
|
|
#
|
|
|
|
|
2017-01-06 10:56:09 +00:00
|
|
|
ADD_CUSTOM_CMAKE_INCLUDE()
|
|
|
|
|
2017-07-05 14:56:45 +00:00
|
|
|
set(WIRESHARK_WIDGET_HEADERS
|
|
|
|
widgets/additional_toolbar.h
|
|
|
|
widgets/apply_line_edit.h
|
2017-10-30 12:58:28 +00:00
|
|
|
widgets/byte_view_text.h
|
2017-07-05 14:56:45 +00:00
|
|
|
widgets/capture_filter_combo.h
|
|
|
|
widgets/capture_filter_edit.h
|
|
|
|
widgets/clickable_label.h
|
|
|
|
widgets/display_filter_combo.h
|
|
|
|
widgets/display_filter_edit.h
|
2017-07-25 14:15:18 +00:00
|
|
|
widgets/drag_drop_toolbar.h
|
2017-11-07 15:51:43 +00:00
|
|
|
widgets/drag_label.h
|
2017-07-23 14:53:43 +00:00
|
|
|
widgets/editor_color_dialog.h
|
2017-07-31 03:30:59 +00:00
|
|
|
widgets/editor_file_dialog.h
|
2017-06-29 00:00:38 +00:00
|
|
|
widgets/expert_info_view.h
|
2017-07-05 14:56:45 +00:00
|
|
|
widgets/elided_label.h
|
|
|
|
widgets/field_filter_edit.h
|
|
|
|
widgets/find_line_edit.h
|
|
|
|
widgets/follow_stream_text.h
|
|
|
|
widgets/interface_toolbar_lineedit.h
|
|
|
|
widgets/label_stack.h
|
|
|
|
widgets/overlay_scroll_bar.h
|
2017-07-25 14:15:18 +00:00
|
|
|
widgets/qcustomplot.h
|
|
|
|
widgets/stock_icon_tool_button.h
|
2017-07-05 14:56:45 +00:00
|
|
|
widgets/syntax_line_edit.h
|
2017-07-16 10:32:40 +00:00
|
|
|
widgets/tabnav_tree_view.h
|
2017-07-25 14:15:18 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(WIRESHARK_UTILS_HEADERS
|
|
|
|
utils/color_utils.h
|
2017-12-07 16:15:30 +00:00
|
|
|
utils/data_printer.h
|
2017-10-30 12:58:28 +00:00
|
|
|
utils/field_information.h
|
|
|
|
utils/frame_information.h
|
2017-12-07 16:15:30 +00:00
|
|
|
utils/proto_node.h
|
2017-07-25 14:15:18 +00:00
|
|
|
utils/qt_ui_utils.h
|
2017-12-07 16:15:30 +00:00
|
|
|
utils/stock_icon.h
|
2017-07-25 14:47:16 +00:00
|
|
|
utils/tango_colors.h
|
2017-07-25 14:15:18 +00:00
|
|
|
utils/variant_pointer.h
|
2017-12-07 16:15:30 +00:00
|
|
|
utils/wireshark_mime_data.h
|
2017-07-25 14:47:16 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(WIRESHARK_MODEL_HEADERS
|
2017-11-22 15:54:32 +00:00
|
|
|
models/astringlist_list_model.h
|
2017-07-25 14:47:16 +00:00
|
|
|
models/cache_proxy_model.h
|
2017-07-14 19:21:37 +00:00
|
|
|
models/decode_as_delegate.h
|
|
|
|
models/decode_as_model.h
|
2017-06-29 00:00:38 +00:00
|
|
|
models/expert_info_model.h
|
|
|
|
models/expert_info_proxy_model.h
|
2017-11-30 01:25:53 +00:00
|
|
|
models/fileset_entry_model.h
|
2017-11-22 15:54:32 +00:00
|
|
|
models/html_text_delegate.h
|
2017-07-25 14:47:16 +00:00
|
|
|
models/interface_sort_filter_model.h
|
|
|
|
models/interface_tree_cache_model.h
|
|
|
|
models/interface_tree_model.h
|
|
|
|
models/numeric_value_chooser_delegate.h
|
|
|
|
models/packet_list_model.h
|
|
|
|
models/packet_list_record.h
|
|
|
|
models/path_chooser_delegate.h
|
|
|
|
models/percent_bar_delegate.h
|
2017-12-07 16:15:30 +00:00
|
|
|
models/proto_tree_model.h
|
2017-07-25 14:47:16 +00:00
|
|
|
models/related_packet_delegate.h
|
|
|
|
models/sparkline_delegate.h
|
2017-12-14 18:44:05 +00:00
|
|
|
models/supported_protocols_model.h
|
|
|
|
models/timeline_delegate.h
|
2017-07-25 14:47:16 +00:00
|
|
|
models/uat_delegate.h
|
|
|
|
models/uat_model.h
|
2017-11-22 15:54:32 +00:00
|
|
|
models/url_link_delegate.h
|
2017-07-25 14:47:16 +00:00
|
|
|
models/voip_calls_info_model.h
|
2017-07-05 14:56:45 +00:00
|
|
|
)
|
|
|
|
|
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-07-21 16:51:12 +00:00
|
|
|
address_editor_frame.h
|
2015-01-22 11:27:23 +00:00
|
|
|
bluetooth_att_server_attributes_dialog.h
|
2015-05-19 09:55:01 +00:00
|
|
|
bluetooth_device_dialog.h
|
2015-05-13 15:33:28 +00:00
|
|
|
bluetooth_devices_dialog.h
|
2015-06-08 17:38:48 +00:00
|
|
|
bluetooth_hci_summary_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
|
2014-09-09 20:42:58 +00:00
|
|
|
capture_file.h
|
2012-02-02 08:55:00 +00:00
|
|
|
capture_file_dialog.h
|
2014-11-12 22:24:16 +00:00
|
|
|
capture_file_properties_dialog.h
|
2013-08-08 00:26:57 +00:00
|
|
|
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
|
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
|
2016-03-18 17:34:41 +00:00
|
|
|
conversation_colorize_action.h
|
2014-04-29 15:10:27 +00:00
|
|
|
conversation_dialog.h
|
2015-09-30 23:54:40 +00:00
|
|
|
conversation_hash_tables_dialog.h
|
2013-11-22 01:07:36 +00:00
|
|
|
decode_as_dialog.h
|
2015-06-01 23:29:17 +00:00
|
|
|
display_filter_expression_dialog.h
|
2015-09-25 21:33:54 +00:00
|
|
|
dissector_tables_dialog.h
|
2015-07-21 17:32:42 +00:00
|
|
|
enabled_protocols_dialog.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
|
2016-11-24 14:37:01 +00:00
|
|
|
export_object_action.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
|
2015-10-28 21:41:59 +00:00
|
|
|
filter_expression_frame.h
|
2016-06-01 01:29:39 +00:00
|
|
|
firewall_rules_dialog.h
|
2013-09-09 19:30:30 +00:00
|
|
|
follow_stream_dialog.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
|
2016-02-28 18:23:20 +00:00
|
|
|
geometry_state_dialog.h
|
2015-08-05 00:42:53 +00:00
|
|
|
gsm_map_summary_dialog.h
|
2015-09-03 18:18:13 +00:00
|
|
|
iax2_analysis_dialog.h
|
2012-09-18 00:40:10 +00:00
|
|
|
import_text_dialog.h
|
2017-04-15 21:30:30 +00:00
|
|
|
interface_toolbar.h
|
|
|
|
interface_toolbar_reader.h
|
2016-10-01 06:54:57 +00:00
|
|
|
interface_frame.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
|
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
|
2015-10-10 22:53:45 +00:00
|
|
|
lte_rlc_graph_dialog.h
|
2015-09-20 07:42:11 +00:00
|
|
|
lte_mac_statistics_dialog.h
|
2015-09-28 10:38:29 +00:00
|
|
|
lte_rlc_statistics_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
|
2015-08-31 19:24:48 +00:00
|
|
|
mtp3_summary_dialog.h
|
2015-08-12 21:09:35 +00:00
|
|
|
multicast_statistics_dialog.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
|
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
|
2015-07-17 22:06:55 +00:00
|
|
|
progress_frame.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
|
2012-02-02 08:55:00 +00:00
|
|
|
recent_file_status.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
|
Add DCE-RPC and ONC-RPC service response time dialogs.
Add RpcServiceResponseTimeDialog, which handles DCE-RPC and ONC-RPC
service response time statistics. Try to make it as lightweight as
possible, since we might want to pull this into the RPC dissectors
similar to the other SRT statistics.
Allow program names on the command line in place of numbers or UUIDs. Make
matches case-insensitive. E.g. the following are equivalent:
-z rpc,srt,100003,3
-z rpc,srt,nfs,3
-z rpc,srt,NFS,3
as are the following:
-z dcerpc,srt,f5cc5a18-4264-101a-8c59-08002b2f8426,56
-z dcerpc,srt,nspi,56
-z dcerpc,srt,NSPI,56
Change-Id: Ie451c64bf6fbc776f27d81e3bc248435c5cbc9e4
Reviewed-on: https://code.wireshark.org/review/9981
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-08-11 18:48:07 +00:00
|
|
|
rpc_service_response_time_dialog.h
|
2015-02-02 17:01:29 +00:00
|
|
|
rtp_analysis_dialog.h
|
2014-12-13 00:51:40 +00:00
|
|
|
rtp_audio_stream.h
|
|
|
|
rtp_player_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
|
2016-02-07 21:15:12 +00:00
|
|
|
show_packet_bytes_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
|
2015-10-01 17:18:56 +00:00
|
|
|
supported_protocols_dialog.h
|
2017-07-09 00:15:25 +00:00
|
|
|
tabnav_tree_widget.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
|
2017-07-09 19:52:27 +00:00
|
|
|
uat_frame.h
|
2014-11-19 00:21:42 +00:00
|
|
|
voip_calls_dialog.h
|
2015-06-11 22:05:44 +00:00
|
|
|
wireless_frame.h
|
2017-04-06 21:45:33 +00:00
|
|
|
wireless_timeline.h
|
2012-02-02 08:55:00 +00:00
|
|
|
wireshark_application.h
|
2014-12-22 23:51:36 +00:00
|
|
|
wireshark_dialog.h
|
2015-08-18 18:46:12 +00:00
|
|
|
wlan_statistics_dialog.h
|
2017-01-06 10:56:09 +00:00
|
|
|
${WIRESHARK_CUSTOM_QT_HEADERS}
|
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
|
2015-12-29 13:50:55 +00:00
|
|
|
extcap_argument_multiselect.h
|
2015-04-28 08:26:46 +00:00
|
|
|
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
|
2017-07-25 14:47:16 +00:00
|
|
|
models/sparkline_delegate.h
|
2017-07-25 14:15:18 +00:00
|
|
|
utils/qt_ui_utils.h
|
|
|
|
utils/stock_icon.h
|
2012-02-02 08:55:00 +00:00
|
|
|
)
|
|
|
|
|
2017-07-05 14:56:45 +00:00
|
|
|
set(WIRESHARK_WIDGET_SRCS
|
|
|
|
widgets/additional_toolbar.cpp
|
|
|
|
widgets/apply_line_edit.cpp
|
2017-10-30 12:58:28 +00:00
|
|
|
widgets/byte_view_text.cpp
|
2017-07-05 14:56:45 +00:00
|
|
|
widgets/capture_filter_combo.cpp
|
|
|
|
widgets/capture_filter_edit.cpp
|
|
|
|
widgets/clickable_label.cpp
|
|
|
|
widgets/display_filter_combo.cpp
|
|
|
|
widgets/display_filter_edit.cpp
|
2017-07-25 14:15:18 +00:00
|
|
|
widgets/drag_drop_toolbar.cpp
|
2017-11-07 15:51:43 +00:00
|
|
|
widgets/drag_label.cpp
|
2017-07-23 14:53:43 +00:00
|
|
|
widgets/editor_color_dialog.cpp
|
2017-07-31 03:30:59 +00:00
|
|
|
widgets/editor_file_dialog.cpp
|
2017-07-05 14:56:45 +00:00
|
|
|
widgets/elided_label.cpp
|
2017-06-29 00:00:38 +00:00
|
|
|
widgets/expert_info_view.cpp
|
2017-07-05 14:56:45 +00:00
|
|
|
widgets/field_filter_edit.cpp
|
|
|
|
widgets/find_line_edit.cpp
|
|
|
|
widgets/follow_stream_text.cpp
|
|
|
|
widgets/interface_toolbar_lineedit.cpp
|
|
|
|
widgets/label_stack.cpp
|
|
|
|
widgets/overlay_scroll_bar.cpp
|
2017-07-25 14:15:18 +00:00
|
|
|
widgets/qcustomplot.cpp
|
|
|
|
widgets/stock_icon_tool_button.cpp
|
2017-07-05 14:56:45 +00:00
|
|
|
widgets/syntax_line_edit.cpp
|
2017-07-16 10:32:40 +00:00
|
|
|
widgets/tabnav_tree_view.cpp
|
2017-07-25 14:15:18 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(WIRESHARK_UTILS_SRCS
|
|
|
|
utils/color_utils.cpp
|
2017-12-07 16:15:30 +00:00
|
|
|
utils/data_printer.cpp
|
2017-10-30 12:58:28 +00:00
|
|
|
utils/field_information.cpp
|
|
|
|
utils/frame_information.cpp
|
2017-12-07 16:15:30 +00:00
|
|
|
utils/proto_node.cpp
|
|
|
|
utils/qt_ui_utils.cpp
|
2017-07-25 14:15:18 +00:00
|
|
|
utils/stock_icon.cpp
|
2017-11-07 15:51:43 +00:00
|
|
|
utils/wireshark_mime_data.cpp
|
2017-07-05 14:56:45 +00:00
|
|
|
)
|
|
|
|
|
2017-07-25 14:47:16 +00:00
|
|
|
set(WIRESHARK_MODEL_SRCS
|
2017-11-22 15:54:32 +00:00
|
|
|
models/astringlist_list_model.cpp
|
2017-07-25 14:47:16 +00:00
|
|
|
models/cache_proxy_model.cpp
|
2017-07-14 19:21:37 +00:00
|
|
|
models/decode_as_delegate.cpp
|
|
|
|
models/decode_as_model.cpp
|
2017-06-29 00:00:38 +00:00
|
|
|
models/expert_info_model.cpp
|
|
|
|
models/expert_info_proxy_model.cpp
|
2017-11-30 01:25:53 +00:00
|
|
|
models/fileset_entry_model.cpp
|
2017-11-22 15:54:32 +00:00
|
|
|
models/html_text_delegate.cpp
|
2017-07-25 14:47:16 +00:00
|
|
|
models/interface_sort_filter_model.cpp
|
|
|
|
models/interface_tree_cache_model.cpp
|
|
|
|
models/interface_tree_model.cpp
|
|
|
|
models/numeric_value_chooser_delegate.cpp
|
|
|
|
models/packet_list_model.cpp
|
|
|
|
models/packet_list_record.cpp
|
|
|
|
models/path_chooser_delegate.cpp
|
|
|
|
models/percent_bar_delegate.cpp
|
2017-12-07 16:15:30 +00:00
|
|
|
models/proto_tree_model.cpp
|
2017-07-25 14:47:16 +00:00
|
|
|
models/related_packet_delegate.cpp
|
|
|
|
models/sparkline_delegate.cpp
|
2017-12-14 18:44:05 +00:00
|
|
|
models/supported_protocols_model.cpp
|
2017-07-25 14:47:16 +00:00
|
|
|
models/timeline_delegate.cpp
|
|
|
|
models/uat_delegate.cpp
|
|
|
|
models/uat_model.cpp
|
2017-11-22 15:54:32 +00:00
|
|
|
models/url_link_delegate.cpp
|
2017-07-25 14:47:16 +00:00
|
|
|
models/voip_calls_info_model.cpp
|
|
|
|
)
|
|
|
|
|
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-07-21 16:51:12 +00:00
|
|
|
address_editor_frame.cpp
|
2015-01-22 11:27:23 +00:00
|
|
|
bluetooth_att_server_attributes_dialog.cpp
|
2015-05-19 09:55:01 +00:00
|
|
|
bluetooth_device_dialog.cpp
|
2015-05-13 15:33:28 +00:00
|
|
|
bluetooth_devices_dialog.cpp
|
2015-06-08 17:38:48 +00:00
|
|
|
bluetooth_hci_summary_dialog.cpp
|
2012-02-02 08:55:00 +00:00
|
|
|
byte_view_tab.cpp
|
2014-09-09 20:42:58 +00:00
|
|
|
capture_file.cpp
|
2012-02-02 08:55:00 +00:00
|
|
|
capture_file_dialog.cpp
|
2014-11-12 22:24:16 +00:00
|
|
|
capture_file_properties_dialog.cpp
|
2013-08-08 00:26:57 +00:00
|
|
|
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
|
|
|
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
|
2016-03-18 17:34:41 +00:00
|
|
|
conversation_colorize_action.cpp
|
2015-08-17 17:47:46 +00:00
|
|
|
conversation_dialog.cpp
|
2015-09-30 23:54:40 +00:00
|
|
|
conversation_hash_tables_dialog.cpp
|
2013-11-22 01:07:36 +00:00
|
|
|
decode_as_dialog.cpp
|
2015-06-01 23:29:17 +00:00
|
|
|
display_filter_expression_dialog.cpp
|
2015-09-25 21:33:54 +00:00
|
|
|
dissector_tables_dialog.cpp
|
2015-07-21 17:32:42 +00:00
|
|
|
enabled_protocols_dialog.cpp
|
2015-08-17 17:47:46 +00:00
|
|
|
endpoint_dialog.cpp
|
2012-10-12 23:40:29 +00:00
|
|
|
export_dissection_dialog.cpp
|
2016-11-24 14:37:01 +00:00
|
|
|
export_object_action.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
|
2015-10-28 21:41:59 +00:00
|
|
|
filter_expression_frame.cpp
|
2016-06-01 01:29:39 +00:00
|
|
|
firewall_rules_dialog.cpp
|
2013-09-09 19:30:30 +00:00
|
|
|
follow_stream_dialog.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
|
2016-02-28 18:23:20 +00:00
|
|
|
geometry_state_dialog.cpp
|
2015-09-03 18:18:13 +00:00
|
|
|
iax2_analysis_dialog.cpp
|
2012-09-18 00:40:10 +00:00
|
|
|
import_text_dialog.cpp
|
2017-07-05 14:56:45 +00:00
|
|
|
interface_frame.cpp
|
2017-04-15 21:30:30 +00:00
|
|
|
interface_toolbar.cpp
|
|
|
|
interface_toolbar_reader.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
|
2015-09-28 10:38:29 +00:00
|
|
|
lte_mac_statistics_dialog.cpp
|
2017-07-05 14:56:45 +00:00
|
|
|
lte_rlc_graph_dialog.cpp
|
2015-09-28 10:38:29 +00:00
|
|
|
lte_rlc_statistics_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
|
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
|
2015-07-17 22:06:55 +00:00
|
|
|
progress_frame.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
|
2012-02-02 08:55:00 +00:00
|
|
|
recent_file_status.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
|
Add DCE-RPC and ONC-RPC service response time dialogs.
Add RpcServiceResponseTimeDialog, which handles DCE-RPC and ONC-RPC
service response time statistics. Try to make it as lightweight as
possible, since we might want to pull this into the RPC dissectors
similar to the other SRT statistics.
Allow program names on the command line in place of numbers or UUIDs. Make
matches case-insensitive. E.g. the following are equivalent:
-z rpc,srt,100003,3
-z rpc,srt,nfs,3
-z rpc,srt,NFS,3
as are the following:
-z dcerpc,srt,f5cc5a18-4264-101a-8c59-08002b2f8426,56
-z dcerpc,srt,nspi,56
-z dcerpc,srt,NSPI,56
Change-Id: Ie451c64bf6fbc776f27d81e3bc248435c5cbc9e4
Reviewed-on: https://code.wireshark.org/review/9981
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-08-11 18:48:07 +00:00
|
|
|
rpc_service_response_time_dialog.cpp
|
2015-02-02 17:01:29 +00:00
|
|
|
rtp_analysis_dialog.cpp
|
2014-12-13 00:51:40 +00:00
|
|
|
rtp_audio_stream.cpp
|
|
|
|
rtp_player_dialog.cpp
|
|
|
|
rtp_stream_dialog.cpp
|
|
|
|
sctp_all_assocs_dialog.cpp
|
|
|
|
sctp_assoc_analyse_dialog.cpp
|
2013-12-13 07:25:30 +00:00
|
|
|
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
|
2017-07-05 14:56:45 +00:00
|
|
|
show_packet_bytes_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
|
2017-07-05 14:56:45 +00:00
|
|
|
splash_overlay.cpp
|
2015-10-01 17:18:56 +00:00
|
|
|
supported_protocols_dialog.cpp
|
2017-07-09 00:15:25 +00:00
|
|
|
tabnav_tree_widget.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
|
2017-07-09 19:52:27 +00:00
|
|
|
uat_frame.cpp
|
2014-11-19 00:21:42 +00:00
|
|
|
voip_calls_dialog.cpp
|
2015-06-11 22:05:44 +00:00
|
|
|
wireless_frame.cpp
|
2017-04-06 21:45:33 +00:00
|
|
|
wireless_timeline.cpp
|
2012-02-02 08:55:00 +00:00
|
|
|
wireshark_application.cpp
|
2014-12-22 23:51:36 +00:00
|
|
|
wireshark_dialog.cpp
|
2017-01-06 10:56:09 +00:00
|
|
|
${WIRESHARK_CUSTOM_QT_SRCS}
|
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
|
2015-12-29 13:50:55 +00:00
|
|
|
extcap_argument_multiselect.cpp
|
2015-04-28 08:26:46 +00:00
|
|
|
extcap_options_dialog.cpp
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2013-11-21 01:28:17 +00:00
|
|
|
set(WIRESHARK_QT_TAP_SRC
|
2017-12-10 17:29:40 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/expert_info_dialog.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/funnel_statistics.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/gsm_map_summary_dialog.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/io_graph_dialog.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/lte_mac_statistics_dialog.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/lte_rlc_statistics_dialog.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/mtp3_summary_dialog.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/multicast_statistics_dialog.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/rtp_stream_dialog.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/sctp_all_assocs_dialog.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/sctp_assoc_analyse_dialog.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/stats_tree_dialog.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/wlan_statistics_dialog.cpp
|
2017-01-06 10:56:09 +00:00
|
|
|
${WIRESHARK_CUSTOM_TAP_SRC}
|
2013-11-21 01:28:17 +00:00
|
|
|
)
|
|
|
|
|
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-07-21 16:51:12 +00:00
|
|
|
address_editor_frame.ui
|
2015-01-22 11:27:23 +00:00
|
|
|
bluetooth_att_server_attributes_dialog.ui
|
2015-05-19 09:55:01 +00:00
|
|
|
bluetooth_device_dialog.ui
|
2015-05-13 15:33:28 +00:00
|
|
|
bluetooth_devices_dialog.ui
|
2015-06-08 17:38:48 +00:00
|
|
|
bluetooth_hci_summary_dialog.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
|
2015-09-30 23:54:40 +00:00
|
|
|
conversation_hash_tables_dialog.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-09-25 21:33:54 +00:00
|
|
|
dissector_tables_dialog.ui
|
2015-07-21 17:32:42 +00:00
|
|
|
enabled_protocols_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
|
2015-10-28 21:41:59 +00:00
|
|
|
filter_expression_frame.ui
|
2016-06-01 01:29:39 +00:00
|
|
|
firewall_rules_dialog.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
|
2015-08-05 00:42:53 +00:00
|
|
|
gsm_map_summary_dialog.ui
|
2015-09-03 18:18:13 +00:00
|
|
|
iax2_analysis_dialog.ui
|
2012-09-18 00:40:10 +00:00
|
|
|
import_text_dialog.ui
|
2016-10-01 06:54:57 +00:00
|
|
|
interface_frame.ui
|
2017-04-15 21:30:30 +00:00
|
|
|
interface_toolbar.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
|
2015-10-10 22:53:45 +00:00
|
|
|
lte_rlc_graph_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
|
2015-08-31 19:24:48 +00:00
|
|
|
mtp3_summary_dialog.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-07-17 22:06:55 +00:00
|
|
|
progress_frame.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
|
2014-12-13 00:51:40 +00:00
|
|
|
rtp_player_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
|
2016-02-07 21:15:12 +00:00
|
|
|
show_packet_bytes_dialog.ui
|
2012-11-05 03:54:21 +00:00
|
|
|
splash_overlay.ui
|
2015-10-01 17:18:56 +00:00
|
|
|
supported_protocols_dialog.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
|
2017-07-09 19:52:27 +00:00
|
|
|
uat_frame.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_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
|
|
|
)
|
|
|
|
|
2017-09-07 05:49:12 +00:00
|
|
|
foreach(_file ${WIRESHARK_QT_TS})
|
|
|
|
get_filename_component(_qresource ${_file} NAME_WE)
|
|
|
|
set(_qresource_qm "${_qresource}.qm")
|
|
|
|
set(i18n_qresource "${i18n_qresource}\n <file>${_qresource_qm}</file>")
|
|
|
|
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/i18n.qrc PROPERTIES OBJECT_DEPENDS ${_qresource_qm})
|
|
|
|
endforeach()
|
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/i18n.qrc.in ${CMAKE_CURRENT_BINARY_DIR}/i18n.qrc)
|
|
|
|
|
|
|
|
set(WIRESHARK_QT_QRC
|
|
|
|
../../image/about.qrc
|
|
|
|
../../image/languages/languages.qrc
|
|
|
|
../../image/layout.qrc
|
|
|
|
../../image/toolbar.qrc
|
|
|
|
../../image/wsicon.qrc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/i18n.qrc
|
|
|
|
)
|
|
|
|
|
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
|
|
|
)
|
|
|
|
|
2017-07-25 14:15:18 +00:00
|
|
|
SET(CMAKE_AUTOMOC TRUE)
|
|
|
|
|
2017-10-20 00:13:31 +00:00
|
|
|
if(CMAKE_VERSION VERSION_LESS "3.0.2")
|
2017-10-14 22:40:30 +00:00
|
|
|
# AUTOUIC and AUTORCC are not supported in CMAKE 2.8.x
|
|
|
|
if (QT_VERSION EQUAL 5)
|
|
|
|
QT5_ADD_TRANSLATION(WIRESHARK_QT_QM ${WIRESHARK_QT_TS})
|
|
|
|
QT5_ADD_RESOURCES(WIRESHARK_QT_QRC_SRC ${WIRESHARK_QT_QRC})
|
|
|
|
QT5_WRAP_UI(WIRESHARK_QT_UI_SRC ${WIRESHARK_QT_UI})
|
|
|
|
else()
|
|
|
|
QT4_ADD_TRANSLATION(WIRESHARK_QT_QM ${WIRESHARK_QT_TS})
|
|
|
|
QT4_ADD_RESOURCES(WIRESHARK_QT_QRC_SRC ${WIRESHARK_QT_QRC})
|
|
|
|
QT4_WRAP_UI(WIRESHARK_QT_UI_SRC ${WIRESHARK_QT_UI})
|
|
|
|
endif()
|
2013-04-25 23:04:19 +00:00
|
|
|
else()
|
2017-10-14 22:40:30 +00:00
|
|
|
SET(CMAKE_AUTOUIC TRUE)
|
|
|
|
SET(CMAKE_AUTORCC TRUE)
|
2017-12-13 16:03:15 +00:00
|
|
|
|
|
|
|
set(WIRESHARK_QT_QRC_SRC ${WIRESHARK_QT_QRC})
|
|
|
|
set(WIRESHARK_QT_UI_SRC ${WIRESHARK_QT_UI})
|
|
|
|
|
2017-10-14 22:40:30 +00:00
|
|
|
# Add .qrc files to library dependencies for AUTORCC.
|
|
|
|
set(WIRESHARK_QT_QRC_SRC ${WIRESHARK_QT_QRC})
|
|
|
|
if (QT_VERSION EQUAL 5)
|
|
|
|
QT5_ADD_TRANSLATION(WIRESHARK_QT_QM ${WIRESHARK_QT_TS})
|
|
|
|
else()
|
|
|
|
QT4_ADD_TRANSLATION(WIRESHARK_QT_QM ${WIRESHARK_QT_TS})
|
|
|
|
endif()
|
2013-04-25 23:04:19 +00:00
|
|
|
endif()
|
2012-02-02 08:55:00 +00:00
|
|
|
|
2016-03-15 03:06:21 +00:00
|
|
|
add_custom_target(
|
|
|
|
translations ALL
|
|
|
|
DEPENDS
|
|
|
|
${WIRESHARK_QT_QM}
|
|
|
|
)
|
|
|
|
set_target_properties(translations PROPERTIES FOLDER "UI")
|
|
|
|
|
2016-09-30 14:06:15 +00:00
|
|
|
set_source_files_properties(
|
|
|
|
${WIRESHARK_QT_FILES}
|
|
|
|
PROPERTIES
|
|
|
|
COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
|
|
|
|
)
|
2012-02-02 08:55:00 +00:00
|
|
|
|
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
|
|
|
|
${WIRESHARK_QT_TAP_SRC}
|
|
|
|
)
|
|
|
|
|
2017-07-25 14:47:16 +00:00
|
|
|
source_group("ui\\UIC Files" FILES ${WIRESHARK_QT_UI})
|
2017-10-14 22:40:30 +00:00
|
|
|
source_group("ui\\qrc" FILES ${WIRESHARK_QT_QRC})
|
2017-07-25 14:47:16 +00:00
|
|
|
source_group("ui\\Header" FILES ${WIRESHARK_QT_HEADERS})
|
|
|
|
source_group("ui\\Widget Header" FILES ${WIRESHARK_WIDGET_HEADERS})
|
|
|
|
source_group("ui\\Widget Source" FILES ${WIRESHARK_WIDGET_SRCS})
|
|
|
|
source_group("ui\\Utils Headers Files" FILES ${WIRESHARK_UTILS_HEADERS})
|
|
|
|
source_group("ui\\Utils Source" FILES ${WIRESHARK_UTILS_SRCS})
|
|
|
|
source_group("ui\\Models Headers" FILES ${WIRESHARK_MODEL_HEADERS})
|
2017-07-30 15:44:11 +00:00
|
|
|
source_group("ui\\Models Source" FILES ${WIRESHARK_MODEL_SRCS})
|
2017-07-11 15:32:01 +00:00
|
|
|
|
2012-02-02 08:55:00 +00:00
|
|
|
add_library(qtui STATIC
|
2017-07-05 14:56:45 +00:00
|
|
|
#Included so that Visual Studio can properly put header files in solution
|
|
|
|
${WIRESHARK_QT_HEADERS}
|
|
|
|
${WIRESHARK_WIDGET_HEADERS}
|
2017-07-25 14:15:18 +00:00
|
|
|
${WIRESHARK_UTILS_HEADERS}
|
2017-07-25 14:47:16 +00:00
|
|
|
${WIRESHARK_MODEL_HEADERS}
|
2017-07-05 14:56:45 +00:00
|
|
|
|
2013-11-21 01:28:17 +00:00
|
|
|
${WIRESHARK_QT_SRC}
|
2017-07-05 14:56:45 +00:00
|
|
|
${WIRESHARK_WIDGET_SRCS}
|
2017-07-25 14:15:18 +00:00
|
|
|
${WIRESHARK_UTILS_SRCS}
|
2017-07-25 14:47:16 +00:00
|
|
|
${WIRESHARK_MODEL_SRCS}
|
|
|
|
|
2013-11-21 01:28:17 +00:00
|
|
|
${WIRESHARK_QT_TAP_SRC}
|
|
|
|
${WIRESHARK_QT_UI_SRC}
|
|
|
|
${WIRESHARK_QT_QRC_SRC}
|
|
|
|
wireshark-tap-register.c
|
2012-02-02 08:55:00 +00:00
|
|
|
)
|
2016-03-15 03:06:21 +00:00
|
|
|
add_dependencies(qtui translations)
|
2017-09-24 01:30:08 +00:00
|
|
|
set_target_properties(qtui PROPERTIES
|
|
|
|
LINK_FLAGS "${WS_LINK_FLAGS}"
|
|
|
|
FOLDER "UI"
|
|
|
|
)
|
2017-10-20 00:13:31 +00:00
|
|
|
if(NOT CMAKE_VERSION VERSION_LESS "3.0.2")
|
2017-10-14 22:40:30 +00:00
|
|
|
# Ensure .qm files are generated before autogenerating i18n.qrc
|
|
|
|
set_target_properties(qtui PROPERTIES
|
|
|
|
AUTOGEN_TARGET_DEPENDS "${WIRESHARK_QT_QM}"
|
|
|
|
)
|
|
|
|
endif()
|
2015-11-16 13:59:16 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Editor modelines - http://www.wireshark.org/tools/modelines.html
|
|
|
|
#
|
|
|
|
# Local variables:
|
|
|
|
# c-basic-offset: 8
|
|
|
|
# tab-width: 8
|
|
|
|
# indent-tabs-mode: t
|
|
|
|
# End:
|
|
|
|
#
|
|
|
|
# vi: set shiftwidth=8 tabstop=8 noexpandtab:
|
|
|
|
# :indentSize=8:tabSize=8:noTabs=false:
|
|
|
|
#
|