Motiv
Marvelous OTF2 Traces Interactive Visualizer
Loading...
Searching...
No Matches
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
TimelineView Class Reference

The main view component rendering the trace. More...

#include <TimelineView.hpp>

Inheritance diagram for TimelineView:
Inheritance graph
[legend]
Collaboration diagram for TimelineView:
Collaboration graph
[legend]

Public Slots

void updateView ()
 Updates the view to reflect the current selection of the TraceDataProxy. More...
 

Signals

void elementSelected (types::TraceTime begin, types::TraceTime end)
 Indicates a TimedElement is selected. More...
 

Public Member Functions

 TimelineView (TraceDataProxy *data, QWidget *parent=nullptr)
 Creates a new instance of the TimelineView class. More...
 

Protected Member Functions

void resizeEvent (QResizeEvent *event) override
 
void wheelEvent (QWheelEvent *event) override
 

Detailed Description

The main view component rendering the trace.

This class is the main component responsible for rendering all slots, communications and collective communications. The scene is rerendered whenever the selected time window of the trace changes or the window is resized.

Definition at line 32 of file TimelineView.hpp.

Constructor & Destructor Documentation

◆ TimelineView()

TimelineView::TimelineView ( TraceDataProxy data,
QWidget *  parent = nullptr 
)
explicit

Creates a new instance of the TimelineView class.

Parameters
dataThe data proxy to obtain the current selection of the trace and to connect to change events
parentThe parent QWidget

Definition at line 28 of file TimelineView.cpp.

Member Function Documentation

◆ elementSelected

void TimelineView::elementSelected ( types::TraceTime  begin,
types::TraceTime  end 
)
signal

Indicates a TimedElement is selected.

Parameters
beginThe start time of the selected TimedElement
endThe end time of the selected TimedElement

◆ resizeEvent()

void TimelineView::resizeEvent ( QResizeEvent *  event)
overrideprotected

Definition at line 175 of file TimelineView.cpp.

◆ updateView

void TimelineView::updateView ( )
slot

Updates the view to reflect the current selection of the TraceDataProxy.

Definition at line 180 of file TimelineView.cpp.

◆ wheelEvent()

void TimelineView::wheelEvent ( QWheelEvent *  event)
overrideprotected

Definition at line 193 of file TimelineView.cpp.


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