Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

filter_expression_frame.h
1 /* filter_expression_frame.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
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
19 class FilterExpressionFrame : public AccordionFrame
20 {
21 Q_OBJECT
22
23 public:
24 explicit FilterExpressionFrame(QWidget *parent = 0);
25 ~FilterExpressionFrame();
26
27 void addExpression(const QString filter_text);
28 void editExpression(int exprIdx);
29
30 signals:
31 void showPreferencesDialog(QString pane_name);
32 void filterExpressionsChanged();
33 void pushFilterSyntaxStatus(const QString&);
34
35 protected:
36 virtual void showEvent(QShowEvent *event);
37 virtual void keyPressEvent(QKeyEvent *event);
38
39 private:
40 Ui::FilterExpressionFrame *ui;
41
42 int editExpression_;
43
44 private slots:
45 void updateWidgets();
46 void on_filterExpressionPreferencesPushButton_clicked();
47 void on_labelLineEdit_textChanged(const QString);
48 void on_displayFilterLineEdit_textChanged(const QString);
49 void on_buttonBox_accepted();
50 void on_buttonBox_rejected();
51 };
52
53 #endif // FILTER_EXPRESSION_FRAME_H
54
55 /*
56 * Editor modelines
57 *
58 * Local Variables:
59 * c-basic-offset: 4
60 * tab-width: 8
61 * indent-tabs-mode: nil
62 * End:
63 *
64 * ex: set shiftwidth=4 tabstop=8 expandtab:
65 * :indentSize=4:tabSize=8:noTabs=true:
66 */
Ui
Definition: ui_about_dialog.h:291
FilterExpressionFrame
Definition: filter_expression_frame.h:19
Ui::FilterExpressionFrame
Definition: ui_filter_expression_frame.h:177
AccordionFrame
Definition: accordion_frame.h:17