Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
StratosharkSearchFrame Class Reference

Stratoshark-specific search bar frame, extending the base SearchFrame with any Stratoshark-specific search behaviour or UI adjustments. More...

#include <stratoshark_search_frame.h>

Inheritance diagram for StratosharkSearchFrame:
SearchFrame AccordionFrame

Public Member Functions

 StratosharkSearchFrame (QWidget *parent=0)
 Constructs the Stratoshark search frame.
virtual ~StratosharkSearchFrame ()
 Destroys the search frame.
Public Member Functions inherited from SearchFrame
 SearchFrame (QWidget *parent=0)
 Constructs a SearchFrame in its collapsed (hidden) state.
virtual ~SearchFrame ()
 Destroys the SearchFrame and releases all associated resources.
void animatedShow ()
 Expands the frame with an animation and focuses the search input.
void findNext ()
 Navigates to the next frame matching the current search criteria.
void findPrevious ()
 Navigates to the previous frame matching the current search criteria.
void setFocus ()
 Transfers keyboard focus to the search input field.
void setInPacketSearch (InPacketSearch *search)
 Attach in-packet search engine for the main-window proto tree.
void setInPacketMode (bool enabled)
 Enable or disable in-packet search mode on the Find toolbar.
void setSelectedFrames (const QList< int > &frames, bool single_selected)
 Reflect packet list selection for in-packet find.
bool inPacketMode () const
Public Member Functions inherited from AccordionFrame
 AccordionFrame (QWidget *parent=0)
 Create an AccordionFrame with the given parent.
void animatedShow ()
 Show the frame with a slide-down animation.
void animatedHide ()
 Hide the frame with a slide-up animation.
void updateStyleSheet ()
 Reapply the stylesheet after a palette or style change.

Additional Inherited Members

Public Slots inherited from SearchFrame
void setCaptureFile (capture_file *cf)
 Updates the capture file pointer used for frame searches.
void refreshWidgets ()
 Refreshes widget enablement and validation state.
void findFrameWithFilter (QString &filter)
 Populates the search field with filter, switches the search type to display filter, and immediately executes a forward search.
void cancelSearch ()
 Collapses the search frame and clears any active search highlight.
Signals inherited from AccordionFrame
void visibilityChanged (bool visible)
 Emitted when the frame's visibility changes.
Protected Member Functions inherited from SearchFrame
virtual void keyPressEvent (QKeyEvent *event) override
 Handles key press events; maps Enter/Return to findNext() and Escape to collapsing the frame.
void changeEvent (QEvent *event) override
 Responds to language or palette change events by retranslating and refreshing the UI.
void updateWidgets ()
 Enables or disables UI controls based on the current search type, direction, and validity of the search expression.
QComboBox * searchInComboBox () const
 Returns the "Search In" combo box widget for use by subclasses or tests.
bool eventFilter (QObject *obj, QEvent *event) override
Protected Member Functions inherited from AccordionFrame
virtual void hideEvent (QHideEvent *) override
 Emit visibilityChanged(false) when the frame is hidden.
virtual void showEvent (QShowEvent *) override
 Emit visibilityChanged(true) when the frame is shown.

Detailed Description

Stratoshark-specific search bar frame, extending the base SearchFrame with any Stratoshark-specific search behaviour or UI adjustments.

Constructor & Destructor Documentation

◆ StratosharkSearchFrame()

StratosharkSearchFrame::StratosharkSearchFrame ( QWidget * parent = 0)
explicit

Constructs the Stratoshark search frame.

Parameters
parentOptional parent widget.

The documentation for this class was generated from the following files: