| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
filter_expression_frame.h
Go to the documentation of this file.
1
9
10#ifndef FILTER_EXPRESSION_FRAME_H
11#define FILTER_EXPRESSION_FRAME_H
12
13#include "accordion_frame.h"
14
15 namespace Ui {
16 class FilterExpressionFrame;
17}
18
22 class FilterExpressionFrame : public AccordionFrame
23{
24 Q_OBJECT
25
26 public:
31 explicit FilterExpressionFrame(QWidget *parent = 0);
32
36 ~FilterExpressionFrame();
37
42 void addExpression(const QString filter_text);
43
48 void editExpression(int exprIdx);
49
50signals:
55 void showPreferencesDialog(QString pane_name);
56
60 void filterExpressionsChanged();
61
62 protected:
67 virtual void showEvent(QShowEvent *event) override;
68
73 virtual void keyPressEvent(QKeyEvent *event) override;
74
75 private:
77 Ui::FilterExpressionFrame *ui;
78
80 int editExpression_;
81
82 private 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
accordion_frame.h
AccordionFrame::AccordionFrame
AccordionFrame(QWidget *parent=0)
Create an AccordionFrame with the given parent.
Definition accordion_frame.cpp:22
FilterExpressionFrame::addExpression
void addExpression(const QString filter_text)
Adds a new filter expression.
Definition filter_expression_frame.cpp:47
FilterExpressionFrame::showPreferencesDialog
void showPreferencesDialog(QString pane_name)
Signal emitted to request showing the preferences dialog.
FilterExpressionFrame::filterExpressionsChanged
void filterExpressionsChanged()
Signal emitted when the list of filter expressions has changed.
FilterExpressionFrame::editExpression
void editExpression(int exprIdx)
Edits an existing filter expression.
Definition filter_expression_frame.cpp:61
FilterExpressionFrame::~FilterExpressionFrame
~FilterExpressionFrame()
Destroys the FilterExpressionFrame.
Definition filter_expression_frame.cpp:42
FilterExpressionFrame::FilterExpressionFrame
FilterExpressionFrame(QWidget *parent=0)
Constructs a new FilterExpressionFrame.
Definition filter_expression_frame.cpp:26
FilterExpressionFrame::keyPressEvent
virtual void keyPressEvent(QKeyEvent *event) override
Handles key press events within the frame.
Definition filter_expression_frame.cpp:164
FilterExpressionFrame::showEvent
virtual void showEvent(QShowEvent *event) override
Handles the event when the frame is shown.
Definition filter_expression_frame.cpp:87