| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Attributes | List of all members
timeline_span Struct Reference

Describes a single time-span bar to be rendered inside a timeline cell, with pixel geometry and normalised time coordinates for positioning. More...

`#include <timeline_delegate.h>`

## Public Attributes
int | start
int | width
double | startTime
double | stopTime
double | minRelTime
double | maxRelTime
int | colStart
int | colDuration

## Detailed Description

Describes a single time-span bar to be rendered inside a timeline cell, with pixel geometry and normalised time coordinates for positioning.

All pixel fields are relative to the item's bounding rectangle and will be clipped to it during painting.

## Member Data Documentation

## ◆ colDuration

int timeline_span::colDuration

Duration used to select the span bar colour or gradient width.

## ◆ colStart

int timeline_span::colStart

Start colour index or gradient stop for the span bar.

## ◆ maxRelTime

double timeline_span::maxRelTime

Maximum relative time across all spans in the cell, used for normalisation.

## ◆ minRelTime

double timeline_span::minRelTime

Minimum relative time across all spans in the cell, used for normalisation.

## ◆ start

int timeline_span::start

Left edge of the span bar in pixels, relative to the item rect.

## ◆ startTime

double timeline_span::startTime

Absolute start time of the span in seconds.

## ◆ stopTime

double timeline_span::stopTime

Absolute stop time of the span in seconds.

## ◆ width

int timeline_span::width

Width of the span bar in pixels.

The documentation for this struct was generated from the following file:

- /builds/wireshark/wireshark/ui/qt/models/timeline_delegate.h