| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
compression_group_box.h
Go to the documentation of this file.
1
9
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
19 class QButtonGroup;
20
24 class CompressionGroupBox : public QGroupBox
25{
26 Q_OBJECT
27
28 public:
33 explicit CompressionGroupBox(QWidget *parent = 0);
34
38 ~CompressionGroupBox();
39
44 ws_compression_type compressionType() const;
45
50 void setCompressionType(ws_compression_type type);
51
52signals:
56 void stateChanged();
57
58 private:
60 QButtonGroup *bg_;
61};
62
63#endif // COMPRESSION_GROUP_BOX_H
CompressionGroupBox::CompressionGroupBox
CompressionGroupBox(QWidget *parent=0)
Constructs a new CompressionGroupBox.
Definition compression_group_box.cpp:16
CompressionGroupBox::stateChanged
void stateChanged()
Signal emitted when the compression state or selection changes.
CompressionGroupBox::compressionType
ws_compression_type compressionType() const
Retrieves the currently selected compression type.
Definition compression_group_box.cpp:52
CompressionGroupBox::~CompressionGroupBox
~CompressionGroupBox()
Destroys the CompressionGroupBox.
Definition compression_group_box.cpp:48
CompressionGroupBox::setCompressionType
void setCompressionType(ws_compression_type type)
Sets the compression type for the group box.
Definition compression_group_box.cpp:57
wtap.h