10#ifndef DISPLAY_FILTER_EXPRESSION_DIALOG_H
11#define DISPLAY_FILTER_EXPRESSION_DIALOG_H
19#include <QFutureWatcher>
21#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
25#define DISPLAY_FILTER_EXPRESSION_DIALOG_USE_QPROMISE
64#ifdef DISPLAY_FILTER_EXPRESSION_DIALOG_USE_QPROMISE
69 void addTreeItem(
int result);
85 void on_fieldTreeWidget_itemSelectionChanged();
90 void on_relationListWidget_itemSelectionChanged();
95 void on_enumListWidget_itemSelectionChanged();
101 void on_searchLineEdit_textChanged(
const QString &search_re);
106 void on_buttonBox_accepted();
111 void on_buttonBox_helpRequested();
114#ifdef DISPLAY_FILTER_EXPRESSION_DIALOG_USE_QPROMISE
116 QFutureWatcher<QTreeWidgetItem *> *watcher;
119 QFutureWatcher<QList<QTreeWidgetItem *> *> *watcher;
123 Ui::DisplayFilterExpressionDialog *ui;
136 void fillEnumIntValues(
const struct _value_string *vals,
int base);
143 void fillEnumInt64Values(
const struct _val64_string *vals64,
int base);
158 QString value_label_pfx_;
A dialog to assist users in building and selecting display filter expressions.
Definition display_filter_expression_dialog.h:41
~DisplayFilterExpressionDialog()
Destroys the DisplayFilterExpressionDialog.
Definition display_filter_expression_dialog.cpp:192
void insertDisplayFilter(const QString &filter)
Signal emitted to insert a constructed display filter string into the target editor.
A dialog that remembers its geometry and splitter state.
Definition geometry_state_dialog.h:20
ftenum
Fundamental field value types used throughout the Wireshark dissector framework.
Definition ftypes.h:26
Definition value_string.h:640
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