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

A dialog for managing and configuring packet coloring rules. More...

#include <coloring_rules_dialog.h>

Inheritance diagram for ColoringRulesDialog:
GeometryStateDialog

Signals

void filterAction (QString filter, FilterAction::Action action, FilterAction::ActionType type)
 Signal emitted when a filter action is requested.

Public Member Functions

 ColoringRulesDialog (QWidget *parent=0, QString add_filter=QString())
 Constructs a new ColoringRulesDialog.
 ~ColoringRulesDialog ()
 Destroys the ColoringRulesDialog.
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.

Protected Member Functions

void showEvent (QShowEvent *event) override
 Handles the show event for the dialog.
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 configuring packet coloring rules.

Constructor & Destructor Documentation

◆ ColoringRulesDialog()

ColoringRulesDialog::ColoringRulesDialog ( QWidget * parent = 0,
QString add_filter = QString() )
explicit

Constructs a new ColoringRulesDialog.

Parameters
parentThe parent widget, defaults to 0.
add_filterAn optional filter string to add initially, defaults to an empty string.

Member Function Documentation

◆ filterAction

void ColoringRulesDialog::filterAction ( QString filter,
FilterAction::Action action,
FilterAction::ActionType type )
signal

Signal emitted when a filter action is requested.

Parameters
filterThe filter string.
actionThe specific action to perform.
typeThe type of the filter action.

◆ showEvent()

void ColoringRulesDialog::showEvent ( QShowEvent * event)
overrideprotected

Handles the show event for the dialog.

Parameters
eventThe show event object.

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