124 void applyRecentSearchSettings();
126 Ui::SearchFrame *sf_ui_;
129 QString regex_error_;
137 void on_searchInComboBox_currentIndexChanged(
int idx);
143 void on_charEncodingComboBox_currentIndexChanged(
int idx);
149 void on_caseCheckBox_toggled(
bool checked);
156 void on_searchTypeComboBox_currentIndexChanged(
int idx);
162 void on_searchLineEdit_textChanged(
const QString &);
168 void on_dirCheckBox_toggled(
bool checked);
174 void on_multipleCheckBox_toggled(
bool checked);
180 void on_inPacketCheckBox_toggled(
bool checked);
185 void onApplicationFocusChanged(QWidget *old, QWidget *now);
190 void on_findButton_clicked();
195 void on_cancelButton_clicked();
A QFrame that shows and hides itself with a slide animation.
Definition accordion_frame.h:21
Collapsible search bar that allows searching packet data by display filter, hex value,...
Definition search_frame.h:31
void setFocus()
Transfers keyboard focus to the search input field.
Definition search_frame.cpp:121
QComboBox * searchInComboBox() const
Returns the "Search In" combo box widget for use by subclasses or tests.
Definition search_frame.cpp:85
virtual void keyPressEvent(QKeyEvent *event)
Handles key press events; maps Enter/Return to findNext() and Escape to collapsing the frame.
Definition search_frame.cpp:151
void animatedShow()
Expands the frame with an animation and focuses the search input.
Definition search_frame.cpp:90
void changeEvent(QEvent *event)
Responds to language or palette change events by retranslating and refreshing the UI.
Definition search_frame.cpp:626
void findNext()
Navigates to the next frame matching the current search criteria.
Definition search_frame.cpp:97
void refreshWidgets()
Refreshes widget state when external in-packet-find bar visibility changes.
Definition search_frame.cpp:136
void updateWidgets()
Enables or disables UI controls based on the current search type, direction, and validity of the sear...
Definition search_frame.cpp:253
virtual ~SearchFrame()
Destroys the SearchFrame and releases all associated resources.
Definition search_frame.cpp:77
void findFrameWithFilter(QString &filter)
Populates the search field with filter, switches the search type to display filter,...
Definition search_frame.cpp:141
void findPrevious()
Navigates to the previous frame matching the current search criteria.
Definition search_frame.cpp:109
void setCaptureFile(capture_file *cf)
Updates the capture file pointer used for frame searches.
Definition search_frame.cpp:127
Represents a capture file and its associated metadata.
Definition cfile.h:84