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

UI element for controlling a range selection. The range provided in "initRange" is not owned by this class but will be modified. More...

#include <packet_range_group_box.h>

Inheritance diagram for PacketRangeGroupBox:

Signals

void validityChanged (bool is_valid)
 Signal emitted when the validity of the range changes.
 
void rangeChanged ()
 Signal emitted when the range selection changes.
 

Public Member Functions

 PacketRangeGroupBox (QWidget *parent=0)
 Constructs a new PacketRangeGroupBox object.
 
 ~PacketRangeGroupBox ()
 Destroys the PacketRangeGroupBox object.
 
void initRange (packet_range_t *range, QString selRange=QString())
 Initializes the packet range and selection string.
 
bool isValid ()
 Checks if the current range selection is valid.
 

Detailed Description

UI element for controlling a range selection. The range provided in "initRange" is not owned by this class but will be modified.

Constructor & Destructor Documentation

◆ PacketRangeGroupBox()

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

Constructs a new PacketRangeGroupBox object.

Parameters
parentThe parent widget.

Member Function Documentation

◆ initRange()

void PacketRangeGroupBox::initRange ( packet_range_t range,
QString  selRange = QString() 
)

Initializes the packet range and selection string.

Parameters
rangePointer to the packet range structure to modify.
selRangeThe initial selection range string.

◆ isValid()

bool PacketRangeGroupBox::isValid ( )

Checks if the current range selection is valid.

Returns
True if the range is valid, false otherwise.

◆ validityChanged

void PacketRangeGroupBox::validityChanged ( bool  is_valid)
signal

Signal emitted when the validity of the range changes.

Parameters
is_validTrue if the range became valid, false if invalid.

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