Wireshark 4.5.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
18
19class QItemSelection;
20
21namespace Ui {
22class UatFrame;
23}
24
25class UatFrame : public QFrame
26{
27 Q_OBJECT
28
29public:
30 explicit UatFrame(QWidget *parent = NULL);
31 ~UatFrame();
32
33 void setUat(struct epan_uat *uat);
34
35 void acceptChanges();
36 void rejectChanges();
37
38protected:
39 void showEvent(QShowEvent *);
40
41private:
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
54private 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
Definition uat_delegate.h:24
Definition uat_frame.h:26
Definition uat_model.h:25
Definition uat-int.h:40