diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2015-02-20 15:30:23 +0100 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-02-27 20:27:14 +0000 |
commit | 2d4817966ee88d2b163dca46e4df75e8f6262b7a (patch) | |
tree | d887a5bcee4b267d55556436f320bb32cd49c738 /ui/qt/main_window.ui | |
parent | 2462c0d35a113043b003a73b8b3fe31a674264bb (diff) |
Qt: Automatically scroll the packet list.
Add an "Auto Scroll in Live Capture" action to the Go menu. It's in the
View menu in the GTK+ UI but it seems to make more sense as a navigation
item.
Use a timeout interval for automatic scrolling. I haven't run any tests
to see if this makes a difference but it would seem that the less
drawing we do during a high speed capture the better, particularly for
remote displays.
Update the x-stay-last icons.
Note that we might want to make prefs.capture_auto_scroll a "recent"
setting.
Mark auto_scroll_live and packet_list_check_end GTK+ only.
Bug: 10601
Co-authored-by: Gerald Combs <gerald@wireshark.org>
Change-Id: I645d27c0814f0e4a0d5b01ae68be366847e2522d
Reviewed-on: https://code.wireshark.org/review/7292
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/main_window.ui')
-rw-r--r-- | ui/qt/main_window.ui | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ui/qt/main_window.ui b/ui/qt/main_window.ui index 29a9efba84..6a9901a3a4 100644 --- a/ui/qt/main_window.ui +++ b/ui/qt/main_window.ui @@ -225,6 +225,8 @@ <addaction name="actionGoPreviousPacket"/> <addaction name="actionGoFirstPacket"/> <addaction name="actionGoLastPacket"/> + <addaction name="separator"/> + <addaction name="actionGoAutoScroll"/> </widget> <widget class="QMenu" name="menuView"> <property name="title"> @@ -568,6 +570,7 @@ <addaction name="actionGoGoToPacket"/> <addaction name="actionGoFirstPacket"/> <addaction name="actionGoLastPacket"/> + <addaction name="actionGoAutoScroll"/> <addaction name="separator"/> <addaction name="actionViewColorizePacketList"/> <addaction name="separator"/> @@ -2293,6 +2296,17 @@ <string>Show the linked packet in a separate window.</string> </property> </action> + <action name="actionGoAutoScroll"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Auto Scroll in Li&ve Capture</string> + </property> + <property name="toolTip"> + <string>Automatically scroll to the last packet during a live capture.</string> + </property> + </action> </widget> <layoutdefault spacing="6" margin="11"/> <customwidgets> |