Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
compression_group_box.h
Go to the documentation of this file.
1
10#ifndef COMPRESSION_GROUP_BOX_H
11#define COMPRESSION_GROUP_BOX_H
12
13#include <config.h>
14
15#include <QGroupBox>
16
17#include <wiretap/wtap.h>
18
19class QButtonGroup;
20
24class CompressionGroupBox : public QGroupBox
25{
26 Q_OBJECT
27
28public:
33 explicit CompressionGroupBox(QWidget *parent = 0);
34
39
44 ws_compression_type compressionType() const;
45
50 void setCompressionType(ws_compression_type type);
51
52signals:
57
58private:
60 QButtonGroup *bg_;
61};
62
63#endif // COMPRESSION_GROUP_BOX_H
UI element for selecting compression type from among those supported.
Definition compression_group_box.h:25
void stateChanged()
Signal emitted when the compression state or selection changes.
ws_compression_type compressionType() const
Retrieves the currently selected compression type.
Definition compression_group_box.cpp:52
~CompressionGroupBox()
Destroys the CompressionGroupBox.
Definition compression_group_box.cpp:48
void setCompressionType(ws_compression_type type)
Sets the compression type for the group box.
Definition compression_group_box.cpp:57