3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
10 #ifndef FILTER_EXPRESSION_FRAME_H
11 #define FILTER_EXPRESSION_FRAME_H
13 #include "accordion_frame.h"
16 class FilterExpressionFrame
;
19 class FilterExpressionFrame
: public AccordionFrame
24 explicit FilterExpressionFrame(QWidget
*parent
= 0);
25 ~FilterExpressionFrame();
27 void addExpression(const QString filter_text
);
28 void editExpression(int exprIdx
);
31 void showPreferencesDialog(QString pane_name
);
32 void filterExpressionsChanged();
35 virtual void showEvent(QShowEvent
*event
);
36 virtual void keyPressEvent(QKeyEvent
*event
);
39 Ui::FilterExpressionFrame
*ui
;
45 void on_filterExpressionPreferencesPushButton_clicked();
46 void on_labelLineEdit_textChanged(const QString
);
47 void on_displayFilterLineEdit_textChanged(const QString
);
48 void on_buttonBox_accepted();
49 void on_buttonBox_rejected();
52 #endif // FILTER_EXPRESSION_FRAME_H