|
lmms
Cross-platform music production software
|
#include <StepRecorderWidget.h>
Signals | |
| void | positionChanged (const lmms::TimePos &t) |
Public Member Functions | |
| StepRecorderWidget (QWidget *parent, const int ppb, const int marginTop, const int marginBottom, const int marginLeft, const int marginRight) | |
| void | setPixelsPerBar (int ppb) |
| void | setCurrentPosition (TimePos currentPosition) |
| void | setMargins (const QMargins &qm) |
| void | setBottomMargin (const int marginBottom) |
| QMargins | margins () |
| void | setStepsLength (TimePos stepsLength) |
| void | setStartPosition (TimePos pos) |
| void | setEndPosition (TimePos pos) |
| void | showHint () |
Private Member Functions | |
| void | paintEvent (QPaintEvent *pe) override |
| int | xCoordOfTick (int tick) |
| void | drawVerLine (QPainter *painter, int x, const QColor &color, int top, int bottom) |
| void | drawVerLine (QPainter *painter, const TimePos &pos, const QColor &color, int top, int bottom) |
| void | updateBoundaries () |
Private Attributes | |
| TimePos | m_stepsLength |
| TimePos | m_curStepStartPos |
| TimePos | m_curStepEndPos |
| int | m_ppb |
| TimePos | m_currentPosition |
| QColor | m_colorLineStart |
| QColor | m_colorLineEnd |
| int | m_top |
| int | m_bottom |
| int | m_left |
| int | m_right |
| const int | m_marginTop |
| int | m_marginBottom |
| const int | m_marginLeft |
| const int | m_marginRight |
| lmms::gui::StepRecorderWidget::StepRecorderWidget | ( | QWidget * | parent, |
| const int | ppb, | ||
| const int | marginTop, | ||
| const int | marginBottom, | ||
| const int | marginLeft, | ||
| const int | marginRight ) |
|
private |
|
private |
| QMargins lmms::gui::StepRecorderWidget::margins | ( | ) |
|
overrideprivate |
|
signal |
| void lmms::gui::StepRecorderWidget::setBottomMargin | ( | const int | marginBottom | ) |
| void lmms::gui::StepRecorderWidget::setCurrentPosition | ( | TimePos | currentPosition | ) |
| void lmms::gui::StepRecorderWidget::setEndPosition | ( | TimePos | pos | ) |
| void lmms::gui::StepRecorderWidget::setMargins | ( | const QMargins & | qm | ) |
| void lmms::gui::StepRecorderWidget::setPixelsPerBar | ( | int | ppb | ) |
| void lmms::gui::StepRecorderWidget::setStartPosition | ( | TimePos | pos | ) |
| void lmms::gui::StepRecorderWidget::setStepsLength | ( | TimePos | stepsLength | ) |
| void lmms::gui::StepRecorderWidget::showHint | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |