|
lmms
Cross-platform music production software
|
#include <SlicerTWaveform.h>
Public Types | |
| enum class | UIObjects { Nothing , SeekerStart , SeekerEnd , SeekerMiddle , SlicePoint } |
Public Slots | |
| void | updateUI () |
| void | isPlaying (float current, float start, float end) |
Public Member Functions | |
| SlicerTWaveform (int totalWidth, int totalHeight, SlicerT *instrument, QWidget *parent) | |
Static Public Attributes | |
| static constexpr int | s_seekerHorMargin = 5 |
| static constexpr int | s_seekerVerMargin = 6 |
| static constexpr int | s_middleMargin = 6 |
| static constexpr int | s_arrowHeight = 5 |
| static constexpr float | s_distanceForClick = 0.02f |
| static constexpr float | s_minSeekerDistance = 0.13f |
| static constexpr float | s_zoomSensitivity = 0.5f |
| static constexpr int | s_minMilisPassed = 10 |
Protected Member Functions | |
| void | mousePressEvent (QMouseEvent *me) override |
| void | mouseReleaseEvent (QMouseEvent *me) override |
| void | mouseMoveEvent (QMouseEvent *me) override |
| void | mouseDoubleClickEvent (QMouseEvent *me) override |
| void | wheelEvent (QWheelEvent *we) override |
| void | paintEvent (QPaintEvent *pe) override |
| void | resizeEvent (QResizeEvent *event) override |
Private Member Functions | |
| void | drawSeekerWaveform () |
| void | drawSeeker () |
| void | drawEditorWaveform () |
| void | drawEditor () |
| void | updateClosest (QMouseEvent *me) |
| void | updateCursor () |
Private Attributes | |
| int | m_width |
| int | m_height |
| int | m_seekerHeight |
| int | m_seekerWidth |
| int | m_editorHeight |
| int | m_editorWidth |
| UIObjects | m_closestObject |
| int | m_closestSlice = -1 |
| float | m_seekerStart = 0 |
| float | m_seekerEnd = 1 |
| float | m_seekerMiddle = 0.5f |
| float | m_noteCurrent |
| float | m_noteStart |
| float | m_noteEnd |
| float | m_zoomLevel = 1.0f |
| QPixmap | m_sliceArrow |
| QPixmap | m_seeker |
| QPixmap | m_seekerWaveform |
| QPixmap | m_editorWaveform |
| QPixmap | m_sliceEditor |
| QPixmap | m_emptySampleIcon |
| SampleThumbnail | m_sampleThumbnail |
| SlicerT * | m_slicerTParent |
| QElapsedTimer | m_updateTimer |
|
strong |
| lmms::gui::SlicerTWaveform::SlicerTWaveform | ( | int | totalWidth, |
| int | totalHeight, | ||
| SlicerT * | instrument, | ||
| QWidget * | parent ) |
|
private |
|
private |
|
private |
|
private |
|
slot |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
private |
|
private |
|
slot |
|
overrideprotected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |