nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /* packet_format_group_box.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 */
21  
22  
23 #ifndef PACKET_FORMAT_GROUP_BOX_H
24 #define PACKET_FORMAT_GROUP_BOX_H
25  
26 #include <QGroupBox>
27  
28 namespace Ui {
29 class PacketFormatGroupBox;
30 }
31  
32 class PacketFormatGroupBox : public QGroupBox
33 {
34 Q_OBJECT
35  
36 public:
37 explicit PacketFormatGroupBox(QWidget *parent = 0);
38 ~PacketFormatGroupBox();
39  
40 bool summaryEnabled();
41 bool detailsEnabled();
42 bool bytesEnabled();
43  
44 bool allCollapsedEnabled();
45 bool asDisplayedEnabled();
46 bool allExpandedEnabled();
47  
48 signals:
49 void formatChanged();
50  
51 private slots:
52 void on_detailsCheckBox_toggled(bool checked);
53 void on_summaryCheckBox_toggled(bool checked);
54 void on_bytesCheckBox_toggled(bool checked);
55 void on_allCollapsedButton_toggled(bool checked);
56 void on_asDisplayedButton_toggled(bool checked);
57 void on_allExpandedButton_toggled(bool checked);
58  
59 private:
60 Ui::PacketFormatGroupBox *pf_ui_;
61 };
62  
63 #endif // PACKET_FORMAT_GROUP_BOX_H