Wireshark 4.5.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
23
24#include <QMap>
25
27{
28 Q_OBJECT
29
30public:
31 explicit ExportDissectionDialog(QWidget *parent, capture_file *cap_file, export_type_e export_type, QString selRange = QString());
33
34public slots:
35 void show();
36
37protected:
38 bool eventFilter(QObject *obj, QEvent *event) override;
39
40private slots:
41 void dialogAccepted(const QStringList &selected);
42 void exportTypeChanged(QString name_filter);
43 void checkValidity();
44 void on_buttonBox_helpRequested();
45
46private:
47 export_type_e export_type_;
48 capture_file *cap_file_;
49 print_args_t print_args_;
50
51 QMap<QString, export_type_e> export_type_map_;
52 PacketRangeGroupBox packet_range_group_box_;
53
54 PacketFormatGroupBox packet_format_group_box_;
55
56 QPushButton *save_bt_;
57
58 bool isValid();
59};
60
61#endif // EXPORT_DISSECTION_DIALOG_H
Definition export_dissection_dialog.h:27
Definition packet_format_group_box.h:21
Definition packet_range_group_box.h:29
The WiresharkFileDialog class.
Definition wireshark_file_dialog.h:36
Definition cfile.h:67
Definition file.h:438