Scenario::IntervalPresenter Class Referenceabstract
Inheritance diagram for Scenario::IntervalPresenter:
Scenario::FullViewIntervalPresenter Scenario::TemporalIntervalPresenter

Public Member Functions

 IntervalPresenter (ZoomRatio zoom, const IntervalModel &model, IntervalView *view, IntervalHeader *header, const Process::Context &ctx, QObject *parent)
 
virtual void updateScaling ()
 
bool isSelected () const
 
const IntervalModelmodel () const
 
IntervalViewview () const
 
IntervalHeaderheader () const
 
virtual void on_zoomRatioChanged (ZoomRatio val)
 
ZoomRatio zoomRatio () const
 
const std::vector< SlotPresenter > & getSlots () const
 
const Id< IntervalModel > & id () const
 
const Process::Contextcontext () const
 
void on_minDurationChanged (const TimeVal &)
 
void on_maxDurationChanged (const TimeVal &)
 
double on_playPercentageChanged (double t)
 
virtual void startSlotDrag (int slot, QPointF) const =0
 
virtual void stopSlotDrag () const =0
 
virtual void selectedSlot (int) const =0
 
virtual void requestSlotMenu (int slot, QPoint pos, QPointF sp) const =0
 
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 ()
 

Protected Member Functions

void updateChildren ()
 
void updateBraces ()
 

Protected Attributes

const IntervalModelm_model
 
ZoomRatio m_zoomRatio {}
 
IntervalViewm_view {}
 
IntervalHeaderm_header {}
 
const Process::Contextm_context
 
std::vector< SlotPresenterm_slots
 

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