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

A dialog for exporting packet dissections to various file formats. More...

#include <export_dissection_dialog.h>

Inheritance diagram for ExportDissectionDialog:
WiresharkFileDialog

Public Slots

void show ()
 Displays the export dissection dialog.
 

Public Member Functions

 ExportDissectionDialog (QWidget *parent, capture_file *cap_file, export_type_e export_type, QString selRange=QString())
 Constructs a new ExportDissectionDialog.
 
 ~ExportDissectionDialog ()
 Destroys the ExportDissectionDialog.
 
- Public Member Functions inherited from WiresharkFileDialog
 WiresharkFileDialog (QWidget *parent=nullptr, const QString &caption=QString(), const QString &directory=QString(), const QString &filter=QString())
 Constructs a Wireshark file dialog.
 
QString selectedNativePath () const
 Returns the selected file path in native OS format.
 

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *event) override
 Filters events for the dialog, allowing custom event handling.
 

Additional Inherited Members

- Static Public Member Functions inherited from WiresharkFileDialog
static QString getExistingDirectory (QWidget *parent=Q_NULLPTR, const QString &caption=QString(), const QString &dir=QString(), Options options=ShowDirsOnly)
 Presents a directory chooser dialog and returns the selected path.
 
static QString getOpenFileName (QWidget *parent=Q_NULLPTR, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=Q_NULLPTR, Options options=Options())
 Presents an open-file dialog and returns the selected file path.
 
static QString getSaveFileName (QWidget *parent=Q_NULLPTR, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=Q_NULLPTR, Options options=Options())
 Presents a save-file dialog and returns the chosen file path.
 

Detailed Description

A dialog for exporting packet dissections to various file formats.

Constructor & Destructor Documentation

◆ ExportDissectionDialog()

ExportDissectionDialog::ExportDissectionDialog ( QWidget *  parent,
capture_file cap_file,
export_type_e  export_type,
QString  selRange = QString() 
)
explicit

Constructs a new ExportDissectionDialog.

Parameters
parentThe parent widget.
cap_fileThe capture file containing the packets to export.
export_typeThe initial export format type.
selRangeThe initially selected range of packets (defaults to an empty string).

Member Function Documentation

◆ eventFilter()

bool ExportDissectionDialog::eventFilter ( QObject *  obj,
QEvent *  event 
)
overrideprotected

Filters events for the dialog, allowing custom event handling.

Parameters
objThe object that generated the event.
eventThe event to filter.
Returns
True if the event was filtered (handled), false otherwise.

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