LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
SequenceZoomView Class Reference
Inheritance diagram for SequenceZoomView:
Inheritance graph
Collaboration diagram for SequenceZoomView:
Collaboration graph

Public Member Functions

qreal ZoomLevel () const
 
void ZoomCentered (qreal factor)
 Zooms by factor around the view centre (for buttons / shortcuts).
 
void ResetZoom ()
 
void FitWidth ()
 

Static Public Attributes

static constexpr qreal kMinZoom = 0.05
 
static constexpr qreal kMaxZoom = 5.0
 

Protected Member Functions

void wheelEvent (QWheelEvent *e) override
 
bool viewportEvent (QEvent *e) override
 

Private Member Functions

void ZoomBy (qreal factor)
 

Member Function Documentation

◆ FitWidth()

void SequenceZoomView::FitWidth ( )
inline

Scales so the whole scene width fits the viewport (never above 100%), then scrolls to the top-left so the actor headers are visible.

Here is the caller graph for this function:

◆ ResetZoom()

void SequenceZoomView::ResetZoom ( )
inline
Here is the caller graph for this function:

◆ viewportEvent()

bool SequenceZoomView::viewportEvent ( QEvent *  e)
inlineoverrideprotected
Here is the call graph for this function:

◆ wheelEvent()

void SequenceZoomView::wheelEvent ( QWheelEvent *  e)
inlineoverrideprotected
Here is the call graph for this function:

◆ ZoomBy()

void SequenceZoomView::ZoomBy ( qreal  factor)
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ZoomCentered()

void SequenceZoomView::ZoomCentered ( qreal  factor)
inline

Zooms by factor around the view centre (for buttons / shortcuts).

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ZoomLevel()

qreal SequenceZoomView::ZoomLevel ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ kMaxZoom

constexpr qreal SequenceZoomView::kMaxZoom = 5.0
staticconstexpr

◆ kMinZoom

constexpr qreal SequenceZoomView::kMinZoom = 0.05
staticconstexpr

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