#include <TimeLineWidget.h>
|
| QPixmap | m_posMarkerPixmap = embed::getIconPixmap("playpos_marker") |
| QPixmap | m_recordingPosMarkerPixmap = embed::getIconPixmap("recording_playpos_marker") |
| QColor | m_inactiveLoopColor = QColor{52, 63, 53, 64} |
| QBrush | m_inactiveLoopBrush = QColor{255, 255, 255, 32} |
| QColor | m_inactiveLoopInnerColor = QColor{255, 255, 255, 32} |
| QColor | m_inactiveLoopHandleColor = QColor{255, 255, 255, 32} |
| QColor | m_activeLoopColor = QColor{52, 63, 53, 255} |
| QBrush | m_activeLoopBrush = QColor{55, 141, 89} |
| QColor | m_activeLoopInnerColor = QColor{74, 155, 100, 255} |
| QColor | m_activeLoopHandleColor = QColor{74, 155, 100, 255} |
| int | m_loopRectangleVerticalPadding = 1 |
| int | m_loopHandleWidth = 5 |
| QColor | m_barLineColor = QColor{192, 192, 192} |
| QColor | m_barNumberColor = m_barLineColor.darker(120) |
| QCursor | m_cursorSelectLeft = QCursor{embed::getIconPixmap("cursor_select_left"), 0, 16} |
| QCursor | m_cursorSelectRight = QCursor{embed::getIconPixmap("cursor_select_right"), 32, 16} |
| int | m_xOffset |
| float | m_ppb |
| float | m_snapSize = 1.f |
| Timeline * | m_timeline |
| const TimePos & | m_begin |
| AutoScrollState | m_autoScroll = defaultAutoScrollState() |
| std::array< TimePos, 2 > | m_oldLoopPos |
| TimePos | m_dragStartPos |
| bool | m_isRecording = false |
| bool | m_isPlayheadVisible = true |
| TextFloat * | m_hint = nullptr |
| int | m_initalXSelect |
| Action | m_action = Action::NoAction |
◆ Action
| Enumerator |
|---|
| NoAction | |
| MovePositionMarker | |
| MoveLoopBegin | |
| MoveLoopEnd | |
| MoveLoop | |
| SelectSongClip | |
◆ AutoScrollState
| Enumerator |
|---|
| Stepped | |
| Continuous | |
| Disabled | |
◆ TimeLineWidget()
| lmms::gui::TimeLineWidget::TimeLineWidget |
( |
int | xoff, |
|
|
int | yoff, |
|
|
float | ppb, |
|
|
Timeline & | timeline, |
|
|
const TimePos & | begin, |
|
|
QWidget * | parent ) |
◆ ~TimeLineWidget()
| lmms::gui::TimeLineWidget::~TimeLineWidget |
( |
| ) |
|
|
override |
◆ actionCursor()
| auto lmms::gui::TimeLineWidget::actionCursor |
( |
Action | action | ) |
const -> QCursor |
|
private |
◆ addToolButtons()
| void lmms::gui::TimeLineWidget::addToolButtons |
( |
QToolBar * | _tool_bar | ) |
|
◆ autoScroll()
◆ contextMenuEvent()
| void lmms::gui::TimeLineWidget::contextMenuEvent |
( |
QContextMenuEvent * | event | ) |
|
|
overrideprotected |
◆ defaultAutoScrollState()
◆ getActiveLoopBrush()
| QBrush const & lmms::gui::TimeLineWidget::getActiveLoopBrush |
( |
| ) |
const |
|
inline |
◆ getActiveLoopColor()
| QColor const & lmms::gui::TimeLineWidget::getActiveLoopColor |
( |
| ) |
const |
|
inline |
◆ getActiveLoopInnerColor()
| QColor const & lmms::gui::TimeLineWidget::getActiveLoopInnerColor |
( |
| ) |
const |
|
inline |
◆ getBarLineColor()
| QColor const & lmms::gui::TimeLineWidget::getBarLineColor |
( |
| ) |
const |
|
inline |
◆ getBarNumberColor()
| QColor const & lmms::gui::TimeLineWidget::getBarNumberColor |
( |
| ) |
const |
|
inline |
◆ getClickedTime()
| auto lmms::gui::TimeLineWidget::getClickedTime |
( |
int | xPosition | ) |
const -> TimePos |
|
private |
◆ getInactiveLoopBrush()
| QBrush const & lmms::gui::TimeLineWidget::getInactiveLoopBrush |
( |
| ) |
const |
|
inline |
◆ getInactiveLoopColor()
| QColor const & lmms::gui::TimeLineWidget::getInactiveLoopColor |
( |
| ) |
const |
|
inline |
◆ getInactiveLoopInnerColor()
| QColor const & lmms::gui::TimeLineWidget::getInactiveLoopInnerColor |
( |
| ) |
const |
|
inline |
◆ getLoopAction()
| auto lmms::gui::TimeLineWidget::getLoopAction |
( |
QMouseEvent * | event | ) |
const -> Action |
|
private |
◆ getLoopRectangleVerticalPadding()
| int const & lmms::gui::TimeLineWidget::getLoopRectangleVerticalPadding |
( |
| ) |
const |
|
inline |
◆ isPlayheadVisible()
| bool lmms::gui::TimeLineWidget::isPlayheadVisible |
( |
| ) |
const |
|
inline |
◆ isRecording()
| bool lmms::gui::TimeLineWidget::isRecording |
( |
| ) |
const |
|
inline |
◆ markerX()
◆ mouseHotspotSelLeft()
| auto lmms::gui::TimeLineWidget::mouseHotspotSelLeft |
( |
| ) |
const -> QSize |
|
inline |
◆ mouseHotspotSelRight()
| auto lmms::gui::TimeLineWidget::mouseHotspotSelRight |
( |
| ) |
const -> QSize |
|
inline |
◆ mouseMoveEvent()
| void lmms::gui::TimeLineWidget::mouseMoveEvent |
( |
QMouseEvent * | _me | ) |
|
|
overrideprotected |
◆ mousePressEvent()
| void lmms::gui::TimeLineWidget::mousePressEvent |
( |
QMouseEvent * | _me | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
| void lmms::gui::TimeLineWidget::mouseReleaseEvent |
( |
QMouseEvent * | _me | ) |
|
|
overrideprotected |
◆ paintEvent()
| void lmms::gui::TimeLineWidget::paintEvent |
( |
QPaintEvent * | _pe | ) |
|
|
overrideprotected |
◆ regionSelectedFromPixels
| void lmms::gui::TimeLineWidget::regionSelectedFromPixels |
( |
int | , |
|
|
int | ) |
|
signal |
◆ selectionFinished
| void lmms::gui::TimeLineWidget::selectionFinished |
( |
| ) |
|
|
signal |
◆ setActiveLoopBrush()
| void lmms::gui::TimeLineWidget::setActiveLoopBrush |
( |
QBrush const & | activeLoopBrush | ) |
|
|
inline |
◆ setActiveLoopColor()
| void lmms::gui::TimeLineWidget::setActiveLoopColor |
( |
QColor const & | activeLoopColor | ) |
|
|
inline |
◆ setActiveLoopInnerColor()
| void lmms::gui::TimeLineWidget::setActiveLoopInnerColor |
( |
QColor const & | activeLoopInnerColor | ) |
|
|
inline |
◆ setAutoScroll()
◆ setBarLineColor()
| void lmms::gui::TimeLineWidget::setBarLineColor |
( |
QColor const & | barLineColor | ) |
|
|
inline |
◆ setBarNumberColor()
| void lmms::gui::TimeLineWidget::setBarNumberColor |
( |
QColor const & | barNumberColor | ) |
|
|
inline |
◆ setInactiveLoopBrush()
| void lmms::gui::TimeLineWidget::setInactiveLoopBrush |
( |
QBrush const & | inactiveLoopBrush | ) |
|
|
inline |
◆ setInactiveLoopColor()
| void lmms::gui::TimeLineWidget::setInactiveLoopColor |
( |
QColor const & | inactiveLoopColor | ) |
|
|
inline |
◆ setInactiveLoopInnerColor()
| void lmms::gui::TimeLineWidget::setInactiveLoopInnerColor |
( |
QColor const & | inactiveLoopInnerColor | ) |
|
|
inline |
◆ setLoopRectangleVerticalPadding()
| void lmms::gui::TimeLineWidget::setLoopRectangleVerticalPadding |
( |
int const & | loopRectangleVerticalPadding | ) |
|
|
inline |
◆ setMouseHotspotSelLeft()
| void lmms::gui::TimeLineWidget::setMouseHotspotSelLeft |
( |
const QSize & | s | ) |
|
|
inline |
◆ setMouseHotspotSelRight()
| void lmms::gui::TimeLineWidget::setMouseHotspotSelRight |
( |
const QSize & | s | ) |
|
|
inline |
◆ setPixelsPerBar()
| void lmms::gui::TimeLineWidget::setPixelsPerBar |
( |
float | ppb | ) |
|
|
inline |
◆ setPlayheadVisible()
| void lmms::gui::TimeLineWidget::setPlayheadVisible |
( |
bool | visible | ) |
|
|
inline |
◆ setRecording()
| void lmms::gui::TimeLineWidget::setRecording |
( |
bool | recording | ) |
|
|
inline |
◆ setSnapSize
| void lmms::gui::TimeLineWidget::setSnapSize |
( |
const float | snapSize | ) |
|
|
inlineslot |
◆ setXOffset()
◆ timeline()
| Timeline * lmms::gui::TimeLineWidget::timeline |
( |
| ) |
|
|
inline |
◆ toggleAutoScroll
| void lmms::gui::TimeLineWidget::toggleAutoScroll |
( |
int | _n | ) |
|
|
slot |
◆ AutoScrollContinuousString
| const char* lmms::gui::TimeLineWidget::AutoScrollContinuousString = "continuous" |
|
staticconstexpr |
◆ AutoScrollDisabledString
| const char* lmms::gui::TimeLineWidget::AutoScrollDisabledString = "disabled" |
|
staticconstexpr |
◆ AutoScrollSteppedString
| const char* lmms::gui::TimeLineWidget::AutoScrollSteppedString = "stepped" |
|
staticconstexpr |
◆ m_action
◆ m_activeLoopBrush
| QBrush lmms::gui::TimeLineWidget::m_activeLoopBrush = QColor{55, 141, 89} |
|
private |
◆ m_activeLoopColor
| QColor lmms::gui::TimeLineWidget::m_activeLoopColor = QColor{52, 63, 53, 255} |
|
private |
◆ m_activeLoopHandleColor
| QColor lmms::gui::TimeLineWidget::m_activeLoopHandleColor = QColor{74, 155, 100, 255} |
|
private |
◆ m_activeLoopInnerColor
| QColor lmms::gui::TimeLineWidget::m_activeLoopInnerColor = QColor{74, 155, 100, 255} |
|
private |
◆ m_autoScroll
◆ m_barLineColor
| QColor lmms::gui::TimeLineWidget::m_barLineColor = QColor{192, 192, 192} |
|
private |
◆ m_barNumberColor
| QColor lmms::gui::TimeLineWidget::m_barNumberColor = m_barLineColor.darker(120) |
|
private |
◆ m_begin
◆ m_cursorSelectLeft
| QCursor lmms::gui::TimeLineWidget::m_cursorSelectLeft = QCursor{embed::getIconPixmap("cursor_select_left"), 0, 16} |
|
private |
◆ m_cursorSelectRight
| QCursor lmms::gui::TimeLineWidget::m_cursorSelectRight = QCursor{embed::getIconPixmap("cursor_select_right"), 32, 16} |
|
private |
◆ m_dragStartPos
| TimePos lmms::gui::TimeLineWidget::m_dragStartPos |
|
private |
◆ m_hint
◆ m_inactiveLoopBrush
| QBrush lmms::gui::TimeLineWidget::m_inactiveLoopBrush = QColor{255, 255, 255, 32} |
|
private |
◆ m_inactiveLoopColor
| QColor lmms::gui::TimeLineWidget::m_inactiveLoopColor = QColor{52, 63, 53, 64} |
|
private |
◆ m_inactiveLoopHandleColor
| QColor lmms::gui::TimeLineWidget::m_inactiveLoopHandleColor = QColor{255, 255, 255, 32} |
|
private |
◆ m_inactiveLoopInnerColor
| QColor lmms::gui::TimeLineWidget::m_inactiveLoopInnerColor = QColor{255, 255, 255, 32} |
|
private |
◆ m_initalXSelect
| int lmms::gui::TimeLineWidget::m_initalXSelect |
|
private |
◆ m_isPlayheadVisible
| bool lmms::gui::TimeLineWidget::m_isPlayheadVisible = true |
|
private |
◆ m_isRecording
| bool lmms::gui::TimeLineWidget::m_isRecording = false |
|
private |
◆ m_loopHandleWidth
| int lmms::gui::TimeLineWidget::m_loopHandleWidth = 5 |
|
private |
◆ m_loopRectangleVerticalPadding
| int lmms::gui::TimeLineWidget::m_loopRectangleVerticalPadding = 1 |
|
private |
◆ m_oldLoopPos
| std::array<TimePos, 2> lmms::gui::TimeLineWidget::m_oldLoopPos |
|
private |
◆ m_posMarkerPixmap
◆ m_ppb
| float lmms::gui::TimeLineWidget::m_ppb |
|
private |
◆ m_recordingPosMarkerPixmap
| QPixmap lmms::gui::TimeLineWidget::m_recordingPosMarkerPixmap = embed::getIconPixmap("recording_playpos_marker") |
|
private |
◆ m_snapSize
| float lmms::gui::TimeLineWidget::m_snapSize = 1.f |
|
private |
◆ m_timeline
| Timeline* lmms::gui::TimeLineWidget::m_timeline |
|
private |
◆ m_xOffset
| int lmms::gui::TimeLineWidget::m_xOffset |
|
private |
◆ activeLoopBrush
| QBrush lmms::gui::TimeLineWidget::activeLoopBrush |
|
readwrite |
◆ activeLoopColor
| QColor lmms::gui::TimeLineWidget::activeLoopColor |
|
readwrite |
◆ activeLoopHandleColor
| QColor lmms::gui::TimeLineWidget::activeLoopHandleColor |
◆ activeLoopInnerColor
| QColor lmms::gui::TimeLineWidget::activeLoopInnerColor |
|
readwrite |
◆ barLineColor
| QColor lmms::gui::TimeLineWidget::barLineColor |
|
readwrite |
◆ barNumberColor
| QColor lmms::gui::TimeLineWidget::barNumberColor |
|
readwrite |
◆ inactiveLoopBrush
| QBrush lmms::gui::TimeLineWidget::inactiveLoopBrush |
|
readwrite |
◆ inactiveLoopColor
| QColor lmms::gui::TimeLineWidget::inactiveLoopColor |
|
readwrite |
◆ inactiveLoopHandleColor
| QColor lmms::gui::TimeLineWidget::inactiveLoopHandleColor |
◆ inactiveLoopInnerColor
| QColor lmms::gui::TimeLineWidget::inactiveLoopInnerColor |
|
readwrite |
◆ loopHandleWidth
| int lmms::gui::TimeLineWidget::loopHandleWidth |
◆ loopRectangleVerticalPadding
| int lmms::gui::TimeLineWidget::loopRectangleVerticalPadding |
|
readwrite |
◆ mouseHotspotSelLeft
| QSize lmms::gui::TimeLineWidget::mouseHotspotSelLeft |
|
readwrite |
◆ mouseHotspotSelRight
| QSize lmms::gui::TimeLineWidget::mouseHotspotSelRight |
|
readwrite |
The documentation for this class was generated from the following files: