|
LMMS
|
#include <SampleClipView.h>
Public Slots | |
| void | updateSample () |
| void | reverseSample () |
| void | setAutomationGhost () |
| 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 | |
| SampleClipView (SampleClip *_clip, TrackView *_tv) | |
| ~SampleClipView () override=default | |
| Public Member Functions inherited from lmms::gui::ClipView | |
| ClipView (Clip *clip, TrackView *tv) | |
| Create a new ClipView. | |
| ~ClipView () override | |
| Destroy a ClipView. | |
| bool | fixedClips () |
| Does this ClipView have a fixed Clip? | |
| Clip * | getClip () |
| TrackView * | getTrackView () |
| QColor | mutedColor () const |
| CSS theming qproperty access method. | |
| QColor | mutedBackgroundColor () const |
| QColor | selectedColor () const |
| QColor | selectedBlendColor () const |
| QColor | textColor () const |
| QColor | textBackgroundColor () const |
| QColor | textShadowColor () const |
| QColor | patternClipBackground () const |
| QColor | markerColor () const |
| bool | gradient () const |
| void | setMutedColor (const QColor &c) |
| CSS theming qproperty access method. | |
| void | setMutedBackgroundColor (const QColor &c) |
| void | setSelectedColor (const QColor &c) |
| void | setSelectedBlendColor (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 () |
| void | setNeedsUpdate (bool b) |
| QVector< ClipView * > | getClickedClips () |
| void | copy (QVector< ClipView * > clipvs) |
| void | cut (QVector< ClipView * > clipvs) |
| void | paste () |
| void | toggleSelectedAutoResize () |
| QColor | getBlendedSelectedColor (QColor baseColor) |
| Blend the selected "color mask" into a specific color. | |
| QColor | getColor (QColor baseColor, bool ignoreMuted=false, bool ignoreEmpty=false, bool ignoreSelected=false) |
| Calculate the "final" version of a specific color. | |
| QColor | getColorForDisplay (QColor defaultColor) |
| Calculate the "final" primary color for this clip. | |
| 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 |
Protected Member Functions | |
| void | constructContextMenu (QMenu *cm) override |
| void | mousePressEvent (QMouseEvent *_me) override |
| void | mouseReleaseEvent (QMouseEvent *_me) override |
| void | dragEnterEvent (QDragEnterEvent *_dee) override |
| void | dropEvent (QDropEvent *_de) override |
| void | mouseDoubleClickEvent (QMouseEvent *) override |
| void | paintEvent (QPaintEvent *) 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 () |
Private Attributes | |
| SampleClip * | m_clip |
| SampleThumbnail | m_sampleThumbnail |
| QPixmap | m_paintPixmap |
| long | m_paintPixmapXPosition |
Additional Inherited Members | |
| Static Public Member Functions inherited from lmms::gui::ClipView | |
| static void | remove (QVector< ClipView * > clipvs) |
| static void | toggleMute (QVector< ClipView * > clipvs) |
| 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 Slots inherited from lmms::gui::ClipView | |
| void | updateLength () |
| Updates a ClipView's length. | |
| void | updatePosition () |
| Updates a ClipView's position. | |
| Protected Attributes inherited from lmms::gui::ClipView | |
| TrackView * | m_trackView |
| TimePos | m_initialClipPos |
| TimePos | m_initialClipEnd |
| bool | m_marker = false |
| int | m_markerPos = 0 |
| Properties inherited from lmms::gui::ClipView | |
| QColor | mutedColor |
| QColor | mutedBackgroundColor |
| QColor | selectedBlendColor |
| QColor | selectedColor |
| QColor | textColor |
| QColor | textBackgroundColor |
| QColor | textShadowColor |
| QColor | patternClipBackground |
| bool | gradient |
| QColor | markerColor |
| lmms::gui::SampleClipView::SampleClipView | ( | SampleClip * | _clip, |
| TrackView * | _tv ) |
|
overridedefault |
|
overrideprotectedvirtual |
Reimplemented from lmms::gui::ClipView.
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
slot |
|
slot |
|
slot |
|
private |
|
private |
|
private |
|
private |