#include <Clip.h>
◆ Clip() [1/2]
| Clip::Clip |
( |
Track * | track | ) |
|
Create a new Clip.
Creates a new clip for the given track.
- Parameters
-
| _track | The track that will contain the new object |
◆ ~Clip()
Destroy a Clip.
Destroys the given clip.
◆ Clip() [2/2]
Copy a Clip.
Creates a duplicate clip of the one provided.
- Parameters
-
| other | The clip object which will be copied. |
◆ changeLength()
Change the length of this Clip.
If the clip's length has changed, update it. We also add a journal entry for undo and update the display.
- Parameters
-
| _length | The new length of the clip. |
Reimplemented in lmms::SampleClip.
◆ clone()
| virtual Clip * lmms::Clip::clone |
( |
| ) |
|
|
pure virtual |
◆ color()
| auto lmms::Clip::color |
( |
| ) |
const -> const std::optional< QColor > & |
|
inline |
◆ colorChanged
| void lmms::Clip::colorChanged |
( |
| ) |
|
|
signal |
◆ comparePosition()
◆ copyStateTo()
Copies the state of a Clip to another Clip.
This method copies the state of a Clip to another Clip
◆ createView()
◆ destroyedClip
| void lmms::Clip::destroyedClip |
( |
| ) |
|
|
signal |
◆ displayName()
| QString lmms::Clip::displayName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ endPosition()
| TimePos lmms::Clip::endPosition |
( |
| ) |
const |
|
inline |
◆ getAutoResize()
| bool lmms::Clip::getAutoResize |
( |
| ) |
const |
|
inline |
◆ getSelectViewOnCreate()
| bool lmms::Clip::getSelectViewOnCreate |
( |
| ) |
|
|
inline |
◆ getTrack()
| Track * lmms::Clip::getTrack |
( |
| ) |
const |
|
inline |
◆ hasTrackContainer()
| bool Clip::hasTrackContainer |
( |
| ) |
const |
◆ isInPattern()
| bool Clip::isInPattern |
( |
| ) |
const |
◆ length()
◆ lengthChanged
| void lmms::Clip::lengthChanged |
( |
| ) |
|
|
signal |
◆ manuallyResizable()
| bool Clip::manuallyResizable |
( |
| ) |
const |
◆ mapPropertyFromModel() [1/2]
| lmms::Clip::mapPropertyFromModel |
( |
bool | , |
|
|
isMuted | , |
|
|
setMuted | , |
|
|
m_mutedModel | ) |
|
private |
◆ mapPropertyFromModel() [2/2]
| lmms::Clip::mapPropertyFromModel |
( |
bool | , |
|
|
isSolo | , |
|
|
setSolo | , |
|
|
m_soloModel | ) |
|
private |
◆ movePosition()
Move this Clip's position in time.
If the clip has moved, update its position. We also add a journal entry for undo and update the display.
- Parameters
-
| _pos | The new position of the clip. |
◆ name()
| const QString & lmms::Clip::name |
( |
| ) |
const |
|
inline |
◆ positionChanged
| void lmms::Clip::positionChanged |
( |
| ) |
|
|
signal |
◆ selectViewOnCreate()
| void lmms::Clip::selectViewOnCreate |
( |
bool | select | ) |
|
|
inline |
◆ setAutoResize()
| void lmms::Clip::setAutoResize |
( |
const bool | r | ) |
|
|
inline |
Set whether a clip has been resized yet by the user or the knife tool.
If a clip has been resized previously, it will not automatically resize when editing it.
◆ setColor()
| void Clip::setColor |
( |
const std::optional< QColor > & | color | ) |
|
◆ setName()
| void lmms::Clip::setName |
( |
const QString & | name | ) |
|
|
inline |
◆ setStartTimeOffset()
◆ startPosition()
◆ startTimeOffset()
| TimePos Clip::startTimeOffset |
( |
| ) |
const |
◆ toggleMute
| void Clip::toggleMute |
( |
| ) |
|
|
slot |
Mutes this Clip.
Restore the previous state of this clip. This will restore the position or the length of the clip depending on what was changed.
- Parameters
-
| _je | The journal entry to undo |
◆ updateLength()
| virtual void lmms::Clip::updateLength |
( |
| ) |
|
|
inlinevirtual |
◆ ClipView
◆ m_autoResize
| bool lmms::Clip::m_autoResize = true |
|
private |
◆ m_color
| std::optional<QColor> lmms::Clip::m_color |
|
private |
◆ m_length
◆ m_mutedModel
◆ m_name
| QString lmms::Clip::m_name |
|
private |
◆ m_selectViewOnCreate
| bool lmms::Clip::m_selectViewOnCreate |
|
private |
◆ m_soloModel
◆ m_startPosition
| TimePos lmms::Clip::m_startPosition |
|
private |
◆ m_startTimeOffset
| TimePos lmms::Clip::m_startTimeOffset |
|
private |
◆ m_track
| Track* lmms::Clip::m_track |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/lmms-fork/lmms-fork/include/Clip.h
- /home/runner/work/lmms-fork/lmms-fork/src/core/Clip.cpp