|
lmms
Cross-platform music production software
|
#include <MidiClipView.h>
Public Slots | |
| lmms::MidiClip * | getMidiClip () |
| void | update () override |
| Public Slots inherited from lmms::gui::ClipView | |
| virtual bool | close () |
| Close a ClipView. | |
| void | remove () |
| Removes a ClipView from its track view. | |
| void | update () override |
| Update a ClipView. | |
| void | selectColor () |
| void | randomizeColor () |
| void | resetColor () |
| Public Slots inherited from lmms::gui::selectableObject | |
| virtual void | update () |
Public Member Functions | |
| MidiClipView (MidiClip *clip, TrackView *parent) | |
| ~MidiClipView () override=default | |
| QColor const & | getNoteFillColor () const |
| void | setNoteFillColor (QColor const &color) |
| QColor const & | getNoteBorderColor () const |
| void | setNoteBorderColor (QColor const &color) |
| QColor const & | getMutedNoteFillColor () const |
| void | setMutedNoteFillColor (QColor const &color) |
| QColor const & | getMutedNoteBorderColor () const |
| void | setMutedNoteBorderColor (QColor const &color) |
| Public Member Functions inherited from lmms::gui::ClipView | |
| ClipView (Clip *clip, TrackView *tv) | |
| Creates a new clip view for the given clip in the given track view. | |
| ~ClipView () override | |
| Destroys the given ClipView. | |
| bool | fixedClips () |
| Checks if the containing trackView has fixed Clips. | |
| Clip * | getClip () |
| TrackView * | getTrackView () |
| QColor | mutedColor () const |
| QColor | mutedBackgroundColor () const |
| QColor | selectedColor () const |
| QColor | textColor () const |
| QColor | textBackgroundColor () const |
| QColor | textShadowColor () const |
| QColor | patternClipBackground () const |
| bool | gradient () const |
| QColor | markerColor () const |
| void | setMutedColor (const QColor &c) |
| void | setMutedBackgroundColor (const QColor &c) |
| void | setSelectedColor (const QColor &c) |
| void | setTextColor (const QColor &c) |
| void | setTextBackgroundColor (const QColor &c) |
| void | setTextShadowColor (const QColor &c) |
| void | setPatternClipBackground (const QColor &c) |
| void | setGradient (const bool &b) |
| void | setMarkerColor (const QColor &c) |
| bool | needsUpdate () const |
| void | setNeedsUpdate (bool b) |
| QVector< ClipView * > | getClickedClips () |
| void | copy (QVector< ClipView * > clipvs) |
| void | cut (QVector< ClipView * > clipvs) |
| void | paste () |
| void | toggleSelectedAutoResize () |
| QColor | getColorForDisplay (QColor) |
| void | setMarkerPos (int x) |
| void | setMarkerEnabled (bool e) |
| Public Member Functions inherited from lmms::gui::selectableObject | |
| selectableObject (QWidget *_parent) | |
| ~selectableObject () override=default | |
| void | setSelected (bool selected) |
| bool | isSelected () const |
| Public Member Functions inherited from lmms::gui::ModelView | |
| ModelView (Model *model, QWidget *widget) | |
| virtual | ~ModelView () |
| virtual void | setModel (Model *model, bool isOldModelValid=true) |
| virtual void | unsetModel () |
| Model * | model () |
| const Model * | model () const |
| template<class T> | |
| T * | castModel () |
| template<class T> | |
| const T * | castModel () const |
Static Public Member Functions | |
| static bool | canMergeSelection (QVector< ClipView * > clipvs) |
| static void | mergeClips (QVector< ClipView * > clipvs) |
| static void | bulkClearNotesOutOfBounds (QVector< ClipView * > clipvs) |
| Static Public Member Functions inherited from lmms::gui::ClipView | |
| static void | remove (QVector< ClipView * > clipvs) |
| static void | toggleMute (QVector< ClipView * > clipvs) |
Protected Slots | |
| void | openInPianoRoll () |
| void | setGhostInPianoRoll () |
| void | setGhostInAutomationEditor () |
| void | resetName () |
| void | changeName () |
| void | transposeSelection () |
| void | clearNotesOutOfBounds () |
| Protected Slots inherited from lmms::gui::ClipView | |
| void | updateLength () |
| Updates a ClipView's length. | |
| void | updatePosition () |
| Updates a ClipView's position. | |
Protected Member Functions | |
| void | constructContextMenu (QMenu *) override |
| void | mousePressEvent (QMouseEvent *_me) override |
| void | mouseDoubleClickEvent (QMouseEvent *_me) override |
| void | paintEvent (QPaintEvent *pe) override |
| void | wheelEvent (QWheelEvent *_we) override |
| Protected Member Functions inherited from lmms::gui::ClipView | |
| void | contextMenuEvent (QContextMenuEvent *cme) override |
| Set up the context menu for this ClipView. | |
| void | contextMenuAction (ContextMenuAction action) |
| void | dragEnterEvent (QDragEnterEvent *dee) override |
| Change the ClipView's display when something being dragged enters it. | |
| void | dropEvent (QDropEvent *de) override |
| Handle something being dropped on this ClipObjectView. | |
| void | mousePressEvent (QMouseEvent *me) override |
| Handle a mouse press on this ClipView. | |
| void | mouseMoveEvent (QMouseEvent *me) override |
| Handle a mouse movement (drag) on this ClipView. | |
| void | mouseReleaseEvent (QMouseEvent *me) override |
| Handle a mouse release on this ClipView. | |
| void | resizeEvent (QResizeEvent *re) override |
| bool | unquantizedModHeld (QMouseEvent *me) |
| TimePos | quantizeSplitPos (TimePos) |
| float | pixelsPerBar () const |
| How many pixels a bar takes for this ClipView. | |
| DataFile | createClipDataFiles (const QVector< ClipView * > &clips) const |
| Create a DataFile suitable for copying multiple clips. | |
| virtual void | paintTextLabel (QString const &text, QPainter &painter) |
| auto | hasCustomColor () const -> bool |
| Protected Member Functions inherited from lmms::gui::ModelView | |
| virtual void | modelChanged () |
| QWidget * | widget () |
| virtual void | doConnections () |
Properties | |
| QColor | noteFillColor |
| QColor | noteBorderColor |
| QColor | mutedNoteFillColor |
| QColor | mutedNoteBorderColor |
| Properties inherited from lmms::gui::ClipView | |
| QColor | mutedColor |
| QColor | mutedBackgroundColor |
| QColor | selectedColor |
| QColor | textColor |
| QColor | textBackgroundColor |
| QColor | textShadowColor |
| QColor | patternClipBackground |
| bool | gradient |
| QColor | markerColor |
Private Member Functions | |
| bool | isResizableBeforeStart () override |
| bool | destructiveSplitClip (const TimePos pos) override |
| Destructively split this Clip into two clips. | |
Private Attributes | |
| QPixmap | m_stepBtnOn0 = embed::getIconPixmap("step_btn_on_0") |
| QPixmap | m_stepBtnOn200 = embed::getIconPixmap("step_btn_on_200") |
| QPixmap | m_stepBtnOff = embed::getIconPixmap("step_btn_off") |
| QPixmap | m_stepBtnOffLight = embed::getIconPixmap("step_btn_off_light") |
| QPixmap | m_stepBtnHighlight = embed::getIconPixmap("step_btn_highlight") |
| MidiClip * | m_clip |
| QPixmap | m_paintPixmap |
| QColor | m_noteFillColor |
| QColor | m_noteBorderColor |
| QColor | m_mutedNoteFillColor |
| QColor | m_mutedNoteBorderColor |
| QStaticText | m_staticTextName |
| bool | m_legacySEPattern |
Additional Inherited Members | |
| Static Public Attributes inherited from lmms::gui::ClipView | |
| static const int | BORDER_WIDTH = 2 |
| Protected Types inherited from lmms::gui::ClipView | |
| enum class | ContextMenuAction { Remove , Cut , Copy , Paste , Mute } |
| Protected Attributes inherited from lmms::gui::ClipView | |
| TrackView * | m_trackView |
| TimePos | m_initialClipPos |
| TimePos | m_initialClipEnd |
| bool | m_marker = false |
| int | m_markerPos = 0 |
|
overridedefault |
|
static |
|
static |
|
protectedslot |
|
protectedslot |
|
overrideprotectedvirtual |
Reimplemented from lmms::gui::ClipView.
|
overrideprivatevirtual |
Destructively split this Clip into two clips.
If the clip type does not implement this feature, it will default to normal splitting.
| pos | the position of the split, relative to the start of the clip |
Reimplemented from lmms::gui::ClipView.
|
slot |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverrideprivatevirtual |
Reimplemented from lmms::gui::ClipView.
|
static |
|
overrideprotected |
|
overrideprotected |
|
protectedslot |
|
overrideprotected |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
inline |
|
inline |
|
inline |
|
inline |
|
protectedslot |
|
overrideslot |
|
overrideprotected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |