summaryrefslogtreecommitdiff
path: root/ui/qt/packet_list_model.cpp
diff options
context:
space:
mode:
authorSimon Barber <simon.barber@meraki.net>2017-04-06 17:45:33 -0400
committerMichael Mann <mmann78@netscape.net>2017-06-05 11:25:51 +0000
commit21305e9835d40dbd812514471397fb1de3a0740c (patch)
treefdbd995627e1e7cf059a9bdc3b1d2b8dc7278beb /ui/qt/packet_list_model.cpp
parentd0865fd619454a9ac06b1c7d287dc438aff50bb0 (diff)
downloadwireshark-21305e9835d40dbd812514471397fb1de3a0740c.tar.gz
Add a timeline view for packets, with the timing data used to generate the display
taken from the timing analysis done in the wlan_radio dissector. QT only. The timeline background is light gray, white for packets displayed in the packetlist, and blue for the currently selected packet. Packets are coloured according to the colouring rules foreground colour. The timeline can be zoomed with controls on the toolbar. At higher zoom levels the duration (NAV) field is plotted as a horizontal line to the right of a packet. The height of a packet in the timeline is proportional to the RSSI. The bottom half of the packet is only shown if it matches the display filter. Todo: Auto detect TSF timing reference point (start/end of packet) Add a scrollbar Add a ruler showing time Improve handling of focus. Do not display NAV for packets with bad FCS. Show related packets graphically Different Y axis modes - bandwidth/channel use display - different transmitters per line - background color from coloring rules Live capture support Change-Id: Ic31fffb0d6854966361ade7abb5c0be50db9a247 Reviewed-on: https://code.wireshark.org/review/20043 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/qt/packet_list_model.cpp')
-rw-r--r--ui/qt/packet_list_model.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/qt/packet_list_model.cpp b/ui/qt/packet_list_model.cpp
index 4c8012ea91..a46b6f568d 100644
--- a/ui/qt/packet_list_model.cpp
+++ b/ui/qt/packet_list_model.cpp
@@ -615,6 +615,7 @@ void PacketListModel::dissectIdle(bool reset)
idle_dissection_timer_->restart();
+ int first = idle_dissection_row_;
while (idle_dissection_timer_->elapsed() < idle_dissection_interval_
&& idle_dissection_row_ < physical_rows_.count()) {
ensureRowColorized(idle_dissection_row_);
@@ -627,6 +628,9 @@ void PacketListModel::dissectIdle(bool reset)
} else {
idle_dissection_timer_->invalidate();
}
+
+ // report colorization progress
+ bgColorizationProgress(first+1, idle_dissection_row_+1);
}
// XXX Pass in cinfo from packet_list_append so that we can fill in