Wireshark  4.3.0
The Wireshark network protocol analyzer
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 
21 #include "packet_range_group_box.h"
23 
24 #include <QMap>
25 
27 {
28  Q_OBJECT
29 
30 public:
31  explicit ExportDissectionDialog(QWidget *parent, capture_file *cap_file, export_type_e export_type, QString selRange = QString());
33 
34 public slots:
35  void show();
36 
37 private slots:
38  void dialogAccepted(const QStringList &selected);
39  void exportTypeChanged(QString name_filter);
40  void checkValidity();
41  void on_buttonBox_helpRequested();
42 
43 private:
44  export_type_e export_type_;
45  capture_file *cap_file_;
46  print_args_t print_args_;
47 
48  QMap<QString, export_type_e> export_type_map_;
49  PacketRangeGroupBox packet_range_group_box_;
50 
51  PacketFormatGroupBox packet_format_group_box_;
52 
53  QPushButton *save_bt_;
54 };
55 
56 #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