Wireshark  4.3.0
The Wireshark network protocol analyzer
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 
18 namespace Ui {
20 }
21 
22 class ColumnPreferencesFrame : public QFrame
23 {
24  Q_OBJECT
25 
26 public:
27  explicit ColumnPreferencesFrame(QWidget *parent = Q_NULLPTR);
29 
30  void unstash();
31 
32 private:
33  Ui::ColumnPreferencesFrame *ui;
34  ColumnListModel * model_;
35  ColumnProxyModel * proxyModel_;
36  ColumnTypeDelegate * delegate_;
37 
38 private slots:
39  void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
40  void on_newToolButton_clicked();
41  void on_deleteToolButton_clicked();
42  void on_chkShowDisplayedOnly_stateChanged(int);
43 
44  void on_columnTreeView_customContextMenuRequested(const QPoint &pos);
45  void resetAction(bool checked = false);
46 };
47 
48 #endif // COLUMN_PREFERENCES_FRAME_H
Definition: column_list_model.h:52
Definition: column_preferences_frame.h:23
Definition: column_list_model.h:20
Definition: column_list_model.h:34