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/display_filter_edit.h | |
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/display_filter_edit.h')
-rw-r--r-- | ui/qt/display_filter_edit.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/qt/display_filter_edit.h b/ui/qt/display_filter_edit.h index 6c5524385e..efe69e28b0 100644 --- a/ui/qt/display_filter_edit.h +++ b/ui/qt/display_filter_edit.h @@ -39,10 +39,13 @@ protected: // void focusInEvent(QFocusEvent *evt); // void focusOutEvent(QFocusEvent *evt); +public slots: + void applyDisplayFilter(); + void displayFilterSuccess(bool success); + private slots: void checkFilter(const QString &text); void showDisplayFilterDialog(); - void applyDisplayFilter(); private: bool plain_; @@ -56,6 +59,7 @@ signals: void pushFilterSyntaxStatus(QString&); void popFilterSyntaxStatus(); void pushFilterSyntaxWarning(QString&); + void filterPackets(QString& new_filter, bool force); public slots: |