Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
PacketFormatGroupBox Class Referenceabstract

Base group box for configuring packet export and print formats. More...

#include <packet_format_group_box.h>

Inheritance diagram for PacketFormatGroupBox:
PacketFormatBlankGroupBox PacketFormatCArraysGroupBox PacketFormatCSVGroupBox PacketFormatJSONGroupBox PacketFormatTextGroupBox

Signals

void formatChanged ()
 Signal emitted when the format configuration changes.

Public Member Functions

 PacketFormatGroupBox (QWidget *parent=0)
 Constructs a PacketFormatGroupBox.
virtual bool isValid () const
 Checks if the current format configuration is valid.
virtual void updatePrintArgs (print_args_t &print_args)=0
 Updates the print arguments with the current format settings.

Detailed Description

Base group box for configuring packet export and print formats.

Constructor & Destructor Documentation

◆ PacketFormatGroupBox()

PacketFormatGroupBox::PacketFormatGroupBox ( QWidget * parent = 0)
explicit

Constructs a PacketFormatGroupBox.

Parameters
parentThe parent widget.

Member Function Documentation

◆ isValid()

bool PacketFormatGroupBox::isValid ( ) const
virtual

Checks if the current format configuration is valid.

Returns
True if the configuration is valid, false otherwise.

Reimplemented in PacketFormatCArraysGroupBox, PacketFormatCSVGroupBox, PacketFormatJSONGroupBox, and PacketFormatTextGroupBox.

◆ updatePrintArgs()

virtual void PacketFormatGroupBox::updatePrintArgs ( print_args_t & print_args)
pure virtual

Updates the print arguments with the current format settings.

Parameters
print_argsThe print arguments structure to update.

Implemented in PacketFormatBlankGroupBox, PacketFormatCArraysGroupBox, PacketFormatCSVGroupBox, PacketFormatJSONGroupBox, and PacketFormatTextGroupBox.


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