Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

uat_frame.h
1 /* uat_frame.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
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 namespace Ui {
20 class UatFrame;
21 }
22
23 class UatFrame : public QFrame
24 {
25 Q_OBJECT
26
27 public:
28 explicit UatFrame(QWidget *parent = NULL);
29 ~UatFrame();
30
31 void setUat(struct epan_uat *uat);
32
33 void acceptChanges();
34 void rejectChanges();
35
36 private:
37 Ui::UatFrame *ui;
38
39 UatModel *uat_model_;
40 UatDelegate *uat_delegate_;
41 struct epan_uat *uat_;
42
43 void checkForErrorHint(const QModelIndex &current, const QModelIndex &previous);
44 bool trySetErrorHintFromField(const QModelIndex &index);
45 void addRecord(bool copy_from_current = false);
46 void applyChanges();
47
48 private slots:
49 void modelDataChanged(const QModelIndex &topLeft);
50 void modelRowsRemoved();
51 void modelRowsReset();
52 void on_uatTreeView_currentItemChanged(const QModelIndex &current, const QModelIndex &previous);
53 void on_newToolButton_clicked();
54 void on_deleteToolButton_clicked();
55 void on_copyToolButton_clicked();
56 void on_moveUpToolButton_clicked();
57 void on_moveDownToolButton_clicked();
58 void on_clearToolButton_clicked();
59 };
60
61 #endif // UAT_FRAME_H
UatFrame
Definition: uat_frame.h:23
Ui
Definition: ui_about_dialog.h:291
UatModel
Definition: uat_model.h:24
Ui::UatFrame
Definition: ui_uat_frame.h:170
UatDelegate
Definition: uat_delegate.h:23
epan_uat
Definition: uat-int.h:39