diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-12-07 01:46:20 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-12-07 01:46:20 +0000 |
commit | 59cd52b5caae3806fbaba984833a8edd2752f2c4 (patch) | |
tree | f886df01065a589edecb4617770e7f599ef396cf /ui/qt/wireshark_application.cpp | |
parent | 2b240a299b3cf26a5ef52e400588bb2e56d2a57f (diff) |
Implement the items under "Edit→Copy", "Analyze→Apply as Filter" and
"Analyze→Prepare a Filter". Add a context menu to the protocol tree and
fill in the items we've implemented so far.
Add an "applyAllPreferences" method and corresponding
"preferencesUpdated" signal to wsApp. Use it to set the maximum display
filter combo count.
Move the packet filtering code from the display filter edit to the main
window (which makes more sense and matches what we're doing in the GTK+
version and gets rid of more global cfile references). Try to center the
display filter edit button images.
Use a different "close" button in the main toolbar. It looks better but
is still wrong (on OS X at least).
svn path=/trunk/; revision=46434
Diffstat (limited to 'ui/qt/wireshark_application.cpp')
-rw-r--r-- | ui/qt/wireshark_application.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp index 5eb69dc5c1..667ed35751 100644 --- a/ui/qt/wireshark_application.cpp +++ b/ui/qt/wireshark_application.cpp @@ -415,6 +415,12 @@ void WiresharkApplication::allSystemsGo() } } +void WiresharkApplication::applyAllPreferences() +{ + prefs_apply_all(); + emit updatePreferences(); +} + QList<recent_item_status *> WiresharkApplication::recentItems() const { return recent_items; } |