diff options
Diffstat (limited to 'ui/qt/packet_format_group_box.h')
-rw-r--r-- | ui/qt/packet_format_group_box.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/ui/qt/packet_format_group_box.h b/ui/qt/packet_format_group_box.h new file mode 100644 index 00000000..30459071 --- /dev/null +++ b/ui/qt/packet_format_group_box.h @@ -0,0 +1,60 @@ +/** @file + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + + +#ifndef PACKET_FORMAT_GROUP_BOX_H +#define PACKET_FORMAT_GROUP_BOX_H + +#include <QGroupBox> + +namespace Ui { +class PacketFormatGroupBox; +} + +class PacketFormatGroupBox : public QGroupBox +{ + Q_OBJECT + +public: + explicit PacketFormatGroupBox(QWidget *parent = 0); + ~PacketFormatGroupBox(); + + bool summaryEnabled(); + bool detailsEnabled(); + bool bytesEnabled(); + + bool includeColumnHeadingsEnabled(); + + bool allCollapsedEnabled(); + bool asDisplayedEnabled(); + bool allExpandedEnabled(); + + uint getHexdumpOptions(); + +signals: + void formatChanged(); + +private slots: + void on_summaryCheckBox_toggled(bool checked); + void on_detailsCheckBox_toggled(bool checked); + void on_bytesCheckBox_toggled(bool checked); + + void on_includeColumnHeadingsCheckBox_toggled(bool checked); + + void on_allCollapsedButton_toggled(bool checked); + void on_asDisplayedButton_toggled(bool checked); + void on_allExpandedButton_toggled(bool checked); + + void on_includeDataSourcesCheckBox_toggled(bool checked); + +private: + Ui::PacketFormatGroupBox *pf_ui_; +}; + +#endif // PACKET_FORMAT_GROUP_BOX_H |