wireshark/ui
Gerald Combs a5cb72fe9e 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-04-07 20:56:42 +00:00
..
cli (Pedantic): set editor modelines tab-width & etc to 8; Also: fix some indentation in packet-sip.c 2014-04-03 15:31:56 +00:00
gtk Add a Qt I/O Graph dialog. 2014-04-07 20:56:42 +00:00
qt Add a Qt I/O Graph dialog. 2014-04-07 20:56:42 +00:00
win32 (Pedantic): set editor modelines tab-width & etc to 8; Also: fix some indentation in packet-sip.c 2014-04-03 15:31:56 +00:00
CMakeLists.txt Add a Qt I/O Graph dialog. 2014-04-07 20:56:42 +00:00
Makefile.am Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.common Add a Qt I/O Graph dialog. 2014-04-07 20:56:42 +00:00
Makefile.nmake Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
alert_box.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
alert_box.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
capture_globals.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
decode_as_utils.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
decode_as_utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
doxygen.cfg.in Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
export_object.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
export_object.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
export_object_dicom.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
export_object_http.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
export_object_smb.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
file_dialog.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
follow.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
follow.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
help_url.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
help_url.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
iface_lists.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
iface_lists.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
io_graph_item.c Add a Qt I/O Graph dialog. 2014-04-07 20:56:42 +00:00
io_graph_item.h Add a Qt I/O Graph dialog. 2014-04-07 20:56:42 +00:00
last_open_dir.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
main_statusbar.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet_list_utils.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet_list_utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
persfilepath_opt.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
persfilepath_opt.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
preference_utils.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
preference_utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
profile.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
profile.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
progress_dlg.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
recent.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
recent.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
recent_utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
rtp_analysis.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
rtp_stream.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
simple_dialog.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
software_update.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
software_update.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ssl_key_export.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ssl_key_export.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-megaco-common.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-megaco-common.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-rtp-common.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-rtp-common.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-sctp-analysis.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-sctp-analysis.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-sequence-analysis.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-sequence-analysis.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-tcp-stream.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-tcp-stream.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap_export_pdu.c Fix bug9931 'Encapsulated ethernet packets sometimes show invalid FCS' 2014-03-27 21:39:57 +00:00
tap_export_pdu.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
text_import.c Fix bug9931 'Encapsulated ethernet packets sometimes show invalid FCS' 2014-03-27 21:39:57 +00:00
text_import.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
text_import_scanner.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
text_import_scanner.l Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
time_shift.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
time_shift.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ui_util.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
utf8_entities.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
util.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
util.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00