Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
filter_expression_frame.h
Go to the documentation of this file.
1
10#ifndef FILTER_EXPRESSION_FRAME_H
11#define FILTER_EXPRESSION_FRAME_H
12
13#include "accordion_frame.h"
14
15namespace Ui {
17}
18
23{
24 Q_OBJECT
25
26public:
31 explicit FilterExpressionFrame(QWidget *parent = 0);
32
37
42 void addExpression(const QString filter_text);
43
48 void editExpression(int exprIdx);
49
50signals:
55 void showPreferencesDialog(QString pane_name);
56
61
62protected:
67 virtual void showEvent(QShowEvent *event);
68
73 virtual void keyPressEvent(QKeyEvent *event);
74
75private:
77 Ui::FilterExpressionFrame *ui;
78
80 int editExpression_;
81
82private slots:
86 void updateWidgets();
87
91 void on_filterExpressionPreferencesPushButton_clicked();
92
96 void on_labelLineEdit_textChanged(const QString);
97
101 void on_displayFilterLineEdit_textChanged(const QString);
102
106 void on_buttonBox_accepted();
107
111 void on_buttonBox_rejected();
112};
113
114#endif // FILTER_EXPRESSION_FRAME_H
A QFrame that shows and hides itself with a slide animation.
Definition accordion_frame.h:21
An accordion frame for adding or editing filter expressions.
Definition filter_expression_frame.h:23
virtual void showEvent(QShowEvent *event)
Handles the event when the frame is shown.
Definition filter_expression_frame.cpp:87
void addExpression(const QString filter_text)
Adds a new filter expression.
Definition filter_expression_frame.cpp:47
void showPreferencesDialog(QString pane_name)
Signal emitted to request showing the preferences dialog.
void filterExpressionsChanged()
Signal emitted when the list of filter expressions has changed.
void editExpression(int exprIdx)
Edits an existing filter expression.
Definition filter_expression_frame.cpp:61
~FilterExpressionFrame()
Destroys the FilterExpressionFrame.
Definition filter_expression_frame.cpp:42
virtual void keyPressEvent(QKeyEvent *event)
Handles key press events within the frame.
Definition filter_expression_frame.cpp:164