Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
funnel_string_dialog.h
Go to the documentation of this file.
1
10#ifndef FUNNEL_STRING_DIALOG_H
11#define FUNNEL_STRING_DIALOG_H
12
13#include "epan/funnel.h"
14
15#include <QDialog>
16
17class QLineEdit;
18
19namespace Ui {
22}
23
24class FunnelStringDialog : public QDialog
25{
26 Q_OBJECT
27
28public:
29 explicit FunnelStringDialog(QWidget *parent, const QString title, const QList<QPair<QString, QString>> field_list, funnel_dlg_cb_t dialog_cb, void* dialog_cb_data, funnel_dlg_cb_data_free_t dialog_data_free_cb);
31
32 // Funnel ops
33 static void stringDialogNew(QWidget *parent, const QString title, const QList<QPair<QString, QString>> field_list, funnel_dlg_cb_t dialog_cb, void* dialog_cb_data, funnel_dlg_cb_data_free_t dialog_cb_data_free);
34
35 void accept();
36 void reject();
37
38private slots:
39 void on_buttonBox_accepted();
40
41private:
42 Ui::FunnelStringDialog *ui;
43 funnel_dlg_cb_t dialog_cb_;
44 void *dialog_cb_data_;
45 funnel_dlg_cb_data_free_t dialog_cb_data_free_;
46 QList<QLineEdit *> field_edits_;
47};
48
49class FunnelStringDialogHelper : public QObject
50{
51 Q_OBJECT
52
53public slots:
54 void emitCloseDialogs();
55
56signals:
57 void closeDialogs();
58};
59
60extern "C" {
61 void string_dialogs_close(void);
62}
63
64#endif // FUNNEL_STRING_DIALOG_H
Definition funnel_string_dialog.h:50
Definition funnel_string_dialog.h:25