forked from osmocom/wireshark
![Moshe Kaplan](/assets/img/avatar_default.png)
Add @file markers for UI header files so that Doxygen will generate documentation for them.
53 lines
1.2 KiB
C++
53 lines
1.2 KiB
C++
/** @file
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef FILTER_EXPRESSION_FRAME_H
|
|
#define FILTER_EXPRESSION_FRAME_H
|
|
|
|
#include "accordion_frame.h"
|
|
|
|
namespace Ui {
|
|
class FilterExpressionFrame;
|
|
}
|
|
|
|
class FilterExpressionFrame : public AccordionFrame
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit FilterExpressionFrame(QWidget *parent = 0);
|
|
~FilterExpressionFrame();
|
|
|
|
void addExpression(const QString filter_text);
|
|
void editExpression(int exprIdx);
|
|
|
|
signals:
|
|
void showPreferencesDialog(QString pane_name);
|
|
void filterExpressionsChanged();
|
|
|
|
protected:
|
|
virtual void showEvent(QShowEvent *event);
|
|
virtual void keyPressEvent(QKeyEvent *event);
|
|
|
|
private:
|
|
Ui::FilterExpressionFrame *ui;
|
|
|
|
int editExpression_;
|
|
|
|
private slots:
|
|
void updateWidgets();
|
|
void on_filterExpressionPreferencesPushButton_clicked();
|
|
void on_labelLineEdit_textChanged(const QString);
|
|
void on_displayFilterLineEdit_textChanged(const QString);
|
|
void on_buttonBox_accepted();
|
|
void on_buttonBox_rejected();
|
|
};
|
|
|
|
#endif // FILTER_EXPRESSION_FRAME_H
|