LMMS
Loading...
Searching...
No Matches
lmms::gui::VectorView Class Reference

#include <VectorView.h>

Inheritance diagram for lmms::gui::VectorView:

Public Member Functions

 VectorView (VecControls *controls, LocklessRingBuffer< SampleFrame > *inputBuffer, QWidget *parent=nullptr)
 ~VectorView () override=default
QSize sizeHint () const override

Protected Member Functions

void paintEvent (QPaintEvent *event) override
void mouseDoubleClickEvent (QMouseEvent *event) override
void wheelEvent (QWheelEvent *event) override

Properties

QColor colorTrace
QColor colorGrid
QColor colorLabels

Private Slots

void periodicUpdate ()

Private Member Functions

void drawZoomInfo ()

Private Attributes

VecControlsm_controls
LocklessRingBuffer< SampleFrame > * m_inputBuffer
LocklessRingBufferReader< SampleFramem_bufferReader
float m_zoom
unsigned int m_zoomTimestamp
QPointF m_lastPoint = QPoint()
QColor m_colorTrace = QColor(60, 255, 130, 255)
QColor m_colorGrid = QColor(76, 80, 84, 128)
QColor m_colorLabels = QColor(76, 80, 84, 255)

Constructor & Destructor Documentation

◆ VectorView()

lmms::gui::VectorView::VectorView ( VecControls * controls,
LocklessRingBuffer< SampleFrame > * inputBuffer,
QWidget * parent = nullptr )

◆ ~VectorView()

lmms::gui::VectorView::~VectorView ( )
overridedefault

Member Function Documentation

◆ drawZoomInfo()

void lmms::gui::VectorView::drawZoomInfo ( )
private

◆ mouseDoubleClickEvent()

void lmms::gui::VectorView::mouseDoubleClickEvent ( QMouseEvent * event)
overrideprotected

◆ paintEvent()

void lmms::gui::VectorView::paintEvent ( QPaintEvent * event)
overrideprotected

◆ periodicUpdate

void lmms::gui::VectorView::periodicUpdate ( )
privateslot

◆ sizeHint()

QSize lmms::gui::VectorView::sizeHint ( ) const
inlineoverride

◆ wheelEvent()

void lmms::gui::VectorView::wheelEvent ( QWheelEvent * event)
overrideprotected

Member Data Documentation

◆ m_bufferReader

LocklessRingBufferReader<SampleFrame> lmms::gui::VectorView::m_bufferReader
private

◆ m_colorGrid

QColor lmms::gui::VectorView::m_colorGrid = QColor(76, 80, 84, 128)
private

◆ m_colorLabels

QColor lmms::gui::VectorView::m_colorLabels = QColor(76, 80, 84, 255)
private

◆ m_colorTrace

QColor lmms::gui::VectorView::m_colorTrace = QColor(60, 255, 130, 255)
private

◆ m_controls

VecControls* lmms::gui::VectorView::m_controls
private

◆ m_inputBuffer

LocklessRingBuffer<SampleFrame>* lmms::gui::VectorView::m_inputBuffer
private

◆ m_lastPoint

QPointF lmms::gui::VectorView::m_lastPoint = QPoint()
private

◆ m_zoom

float lmms::gui::VectorView::m_zoom
private

◆ m_zoomTimestamp

unsigned int lmms::gui::VectorView::m_zoomTimestamp
private

Property Documentation

◆ colorGrid

QColor lmms::gui::VectorView::colorGrid

◆ colorLabels

QColor lmms::gui::VectorView::colorLabels

◆ colorTrace

QColor lmms::gui::VectorView::colorTrace

The documentation for this class was generated from the following files: