3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
10 #ifndef SEARCH_FRAME_H
11 #define SEARCH_FRAME_H
15 #include "accordion_frame.h"
23 class SearchFrame
: public AccordionFrame
28 explicit SearchFrame(QWidget
*parent
= 0);
36 void setCaptureFile(capture_file
*cf
);
37 void findFrameWithFilter(QString
&filter
);
40 virtual void keyPressEvent(QKeyEvent
*event
);
41 void changeEvent(QEvent
* event
);
45 void applyRecentSearchSettings();
48 Ui::SearchFrame
*sf_ui_
;
49 capture_file
*cap_file_
;
54 void on_searchInComboBox_currentIndexChanged(int idx
);
55 void on_charEncodingComboBox_currentIndexChanged(int idx
);
56 void on_caseCheckBox_toggled(bool checked
);
57 void on_searchTypeComboBox_currentIndexChanged(int idx
);
58 void on_searchLineEdit_textChanged(const QString
&);
59 void on_dirCheckBox_toggled(bool checked
);
60 void on_multipleCheckBox_toggled(bool checked
);
61 void on_findButton_clicked();
62 void on_cancelButton_clicked();
65 #endif // SEARCH_FRAME_H