Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

packet_range_group_box.h
1 /* packet_range_group_box.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10 #ifndef PACKET_RANGE_GROUP_BOX_H
11 #define PACKET_RANGE_GROUP_BOX_H
12
13 #include <config.h>
14
15 #include <glib.h>
16
17 #include <ui/packet_range.h>
18
19 #include <ui/qt/widgets/syntax_line_edit.h>
20 #include <QGroupBox>
21
22 namespace Ui {
23 class PacketRangeGroupBox;
24 }
25
26 class PacketRangeGroupBox : public QGroupBox
27 {
28 Q_OBJECT
29
30 public:
31 explicit PacketRangeGroupBox(QWidget *parent = 0);
32 ~PacketRangeGroupBox();
33 void initRange(packet_range_t *range);
34 bool isValid();
35
36 signals:
37 void validityChanged(bool is_valid);
38 void rangeChanged();
39
40 private:
41 void updateCounts();
42 void processButtonToggled(bool checked, packet_range_e process);
43
44 Ui::PacketRangeGroupBox *pr_ui_;
45 packet_range_t *range_;
46 SyntaxLineEdit::SyntaxState syntax_state_;
47
48 private slots:
49 void on_rangeLineEdit_textChanged(const QString &range_str);
50
51 void on_allButton_toggled(bool checked);
52
53 void on_selectedButton_toggled(bool checked);
54
55 void on_markedButton_toggled(bool checked);
56
57 void on_ftlMarkedButton_toggled(bool checked);
58
59 void on_rangeButton_toggled(bool checked);
60
61 void on_capturedButton_toggled(bool checked);
62 void on_displayedButton_toggled(bool checked);
63 void on_ignoredCheckBox_toggled(bool checked);
64 };
65
66 #endif // PACKET_RANGE_GROUP_BOX_H
Ui::PacketRangeGroupBox
Definition: ui_packet_range_group_box.h:237
Ui
Definition: ui_about_dialog.h:291
PacketRangeGroupBox
Definition: packet_range_group_box.h:26
packet_range_tag
Definition: packet_range.h:38