Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
find_line_edit.h
Go to the documentation of this file.
1
10#ifndef FIND_LINE_EDIT_H
11#define FIND_LINE_EDIT_H
12
13#include <QLineEdit>
14
15namespace Ui {
16class FindLineEdit;
17}
18
19class FindLineEdit : public QLineEdit
20{
21 Q_OBJECT
22
23public:
24 explicit FindLineEdit(QWidget *parent = 0) : QLineEdit(parent), use_regex_(false) { }
25 ~FindLineEdit() { }
26
27signals:
28 void useRegexFind(bool);
29
30private slots:
31 void setUseTextual();
32 void setUseRegex();
33
34private:
35 void contextMenuEvent(QContextMenuEvent *event);
36 void keyPressEvent(QKeyEvent *event);
37 void validateText();
38
39 bool use_regex_;
40};
41
42#endif // FIND_LINE_EDIT_H
Definition find_line_edit.h:20