Loading...
Searching...
No Matches
Curve::MoveSegmentCommandObject Class Referencefinal
Inheritance diagram for Curve::MoveSegmentCommandObject:
Detailed Description
Drags the segment clicked, or all the selected ones when it is one of them, in time and value. A segment linked to a moved one and not moved itself stretches to follow; a moved point stops at the others and at the bounds of the curve.
Public Member Functions | |
| MoveSegmentCommandObject (const Model &model, Presenter *presenter, const score::CommandStackFacade &stack) | |
| void | on_press () override |
| void | move () |
| void | release () |
| void | cancel () |
Public Member Functions inherited from Curve::CommandObjectBase | |
| CommandObjectBase (const Model &model, Presenter *pres, const score::CommandStackFacade &) | |
| void | setCurveState (Curve::StateBase *stateBase) |
| void | press () |
| void | handleLocking () |
Additional Inherited Members | |
Protected Member Functions inherited from Curve::CommandObjectBase | |
| void | submit (const std::vector< SegmentData > &) |
| auto | find (std::vector< SegmentData > &segments, const OptionalId< SegmentModel > &id) |
| auto | find (const std::vector< SegmentData > &segments, const OptionalId< SegmentModel > &id) |
Protected Attributes inherited from Curve::CommandObjectBase | |
| QPointF | m_originalPress |
| const Model & | m_model |
| Presenter * | m_presenter {} |
| Curve::StateBase * | m_state {} |
| SingleOngoingCommandDispatcher< UpdateCurve > | m_dispatcher |
| std::vector< SegmentData > | m_startSegments |
| std::vector< SegmentData > | m_segments |
| The curve being submitted: kept across moves for its storage. | |
| double | m_xmin {-1} |
| double | m_xmax {2} |
| double | m_xLastPoint {2} |
Member Function Documentation
◆ on_press()
|
overridevirtual |
Implements Curve::CommandObjectBase.
The documentation for this class was generated from the following files:
- MoveSegmentCommandObject.hpp
- MoveSegmentCommandObject.cpp
Public Member Functions inherited from