Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
decode_as_dialog.h
Go to the documentation of this file.
1
10#ifndef DECODE_AS_DIALOG_H
11#define DECODE_AS_DIALOG_H
12
13#include <config.h>
14
15#include "cfile.h"
18
20#include <QMap>
21#include <QAbstractButton>
22
23class QComboBox;
24
25namespace Ui {
26class DecodeAsDialog;
27}
28
30{
31 Q_OBJECT
32
33public:
34 explicit DecodeAsDialog(QWidget *parent = 0, capture_file *cf = NULL, bool create_new = false);
36
37private:
38 Ui::DecodeAsDialog *ui;
39
40 DecodeAsModel* model_;
41 DecodeAsDelegate* delegate_;
42
43 void addRecord(bool copy_from_current = false);
44 void applyChanges();
45 void fillTable();
46 void resizeColumns();
47
48public slots:
49 void modelRowsReset();
50
51private slots:
52 void copyFromProfile(QString filename);
53 void on_decodeAsTreeView_currentItemChanged(const QModelIndex &current, const QModelIndex &previous);
54
55 void on_newToolButton_clicked();
56 void on_deleteToolButton_clicked();
57 void on_copyToolButton_clicked();
58 void on_clearToolButton_clicked();
59
60 void on_buttonBox_clicked(QAbstractButton *button);
61};
62
63#endif // DECODE_AS_DIALOG_H
Definition decode_as_delegate.h:31
Definition decode_as_dialog.h:30
Definition decode_as_model.h:65
Definition geometry_state_dialog.h:17
Definition cfile.h:67