Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
column_preferences_frame.h
Go to the documentation of this file.
1
10#ifndef COLUMN_PREFERENCES_FRAME_H
11#define COLUMN_PREFERENCES_FRAME_H
12
14
15#include <QFrame>
16#include <QItemSelection>
17
18namespace Ui {
20}
21
25class ColumnPreferencesFrame : public QFrame
26{
27 Q_OBJECT
28
29public:
34 explicit ColumnPreferencesFrame(QWidget *parent = Q_NULLPTR);
35
40
44 void unstash();
45
46private:
48 Ui::ColumnPreferencesFrame *ui;
49
51 ColumnListModel * model_;
52
54 ColumnProxyModel * proxyModel_;
55
57 ColumnTypeDelegate * delegate_;
58
59private slots:
65 void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
66
70 void on_newToolButton_clicked();
71
75 void on_deleteToolButton_clicked();
76
80 void on_chkShowDisplayedOnly_stateChanged(int);
81
86 void on_columnTreeView_customContextMenuRequested(const QPoint &pos);
87
92 void resetAction(bool checked = false);
93};
94
95#endif // COLUMN_PREFERENCES_FRAME_H
A table model for managing the list of packet list columns.
Definition column_list_model.h:117
A frame for configuring packet list column preferences.
Definition column_preferences_frame.h:26
void unstash()
Restores any previously stashed column preference state.
Definition column_preferences_frame.cpp:83
~ColumnPreferencesFrame()
Destroys the ColumnPreferencesFrame.
Definition column_preferences_frame.cpp:75
Proxy model for filtering and sorting the packet list column models.
Definition column_list_model.h:23
A delegate for rendering and editing column types and properties in a view.
Definition column_list_model.h:55