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

#include <sequenceeditorguiactions.h>

Public Member Functions

 DraggingSegment (std::string trackId, std::string segmentID, double newDuration)
 
- 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
 
double mNewDuration
 
- Public Attributes inherited from TrackAction
std::string mTrackID
 

Description

Action for dragging segments

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

Constructor & Destructor Documentation

◆ DraggingSegment()

DraggingSegment ( std::string  trackId,
std::string  segmentID,
double  newDuration 
)

Constructor

Parameters
trackIdtrackID of segment being dragged
segmentIDsegmentID of segment being dragged
newDurationsegment duration

Member Data Documentation

◆ mNewDuration

double mNewDuration

◆ mSegmentID

std::string mSegmentID