Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Signals | Public Member Functions | List of all members
PacketFormatStack Class Reference

A stacked widget that manages and displays different packet formatting UI elements based on export type. More...

#include <packet_format_stack.h>

Inheritance diagram for PacketFormatStack:

Signals

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

Public Member Functions

 PacketFormatStack (QWidget *parent=0)
 Constructs a new PacketFormatStack.
 
 ~PacketFormatStack ()
 Destroys the PacketFormatStack.
 
void setExportType (export_type_e type)
 Sets the current export type, updating the displayed stack widget accordingly.
 
bool isValid () const
 Checks if the currently selected packet format configuration is valid.
 
void updatePrintArgs (print_args_t &print_args)
 Updates the provided print arguments with the user's formatting selections.
 

Detailed Description

A stacked widget that manages and displays different packet formatting UI elements based on export type.

Constructor & Destructor Documentation

◆ PacketFormatStack()

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

Constructs a new PacketFormatStack.

Parameters
parentThe parent widget, defaults to 0.

Member Function Documentation

◆ isValid()

bool PacketFormatStack::isValid ( ) const

Checks if the currently selected packet format configuration is valid.

Returns
True if valid, false otherwise.

◆ setExportType()

void PacketFormatStack::setExportType ( export_type_e  type)

Sets the current export type, updating the displayed stack widget accordingly.

Parameters
typeThe export format type to set.

◆ updatePrintArgs()

void PacketFormatStack::updatePrintArgs ( print_args_t print_args)

Updates the provided print arguments with the user's formatting selections.

Parameters
print_argsReference to the print_args_t structure to be updated.

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