Qt: Show / hide main widgets.
authorGerald Combs <gerald@wireshark.org>
Wed, 22 Oct 2014 17:05:35 +0000 (10:05 -0700)
committerGerald Combs <gerald@wireshark.org>
Wed, 22 Oct 2014 17:55:18 +0000 (17:55 +0000)
commite2bece7733a3dcf773bcd49fb14cfc3ac9f7db1b
treef999ba9af99293348d40e7097827852123b637e6
parentc5a88763fe48255809f14dd096c5cd356ddcf499
Qt: Show / hide main widgets.

Remove existing code which uses the visibilityChanged signal. It exists
in QToolbar but not QWidget. Use the actions to drive visibility
instead.

Update MainWindow::layoutPanes to respect "recent" settings.

Move the show / hide actions to the top of the View menu to match GTK+.

Change-Id: I670682e2a094945dbd36c80f43cd14515bbca5a6
Reviewed-on: https://code.wireshark.org/review/4911
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
ui/qt/main_window.cpp
ui/qt/main_window.h
ui/qt/main_window.ui
ui/qt/main_window_slots.cpp