A dialog for exporting packet dissections to various file formats.
More...
#include <export_dissection_dialog.h>
|
|
void | show () |
| | Displays the export dissection dialog.
|
| |
|
| bool | eventFilter (QObject *obj, QEvent *event) override |
| | Filters events for the dialog, allowing custom event handling.
|
| |
|
| 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.
|
| |
A dialog for exporting packet dissections to various file formats.
◆ ExportDissectionDialog()
| ExportDissectionDialog::ExportDissectionDialog |
( |
QWidget * |
parent, |
|
|
capture_file * |
cap_file, |
|
|
export_type_e |
export_type, |
|
|
QString |
selRange = QString() |
|
) |
| |
|
explicit |
Constructs a new ExportDissectionDialog.
- Parameters
-
| parent | The parent widget. |
| cap_file | The capture file containing the packets to export. |
| export_type | The initial export format type. |
| selRange | The initially selected range of packets (defaults to an empty string). |
◆ eventFilter()
| bool ExportDissectionDialog::eventFilter |
( |
QObject * |
obj, |
|
|
QEvent * |
event |
|
) |
| |
|
overrideprotected |
Filters events for the dialog, allowing custom event handling.
- Parameters
-
| obj | The object that generated the event. |
| event | The event to filter. |
- Returns
- True if the event was filtered (handled), false otherwise.
The documentation for this class was generated from the following files: