Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
WelcomePage Class Reference

Widget displayed on application startup, providing interface selection, capture filter configuration, and recent file access. More...

#include <welcome_page.h>

Inheritance diagram for WelcomePage:

Public Slots

void interfaceSelected ()
 Handles selection of a capture interface by the user.
 
void setCaptureFilterText (const QString capture_filter)
 Updates the capture filter input field with the given text.
 

Signals

void recentFileActivated (QString cfile)
 Emitted when the user activates a recent capture file.
 

Public Member Functions

 WelcomePage (QWidget *parent=0)
 Constructs the WelcomePage widget.
 
virtual ~WelcomePage ()
 Destroys the WelcomePage widget.
 
InterfaceFramegetInterfaceFrame ()
 Returns the interface frame embedded in this page.
 
CaptureCardWidgetcaptureCard ()
 Returns the capture card widget.
 
const QString captureFilter ()
 Returns the current capture filter string.
 
void setCaptureFilter (const QString capture_filter)
 Sets the capture filter expression.
 
void updateStyleSheets ()
 Refreshes style sheets for all child widgets.
 

Protected Slots

void on_openFileSectionLabel_clicked ()
 Slot invoked when the "Open File" section label is clicked.
 

Protected Member Functions

virtual bool event (QEvent *event)
 Handles generic Qt events for this widget.
 
virtual void resizeEvent (QResizeEvent *event)
 Handles widget resize events.
 
virtual void showEvent (QShowEvent *event)
 Handles widget show events, triggering any necessary initialization.
 

Detailed Description

Widget displayed on application startup, providing interface selection, capture filter configuration, and recent file access.

Constructor & Destructor Documentation

◆ WelcomePage()

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

Constructs the WelcomePage widget.

Parameters
parentOptional parent widget.

Member Function Documentation

◆ captureCard()

CaptureCardWidget * WelcomePage::captureCard ( )

Returns the capture card widget.

Returns
Pointer to the CaptureCardWidget.

◆ captureFilter()

const QString WelcomePage::captureFilter ( )

Returns the current capture filter string.

Returns
The capture filter expression.

◆ event()

bool WelcomePage::event ( QEvent *  event)
protectedvirtual

Handles generic Qt events for this widget.

Parameters
eventThe event to process.
Returns
True if the event was handled; otherwise false.

◆ getInterfaceFrame()

InterfaceFrame * WelcomePage::getInterfaceFrame ( )

Returns the interface frame embedded in this page.

Returns
Pointer to the InterfaceFrame.

◆ recentFileActivated

void WelcomePage::recentFileActivated ( QString  cfile)
signal

Emitted when the user activates a recent capture file.

Parameters
cfileAbsolute path to the activated file.

◆ resizeEvent()

void WelcomePage::resizeEvent ( QResizeEvent *  event)
protectedvirtual

Handles widget resize events.

Parameters
eventThe resize event containing the new size.

◆ setCaptureFilter()

void WelcomePage::setCaptureFilter ( const QString  capture_filter)

Sets the capture filter expression.

Parameters
capture_filterThe filter string to apply.

◆ setCaptureFilterText

void WelcomePage::setCaptureFilterText ( const QString  capture_filter)
slot

Updates the capture filter input field with the given text.

Parameters
capture_filterThe filter string to display.

◆ showEvent()

void WelcomePage::showEvent ( QShowEvent *  event)
protectedvirtual

Handles widget show events, triggering any necessary initialization.

Parameters
eventThe show event.

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