Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
export_dissection_dialog.h
Go to the documentation of this file.
1
10#ifndef EXPORT_DISSECTION_DIALOG_H
11#define EXPORT_DISSECTION_DIALOG_H
12
13#include <config.h>
14
15#include "file.h"
16#include "epan/print.h"
17
18#include "ui/file_dialog.h"
20
22#include "packet_format_stack.h"
23
24#include <QMap>
25
30{
31 Q_OBJECT
32
33public:
41 explicit ExportDissectionDialog(QWidget *parent, capture_file *cap_file, export_type_e export_type, QString selRange = QString());
42
47
48public slots:
52 void show();
53
54protected:
61 bool eventFilter(QObject *obj, QEvent *event) override;
62
63private slots:
68 void dialogAccepted(const QStringList &selected);
69
74 void exportTypeChanged(QString name_filter);
75
79 void checkValidity();
80
84 void on_buttonBox_helpRequested();
85
86private:
88 export_type_e export_type_;
89
91 capture_file *cap_file_;
92
94 print_args_t print_args_;
95
97 QMap<QString, export_type_e> export_type_map_;
98
100 PacketRangeGroupBox packet_range_group_box_;
101
103 PacketFormatStack *packet_format_stack_;
104
106 QPushButton *save_bt_;
107
112 bool isValid();
113};
114
115#endif // EXPORT_DISSECTION_DIALOG_H
A dialog for exporting packet dissections to various file formats.
Definition export_dissection_dialog.h:30
~ExportDissectionDialog()
Destroys the ExportDissectionDialog.
Definition export_dissection_dialog.cpp:116
bool eventFilter(QObject *obj, QEvent *event) override
Filters events for the dialog, allowing custom event handling.
Definition export_dissection_dialog.cpp:234
void show()
Displays the export dissection dialog.
Definition export_dissection_dialog.cpp:122
A stacked widget that manages and displays different packet formatting UI elements based on export ty...
Definition packet_format_stack.h:24
UI element for controlling a range selection. The range provided in "initRange" is not owned by this ...
Definition packet_range_group_box.h:29
The WiresharkFileDialog class.
Definition wireshark_file_dialog.h:35
export_type_e
Output format for packet data export operations.
Definition file_dialog.h:32
Represents a capture file and its associated metadata.
Definition cfile.h:84
Aggregates all options controlling a single print or export operation.
Definition file.h:476