Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
display_filter_expression_dialog.h
Go to the documentation of this file.
1
9
10#ifndef DISPLAY_FILTER_EXPRESSION_DIALOG_H
11#define DISPLAY_FILTER_EXPRESSION_DIALOG_H
12
13#include "config.h"
14
15#include <epan/ftypes/ftypes.h>
16
18
19#include <QFutureWatcher>
20
21class QTreeWidgetItem;
23struct _value_string;
24struct _val64_string;
25
26namespace Ui {
27class DisplayFilterExpressionDialog;
28}
29
34{
35 Q_OBJECT
36
37public:
42 explicit DisplayFilterExpressionDialog(QWidget *parent = 0);
43
48
49signals:
54 void insertDisplayFilter(const QString &filter);
55
56private slots:
61 void addTreeItem(int result);
62
66 void fillTree();
67
71 void updateWidgets();
72
76 void on_fieldTreeWidget_itemSelectionChanged();
77
81 void on_relationListWidget_itemSelectionChanged();
82
86 void on_enumListWidget_itemSelectionChanged();
87
92 void on_searchLineEdit_textChanged(const QString &search_re);
93
97 void on_buttonBox_accepted();
98
102 void on_buttonBox_helpRequested();
103
104private:
106 QFutureWatcher<QTreeWidgetItem *> *watcher;
107
109 Ui::DisplayFilterExpressionDialog *ui;
110
115 void fillEnumBooleanValues(const struct true_false_string *tfs);
116
122 void fillEnumIntValues(const struct _value_string *vals, int base);
123
129 void fillEnumInt64Values(const struct _val64_string *vals64, int base);
130
135 void fillEnumRangeValues(const struct _range_string *rvals);
136
138 enum ftenum ftype_;
139
141 const char *field_;
142
144 QString value_label_pfx_;
145};
146
147#endif // DISPLAY_FILTER_EXPRESSION_DIALOG_H
~DisplayFilterExpressionDialog()
Destroys the DisplayFilterExpressionDialog.
Definition display_filter_expression_dialog.cpp:163
DisplayFilterExpressionDialog(QWidget *parent=0)
Constructs a new DisplayFilterExpressionDialog.
Definition display_filter_expression_dialog.cpp:109
void insertDisplayFilter(const QString &filter)
Signal emitted to insert a constructed display filter string into the target editor.
GeometryStateDialog(QWidget *parent, Qt::WindowFlags f=Qt::Window)
Constructs a new GeometryStateDialog with the specified parent and window flags.
Definition geometry_state_dialog.h:91
ftenum
Fundamental field value types used throughout the Wireshark dissector framework.
Definition ftypes.h:26
Maps an inclusive numeric range to a string value, used for table-driven range-to-string lookups.
Definition value_string.h:646
Mapping between a 64-bit integer value and its string representation.
Definition value_string.h:196
Mapping between a 32-bit integer value and its string representation.
Definition value_string.h:33
Definition tfs.h:24