Wireshark 4.7.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
25class LayoutPreferencesFrame : public QFrame
26{
27 Q_OBJECT
28
29public:
34 explicit LayoutPreferencesFrame(QWidget *parent = 0);
35
40
41protected:
46 void showEvent(QShowEvent *evt);
47
48private:
50 Ui::LayoutPreferencesFrame *ui;
51
53 pref_t *pref_layout_type_;
54
56 pref_t *pref_layout_content_1_;
57
59 pref_t *pref_layout_content_2_;
60
62 pref_t *pref_layout_content_3_;
63
65 pref_t *pref_packet_list_separator_;
66
68 pref_t *pref_packet_header_column_definition_;
69
71 pref_t *pref_packet_list_hover_style_;
72
74 pref_t *pref_packet_list_sorting_;
75
77 pref_t *pref_packet_list_cached_rows_max_;
78
80 pref_t *pref_show_selected_packet_;
81
83 pref_t *pref_show_file_load_time_;
84
86 pref_t *pref_packet_list_multi_color_mode_;
87
89 pref_t *pref_packet_list_multi_color_shift_percent_;
90
92 pref_t *pref_packet_list_multi_color_details_;
93
95 pref_t *pref_packet_list_multi_color_separator_;
96
100 void updateWidgets();
101
102private slots:
107 void on_layout5ToolButton_toggled(bool checked);
108
113 void on_layout2ToolButton_toggled(bool checked);
114
119 void on_layout1ToolButton_toggled(bool checked);
120
125 void on_layout4ToolButton_toggled(bool checked);
126
131 void on_layout3ToolButton_toggled(bool checked);
132
137 void on_layout6ToolButton_toggled(bool checked);
138
143 void on_pane1PacketListRadioButton_toggled(bool checked);
144
149 void on_pane1PacketDetailsRadioButton_toggled(bool checked);
150
155 void on_pane1PacketBytesRadioButton_toggled(bool checked);
156
161 void on_pane1PacketDiagramRadioButton_toggled(bool checked);
162
167 void on_pane1NoneRadioButton_toggled(bool checked);
168
173 void on_pane2PacketListRadioButton_toggled(bool checked);
174
179 void on_pane2PacketDetailsRadioButton_toggled(bool checked);
180
185 void on_pane2PacketBytesRadioButton_toggled(bool checked);
186
191 void on_pane2PacketDiagramRadioButton_toggled(bool checked);
192
197 void on_pane2NoneRadioButton_toggled(bool checked);
198
203 void on_pane3PacketListRadioButton_toggled(bool checked);
204
209 void on_pane3PacketDetailsRadioButton_toggled(bool checked);
210
215 void on_pane3PacketBytesRadioButton_toggled(bool checked);
216
221 void on_pane3PacketDiagramRadioButton_toggled(bool checked);
222
227 void on_pane3NoneRadioButton_toggled(bool checked);
228
233 void on_restoreButtonBox_clicked(QAbstractButton *button);
234
239 void on_packetListSeparatorCheckBox_toggled(bool checked);
240
245 void on_packetListHeaderShowColumnDefinition_toggled(bool checked);
246
251 void on_packetListHoverStyleCheckbox_toggled(bool checked);
252
257 void on_packetListAllowSorting_toggled(bool checked);
258
263 void on_packetListCachedRowsLineEdit_textEdited(const QString &new_str);
264
269 void on_statusBarShowSelectedPacketCheckBox_toggled(bool checked);
270
275 void on_statusBarShowFileLoadTimeCheckBox_toggled(bool checked);
276
281 void on_packetListMultiColorDetailsCheckBox_toggled(bool checked);
282
287 void on_packetListMultiColorOffRadioButton_toggled(bool checked);
288
293 void on_packetListMultiColorScrollbarOnlyRadioButton_toggled(bool checked);
294
299 void on_packetListMultiColorEqualStripesRadioButton_toggled(bool checked);
300
305 void on_packetListMultiColorShiftRightRadioButton_toggled(bool checked);
306
311 void on_packetListMultiColorShiftPercentComboBox_currentIndexChanged(int index);
312
317 void on_packetListMultiColorSeparatorVerticalRadioButton_toggled(bool checked);
318
323 void on_packetListMultiColorSeparatorDiagonalRadioButton_toggled(bool checked);
324
329 void on_packetListMultiColorSeparatorBubbleRadioButton_toggled(bool checked);
330};
331
332#endif // LAYOUT_PREFERENCES_FRAME_H
A frame for configuring UI layout and packet list display preferences.
Definition layout_preferences_frame.h:26
~LayoutPreferencesFrame()
Destroys the LayoutPreferencesFrame.
Definition layout_preferences_frame.cpp:135
void showEvent(QShowEvent *evt)
Handles the event when the frame is shown.
Definition layout_preferences_frame.cpp:140
Definition prefs.c:207