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