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
28 class QTreeWidgetItem;
46 void insertDisplayFilter(
const QString &filter);
49 #ifdef DISPLAY_FILTER_EXPRESSION_DIALOG_USE_QPROMISE
50 void addTreeItem(
int result);
55 void on_fieldTreeWidget_itemSelectionChanged();
56 void on_relationListWidget_itemSelectionChanged();
57 void on_enumListWidget_itemSelectionChanged();
58 void on_searchLineEdit_textChanged(
const QString &search_re);
59 void on_buttonBox_accepted();
60 void on_buttonBox_helpRequested();
63 #ifdef DISPLAY_FILTER_EXPRESSION_DIALOG_USE_QPROMISE
64 QFutureWatcher<QTreeWidgetItem *> *watcher;
66 QFutureWatcher<QList<QTreeWidgetItem *> *> *watcher;
68 Ui::DisplayFilterExpressionDialog *ui;
70 void fillEnumIntValues(
const struct _value_string *vals,
int base);
71 void fillEnumInt64Values(
const struct _val64_string *vals64,
int base);
76 QString value_label_pfx_;
Definition: display_filter_expression_dialog.h:38
Definition: geometry_state_dialog.h:17
Definition: value_string.h:293
Definition: value_string.h:133
Definition: value_string.h:26