Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
FilterDialog Class Reference

A dialog for managing and editing capture filters, display filters, and display macros. More...

#include <filter_dialog.h>

Inheritance diagram for FilterDialog:
GeometryStateDialog

Public Types

enum  FilterType { CaptureFilter , DisplayFilter , DisplayMacro }
 Defines the type of filter being managed by the dialog. More...

Public Member Functions

 FilterDialog (QWidget *parent=0, FilterType filter_type=CaptureFilter, const QString new_filter=QString())
 Constructs a new FilterDialog.
 ~FilterDialog ()
 Destroys the FilterDialog.
Public Member Functions inherited from GeometryStateDialog
 GeometryStateDialog (QWidget *parent, Qt::WindowFlags f=Qt::Window)
 Constructs a new GeometryStateDialog with the specified parent and window flags.
 ~GeometryStateDialog ()
 Save the geometry and splitter state and then destroy the GeometryStateDialog.
void setWindowModality (Qt::WindowModality windowModality)
 Sets the window modality for the dialog. On non-macOS platforms, this also sets the parent to ensure modal dialogs are always on top of their parent.

Additional Inherited Members

Protected Member Functions inherited from GeometryStateDialog
void loadGeometry (int width=0, int height=0, const QString &dialog_name=QString())
 Loads the geometry and splitter state for the dialog.
void loadSplitterState (QSplitter *splitter=nullptr)
 Loads the state of a splitter for the dialog.

Detailed Description

A dialog for managing and editing capture filters, display filters, and display macros.

Member Enumeration Documentation

◆ FilterType

Defines the type of filter being managed by the dialog.

Enumerator
CaptureFilter 

A capture filter.

DisplayFilter 

A display filter.

DisplayMacro 

A display macro.

Constructor & Destructor Documentation

◆ FilterDialog()

FilterDialog::FilterDialog ( QWidget * parent = 0,
FilterType filter_type = CaptureFilter,
const QString new_filter = QString() )
explicit

Constructs a new FilterDialog.

Parameters
parentThe parent widget, defaults to 0.
filter_typeThe type of filter this dialog will manage, defaults to CaptureFilter.
new_filterAn optional initial filter string to populate, defaults to an empty string.

The documentation for this class was generated from the following files: