|
lmms
Cross-platform music production software
|
#include <OscilloscopeGraph.h>
Public Member Functions | |
| OscilloscopeGraph (QWidget *parent, OscilloscopeControls *controls) | |
| ~OscilloscopeGraph () override=default | |
| void | paintEvent (QPaintEvent *pe) override |
| void | wheelEvent (QWheelEvent *we) override |
| void | mousePressEvent (QMouseEvent *me) override |
| void | mouseMoveEvent (QMouseEvent *me) override |
Static Public Attributes | |
| static constexpr float | MaxBufferLengthSeconds = 5.0f |
| Maximum length of the oscilloscope history in seconds. | |
Properties | |
| QColor | monoColor |
| QColor | leftColor |
| QColor | rightColor |
| QColor | minorLineColor |
| QColor | clippingLineColor |
| QColor | backgroundColor |
Private Slots | |
| void | changeSampleRate () |
Private Attributes | |
| OscilloscopeControls * | m_controls |
| LocklessRingBufferReader< SampleFrame > | m_inputBufferReader |
| std::vector< SampleFrame > | m_ringBuffer |
| int | m_ringBufferIndex = 0 |
| int | m_mousePos |
| QColor | m_monoColor = QColor(255, 255, 255) |
| QColor | m_leftColor = QColor(126, 146, 255, 128) |
| QColor | m_rightColor = QColor(255, 128, 128, 128) |
| QColor | m_minorLineColor = QColor(100, 100, 100) |
| QColor | m_clippingLineColor = QColor(100, 0, 0) |
| QColor | m_backgroundColor = QColor(0, 0, 0) |
| lmms::gui::OscilloscopeGraph::OscilloscopeGraph | ( | QWidget * | parent, |
| OscilloscopeControls * | controls ) |
|
overridedefault |
|
privateslot |
|
override |
|
override |
|
override |
|
override |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticconstexpr |
Maximum length of the oscilloscope history in seconds.
| QColor lmms::gui::OscilloscopeGraph::backgroundColor |
| QColor lmms::gui::OscilloscopeGraph::clippingLineColor |
| QColor lmms::gui::OscilloscopeGraph::leftColor |
| QColor lmms::gui::OscilloscopeGraph::minorLineColor |
| QColor lmms::gui::OscilloscopeGraph::monoColor |
| QColor lmms::gui::OscilloscopeGraph::rightColor |