| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
uat_frame.h
Go to the documentation of this file.
1
10#ifndef UAT_FRAME_H
11#define UAT_FRAME_H
12
13#include <QFrame>
14
15#include <ui/qt/geometry_state_dialog.h>
16#include <ui/qt/models/uat_model.h>
17#include <ui/qt/models/uat_delegate.h>
18
19 class QItemSelection;
20
21 namespace Ui {
22 class UatFrame;
23}
24
25 class UatFrame : public QFrame
26{
27 Q_OBJECT
28
29 public:
30 explicit UatFrame(QWidget *parent = NULL);
31 ~UatFrame();
32
33 void setUat(struct epan_uat *uat);
34
35 void acceptChanges();
36 void rejectChanges();
37
38 protected:
39 void showEvent(QShowEvent *);
40
41 private:
42 Ui::UatFrame *ui;
43
44 UatModel *uat_model_;
45 UatDelegate *uat_delegate_;
46 struct epan_uat *uat_;
47
48 void checkForErrorHint(const QModelIndex &current, const QModelIndex &previous);
49 bool trySetErrorHintFromField(const QModelIndex &index);
50 void addRecord(bool copy_from_current = false);
51 void applyChanges();
52 void resizeColumns();
53
54 private slots:
55 void copyFromProfile(QString filename);
56 void modelDataChanged(const QModelIndex &topLeft);
57 void modelRowsRemoved();
58 void modelRowsReset();
59 void uatTreeViewSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
60 void on_uatTreeView_currentItemChanged(const QModelIndex &current, const QModelIndex &previous);
61 void on_newToolButton_clicked();
62 void on_deleteToolButton_clicked();
63 void on_copyToolButton_clicked();
64 void on_moveUpToolButton_clicked();
65 void on_moveDownToolButton_clicked();
66 void on_clearToolButton_clicked();
67};
68
69#endif // UAT_FRAME_H
UatDelegate
Definition uat_delegate.h:24
UatFrame
Definition uat_frame.h:26
UatModel
Definition uat_model.h:25
geometry_state_dialog.h
epan_uat
Definition uat-int.h:40
uat_delegate.h
uat_model.h