Loading...
Searching...
No Matches
Scenario::TemporalIntervalPresenter Class Referencefinal
Inheritance diagram for Scenario::TemporalIntervalPresenter:
Scenario::IntervalPresenter

Public Types

using view_type = TemporalIntervalView
 

Public Member Functions

const auto & id () const
 
 TemporalIntervalPresenter (ZoomRatio zoom, const IntervalModel &viewModel, const Process::Context &ctx, bool handles, QGraphicsItem *parentobject, QObject *parent)
 
void updateScaling () override
 
void updateHeight ()
 
void on_zoomRatioChanged (ZoomRatio val) override
 
void changeRackState ()
 
void selectedSlot (int) const override
 
TemporalIntervalView * view () const
 
TemporalIntervalHeader * header () const
 
void requestSlotMenu (int slot, QPoint pos, QPointF sp) const override
 
void requestProcessSelectorMenu (int slot, QPoint pos, QPointF sp) const
 
void intervalHoverEnter ()
 
void intervalHoverLeave ()
 
- Public Member Functions inherited from Scenario::IntervalPresenter
 IntervalPresenter (ZoomRatio zoom, const IntervalModel &model, IntervalView *view, IntervalHeader *header, const Process::Context &ctx, QObject *parent)
 
bool isSelected () const
 
const IntervalModel & model () const
 
IntervalView * view () const
 
IntervalHeader * header () const
 
ZoomRatio zoomRatio () const
 
const std::vector< SlotPresenter > & getSlots () const
 
const Id< IntervalModel > & id () const
 
const Process::Context & context () const
 
void on_minDurationChanged (const TimeVal &)
 
void on_maxDurationChanged (const TimeVal &)
 
double on_playPercentageChanged (double t)
 
void updateAllSlots () const
 
void pressed (QPointF arg_1) const
 
void moved (QPointF arg_1) const
 
void released (QPointF arg_1) const
 
void askUpdate ()
 
void heightChanged ()
 
void heightPercentageChanged ()
 

Additional Inherited Members

- Protected Member Functions inherited from Scenario::IntervalPresenter
void updateChildren ()
 
void updateBraces ()
 
- Protected Attributes inherited from Scenario::IntervalPresenter
const IntervalModel & m_model
 
ZoomRatio m_zoomRatio {}
 
IntervalView * m_view {}
 
IntervalHeader * m_header {}
 
const Process::Context & m_context
 
std::vector< SlotPresenter > m_slots
 

Member Function Documentation

◆ on_zoomRatioChanged()

void Scenario::TemporalIntervalPresenter::on_zoomRatioChanged ( ZoomRatio  val)
overridevirtual

Reimplemented from Scenario::IntervalPresenter.

◆ requestSlotMenu()

void Scenario::TemporalIntervalPresenter::requestSlotMenu ( int  slot,
QPoint  pos,
QPointF  sp 
) const
overridevirtual

◆ selectedSlot()

void Scenario::TemporalIntervalPresenter::selectedSlot ( int  i) const
overridevirtual

◆ updateScaling()

void Scenario::TemporalIntervalPresenter::updateScaling ( )
overridevirtual

Reimplemented from Scenario::IntervalPresenter.


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