|
lmms
Cross-platform music production software
|
Dummy clip for PatternTracks. More...
#include <PatternClip.h>
Public Member Functions | |
| PatternClip (Track *track) | |
| ~PatternClip () override=default | |
| void | saveSettings (QDomDocument &_doc, QDomElement &_parent) override |
| void | loadSettings (const QDomElement &_this) override |
| QString | nodeName () const override |
| int | patternIndex () |
| gui::ClipView * | createView (gui::TrackView *_tv) override |
| PatternClip * | clone () override |
| Creates a copy of this clip. | |
| Public Member Functions inherited from lmms::Clip | |
| Clip (Track *track) | |
Creates a new clip for the given track track. | |
| ~Clip () override | |
| Destroys the given clip. | |
| Track * | getTrack () const |
| const QString & | name () const |
| void | setName (const QString &name) |
| QString | displayName () const override |
| const TimePos & | startPosition () const |
| TimePos | endPosition () const |
| const TimePos & | length () const |
| bool | hasTrackContainer () const |
| bool | isInPattern () const |
| bool | manuallyResizable () const |
| void | setAutoResize (const bool r) |
| Set whether a clip has been resized yet by the user or the knife tool. | |
| bool | getAutoResize () const |
| auto | color () const -> const std::optional< QColor > & |
| void | setColor (const std::optional< QColor > &color) |
| virtual void | movePosition (const TimePos &pos) |
| Move this Clip's position in time. | |
| virtual void | changeLength (const TimePos &length) |
| Change the length of this Clip. | |
| virtual void | updateLength () |
| void | selectViewOnCreate (bool select) |
| bool | getSelectViewOnCreate () |
| TimePos | startTimeOffset () const |
| virtual void | setStartTimeOffset (const TimePos &startTimeOffset) |
| Public Member Functions inherited from lmms::Model | |
| Model (Model *parent, QString displayName=QString(), bool defaultConstructed=false) | |
| ~Model () override=default | |
| bool | isDefaultConstructed () const |
| Model * | parentModel () const |
| virtual void | setDisplayName (const QString &displayName) |
| virtual QString | fullDisplayName () const |
| Public Member Functions inherited from lmms::JournallingObject | |
| JournallingObject () | |
| ~JournallingObject () override | |
| jo_id_t | id () const |
| void | saveJournallingState (const bool newState) |
| void | restoreJournallingState () |
| void | addJournalCheckPoint () |
| QDomElement | saveState (QDomDocument &_doc, QDomElement &_parent) override |
| void | restoreState (const QDomElement &_this) override |
| bool | isJournalling () const |
| void | setJournalling (const bool _sr) |
| bool | testAndSetJournalling (const bool newState) |
| bool | isJournallingStateStackEmpty () const |
| Public Member Functions inherited from lmms::SerializingObject | |
| SerializingObject () | |
| virtual | ~SerializingObject () |
| void | setHook (SerializingObjectHook *_hook) |
| SerializingObjectHook * | hook () |
Friends | |
| class | PatternClipView |
Additional Inherited Members | |
| Public Slots inherited from lmms::Clip | |
| void | toggleMute () |
| Mutes this Clip. | |
| Signals inherited from lmms::Clip | |
| void | lengthChanged () |
| void | positionChanged () |
| void | destroyedClip () |
| void | colorChanged () |
| Signals inherited from lmms::Model | |
| void | dataChanged () |
| void | dataUnchanged () |
| void | propertiesChanged () |
| Static Public Member Functions inherited from lmms::Clip | |
| static bool | comparePosition (const Clip *a, const Clip *b) |
| Returns true if and only if a->startPosition() < b->startPosition(). | |
| static void | copyStateTo (Clip *src, Clip *dst) |
| Copies the state of a clip to another clip. | |
| Protected Member Functions inherited from lmms::Clip | |
| Clip (const Clip &other) | |
| Creates a duplicate clip of the one provided. | |
| Protected Member Functions inherited from lmms::JournallingObject | |
| void | changeID (jo_id_t _id) |
Dummy clip for PatternTracks.
Only used in the Song (Editor). See PatternStore.h for more info.
| lmms::PatternClip::PatternClip | ( | Track * | track | ) |
|
overridedefault |
|
inlineoverridevirtual |
|
overridevirtual |
Implements lmms::Clip.
|
overridevirtual |
Implements lmms::SerializingObject.
|
inlineoverridevirtual |
Implements lmms::SerializingObject.
| int lmms::PatternClip::patternIndex | ( | ) |
|
overridevirtual |
Implements lmms::SerializingObject.
|
friend |