Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
layout_preferences_frame.h
Go to the documentation of this file.
1
10#ifndef LAYOUT_PREFERENCES_FRAME_H
11#define LAYOUT_PREFERENCES_FRAME_H
12
13#include <epan/prefs.h>
14
15#include <QFrame>
16#include <QAbstractButton>
17
18namespace Ui {
20}
21
22class LayoutPreferencesFrame : public QFrame
23{
24 Q_OBJECT
25
26public:
27 explicit LayoutPreferencesFrame(QWidget *parent = 0);
29
30protected:
31 void showEvent(QShowEvent *evt);
32
33private:
34 Ui::LayoutPreferencesFrame *ui;
35
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_;
47
48 void updateWidgets();
49
50private 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);
80};
81
82#endif // LAYOUT_PREFERENCES_FRAME_H
Definition layout_preferences_frame.h:23
Definition prefs.c:249