NAP
Public Member Functions | Public Attributes | List of all members
DraggingSegmentValue Class Reference

#include <sequencecurvetrackview_guiactions.h>

Public Member Functions

 DraggingSegmentValue (std::string trackId, std::string segmentID, sequencecurveenums::ESegmentValueTypes type, int curveIndex, float newValue)
 
- Public Member Functions inherited from TrackAction
 TrackAction (std::string trackID)
 
- Public Member Functions inherited from Action
virtual ~Action ()=default
 
template<typename T >
bool isAction ()
 
template<typename T >
T * getDerived ()
 

Public Attributes

std::string mSegmentID
 
sequencecurveenums::ESegmentValueTypes mType
 
int mCurveIndex
 
float mNewValue
 
- Public Attributes inherited from TrackAction
std::string mTrackID
 

Description

A TrackAction that tells the GUI we're dragging a segment value

Inheritance diagram for DraggingSegmentValue:
[legend]
Collaboration diagram for DraggingSegmentValue:
[legend]

Constructor & Destructor Documentation

◆ DraggingSegmentValue()

DraggingSegmentValue ( std::string  trackId,
std::string  segmentID,
sequencecurveenums::ESegmentValueTypes  type,
int  curveIndex,
float  newValue 
)

Constructor

Parameters
trackIdtrack id of the track holding the segment being edited
segmentIDthe segment being edited
typesegment value, begin or end
curveIndexthe index of the curve
newValuethe new value

Member Data Documentation

◆ mCurveIndex

int mCurveIndex

◆ mNewValue

float mNewValue

◆ mSegmentID

std::string mSegmentID

◆ mType