Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / ui / qt / layout_preferences_frame.h
blob6773c5eeb9f5d746021f046a1163dbfb8035bc78
1 /** @file
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
10 #ifndef LAYOUT_PREFERENCES_FRAME_H
11 #define LAYOUT_PREFERENCES_FRAME_H
13 #include <epan/prefs.h>
15 #include <QFrame>
16 #include <QAbstractButton>
18 namespace Ui {
19 class LayoutPreferencesFrame;
22 class LayoutPreferencesFrame : public QFrame
24 Q_OBJECT
26 public:
27 explicit LayoutPreferencesFrame(QWidget *parent = 0);
28 ~LayoutPreferencesFrame();
30 protected:
31 void showEvent(QShowEvent *evt);
33 private:
34 Ui::LayoutPreferencesFrame *ui;
36 pref_t *pref_layout_type_;
37 pref_t *pref_layout_content_1_;
38 pref_t *pref_layout_content_2_;
39 pref_t *pref_layout_content_3_;
40 pref_t *pref_packet_list_separator_;
41 pref_t *pref_packet_header_column_definition_;
42 pref_t *pref_packet_list_hover_style_;
43 pref_t *pref_packet_list_sorting_;
44 pref_t *pref_packet_list_cached_rows_max_;
45 pref_t *pref_show_selected_packet_;
46 pref_t *pref_show_file_load_time_;
48 void updateWidgets();
50 private slots:
51 void on_layout5ToolButton_toggled(bool checked);
52 void on_layout2ToolButton_toggled(bool checked);
53 void on_layout1ToolButton_toggled(bool checked);
54 void on_layout4ToolButton_toggled(bool checked);
55 void on_layout3ToolButton_toggled(bool checked);
56 void on_layout6ToolButton_toggled(bool checked);
57 void on_pane1PacketListRadioButton_toggled(bool checked);
58 void on_pane1PacketDetailsRadioButton_toggled(bool checked);
59 void on_pane1PacketBytesRadioButton_toggled(bool checked);
60 void on_pane1PacketDiagramRadioButton_toggled(bool checked);
61 void on_pane1NoneRadioButton_toggled(bool checked);
62 void on_pane2PacketListRadioButton_toggled(bool checked);
63 void on_pane2PacketDetailsRadioButton_toggled(bool checked);
64 void on_pane2PacketBytesRadioButton_toggled(bool checked);
65 void on_pane2PacketDiagramRadioButton_toggled(bool checked);
66 void on_pane2NoneRadioButton_toggled(bool checked);
67 void on_pane3PacketListRadioButton_toggled(bool checked);
68 void on_pane3PacketDetailsRadioButton_toggled(bool checked);
69 void on_pane3PacketBytesRadioButton_toggled(bool checked);
70 void on_pane3PacketDiagramRadioButton_toggled(bool checked);
71 void on_pane3NoneRadioButton_toggled(bool checked);
72 void on_restoreButtonBox_clicked(QAbstractButton *button);
73 void on_packetListSeparatorCheckBox_toggled(bool checked);
74 void on_packetListHeaderShowColumnDefinition_toggled(bool checked);
75 void on_packetListHoverStyleCheckbox_toggled(bool checked);
76 void on_packetListAllowSorting_toggled(bool checked);
77 void on_packetListCachedRowsLineEdit_textEdited(const QString &new_str);
78 void on_statusBarShowSelectedPacketCheckBox_toggled(bool checked);
79 void on_statusBarShowFileLoadTimeCheckBox_toggled(bool checked);
82 #endif // LAYOUT_PREFERENCES_FRAME_H