Wireshark 4.5.0
The Wireshark network protocol analyzer
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
packet_format_stack.h
Go to the documentation of this file.
1
11#ifndef PACKET_FORMAT_STACK_H
12#define PACKET_FORMAT_STACK_H
13
14#include "file.h"
15#include "ui/file_dialog.h"
16
17#include <QStackedWidget>
18#include <QMap>
19
20class PacketFormatStack : public QStackedWidget
21{
22 Q_OBJECT
23
24public:
25 explicit PacketFormatStack(QWidget *parent = 0);
27
28 void setExportType(export_type_e type);
29 bool isValid() const;
30 void updatePrintArgs(print_args_t& print_args);
31
32signals:
33 void formatChanged();
34
35private:
36 QMap<export_type_e, int> export_type_map_;
37 int blank_idx_;
38};
39
40#endif // PACKET_FORMAT_STACK_H
Definition packet_format_stack.h:21
Definition file.h:435