1 /* layout_preferences_frame.h
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 #ifndef LAYOUT_PREFERENCES_FRAME_H
25 #define LAYOUT_PREFERENCES_FRAME_H
27 #include "preferences_dialog.h"
30 #include <QAbstractButton>
33 class LayoutPreferencesFrame
;
36 class LayoutPreferencesFrame
: public QFrame
41 explicit LayoutPreferencesFrame(QWidget
*parent
= 0);
42 ~LayoutPreferencesFrame();
45 void showEvent(QShowEvent
*evt
);
48 Ui::LayoutPreferencesFrame
*ui
;
50 pref_t
*pref_layout_type_
;
51 pref_t
*pref_layout_content_1_
;
52 pref_t
*pref_layout_content_2_
;
53 pref_t
*pref_layout_content_3_
;
58 void on_layout5ToolButton_toggled(bool checked
);
59 void on_layout2ToolButton_toggled(bool checked
);
60 void on_layout1ToolButton_toggled(bool checked
);
61 void on_layout4ToolButton_toggled(bool checked
);
62 void on_layout3ToolButton_toggled(bool checked
);
63 void on_layout6ToolButton_toggled(bool checked
);
64 void on_pane1PacketListRadioButton_toggled(bool checked
);
65 void on_pane1PacketDetailsRadioButton_toggled(bool checked
);
66 void on_pane1PacketBytesRadioButton_toggled(bool checked
);
67 void on_pane1NoneRadioButton_toggled(bool checked
);
68 void on_pane2PacketListRadioButton_toggled(bool checked
);
69 void on_pane2PacketDetailsRadioButton_toggled(bool checked
);
70 void on_pane2PacketBytesRadioButton_toggled(bool checked
);
71 void on_pane2NoneRadioButton_toggled(bool checked
);
72 void on_pane3PacketListRadioButton_toggled(bool checked
);
73 void on_pane3PacketDetailsRadioButton_toggled(bool checked
);
74 void on_pane3PacketBytesRadioButton_toggled(bool checked
);
75 void on_pane3NoneRadioButton_toggled(bool checked
);
76 void on_restoreButtonBox_clicked(QAbstractButton
*button
);
80 #endif // LAYOUT_PREFERENCES_FRAME_H