Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Slots | Public Member Functions | Protected Member Functions | List of all members
OverlayScrollBar Class Reference
Inheritance diagram for OverlayScrollBar:

Public Slots

void setChildRange (int min, int max)
 

Public Member Functions

 OverlayScrollBar (Qt::Orientation orientation, QWidget *parent=0)
 
virtual QSize sizeHint () const
 
virtual int sliderPosition ()
 
void setNearOverlayImage (QImage &overlay_image, int packet_count=-1, int start_pos=-1, int end_pos=-1, QList< int > positions=QList< int >(), int rowHeight=1)
 
void setMarkedPacketImage (QImage &mp_image)
 
QRect grooveRect ()
 

Protected Member Functions

virtual void resizeEvent (QResizeEvent *event)
 
virtual void paintEvent (QPaintEvent *event)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
virtual void mousePressEvent (QMouseEvent *)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 

Member Function Documentation

◆ grooveRect()

QRect OverlayScrollBar::grooveRect ( )

The "groove" area of the child scrollbar.

◆ setMarkedPacketImage()

void OverlayScrollBar::setMarkedPacketImage ( QImage &  mp_image)

Set the "far" overlay image.

Parameters
mp_imageAn image showing the position of marked, ignored, and reference time packets over the entire packet list. It should be sized in device pixels.

◆ setNearOverlayImage()

void OverlayScrollBar::setNearOverlayImage ( QImage &  overlay_image,
int  packet_count = -1,
int  start_pos = -1,
int  end_pos = -1,
QList< int >  positions = QList<int>(),
int  rowHeight = 1 
)

Set the "near" overlay image.

Parameters
overlay_imageAn image containing a 1:1 mapping of nearby packet colors to raster lines. It should be sized in device pixels.
packet_countNumber of packets.
start_posThe first packet number represented by the image. -1 means no packet is selected.
end_posThe last packet number represented by the image. -1 means no packet is selected.
positionsThe positions of the selected packets within the image.
rowHeightThe row height to be used for displaying the mark

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