| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
search_frame.h
Go to the documentation of this file.
1
10#ifndef SEARCH_FRAME_H
11#define SEARCH_FRAME_H
12
13#include <config.h>
14
15#include "accordion_frame.h"
16
17#include <epan/cfile.h>
18
19#include <QComboBox>
20
21 namespace Ui {
22 class SearchFrame;
23}
24
25 class SearchFrame : public AccordionFrame
26{
27 Q_OBJECT
28
29 public:
30 explicit SearchFrame(QWidget *parent = 0);
31 virtual ~SearchFrame();
32 void animatedShow();
33 void findNext();
34 void findPrevious();
35 void setFocus();
36
37 public slots:
38 void setCaptureFile(capture_file *cf);
39 void findFrameWithFilter(QString &filter);
40
41 protected:
42 virtual void keyPressEvent(QKeyEvent *event);
43 void changeEvent(QEvent* event);
44 void updateWidgets();
45 // UI getters
46 QComboBox* searchInComboBox() const;
47
48 private:
49 bool regexCompile();
50 void applyRecentSearchSettings();
51
52 Ui::SearchFrame *sf_ui_;
53 capture_file *cap_file_;
54 ws_regex_t *regex_;
55 QString regex_error_;
56
57 private slots:
58 void on_searchInComboBox_currentIndexChanged(int idx);
59 void on_charEncodingComboBox_currentIndexChanged(int idx);
60 void on_caseCheckBox_toggled(bool checked);
61 void on_searchTypeComboBox_currentIndexChanged(int idx);
62 void on_searchLineEdit_textChanged(const QString &);
63 void on_dirCheckBox_toggled(bool checked);
64 void on_multipleCheckBox_toggled(bool checked);
65 void on_findButton_clicked();
66 void on_cancelButton_clicked();
67};
68
69#endif // SEARCH_FRAME_H
accordion_frame.h
cfile.h
AccordionFrame
Definition accordion_frame.h:18
SearchFrame
Definition search_frame.h:26
_capture_file
Definition cfile.h:71
_ws_regex
Definition regex.c:17