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

#include <EqCurve.h>

Inheritance diagram for lmms::gui::EqCurve:

Public Member Functions

 EqCurve (QList< EqHandle * > *handle, int x, int y)
QRectF boundingRect () const override
void setModelChanged (bool mc)

Protected Member Functions

void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override

Private Attributes

QList< EqHandle * > * m_handle
QPainterPath m_curve
QPixmap m_curvePixmapCache
int m_width
int m_heigth
int m_alpha
bool m_modelChanged
float m_pixelsPerUnitHeight
float m_scale

Constructor & Destructor Documentation

◆ EqCurve()

lmms::gui::EqCurve::EqCurve ( QList< EqHandle * > * handle,
int x,
int y )

Member Function Documentation

◆ boundingRect()

QRectF lmms::gui::EqCurve::boundingRect ( ) const
override

◆ paint()

void lmms::gui::EqCurve::paint ( QPainter * painter,
const QStyleOptionGraphicsItem * option,
QWidget * widget )
overrideprotected

◆ setModelChanged()

void lmms::gui::EqCurve::setModelChanged ( bool mc)

Member Data Documentation

◆ m_alpha

int lmms::gui::EqCurve::m_alpha
private

◆ m_curve

QPainterPath lmms::gui::EqCurve::m_curve
private

◆ m_curvePixmapCache

QPixmap lmms::gui::EqCurve::m_curvePixmapCache
private

◆ m_handle

QList<EqHandle*>* lmms::gui::EqCurve::m_handle
private

◆ m_heigth

int lmms::gui::EqCurve::m_heigth
private

◆ m_modelChanged

bool lmms::gui::EqCurve::m_modelChanged
private

◆ m_pixelsPerUnitHeight

float lmms::gui::EqCurve::m_pixelsPerUnitHeight
private

◆ m_scale

float lmms::gui::EqCurve::m_scale
private

◆ m_width

int lmms::gui::EqCurve::m_width
private

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