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

#include <LfoGraph.h>

Inheritance diagram for lmms::gui::LfoGraph:
lmms::gui::ModelView

Public Member Functions

 LfoGraph (QWidget *parent)
Public Member Functions inherited from lmms::gui::ModelView
 ModelView (Model *model, QWidget *widget)
virtual ~ModelView ()
virtual void setModel (Model *model, bool isOldModelValid=true)
virtual void unsetModel ()
Modelmodel ()
const Modelmodel () const
template<class T>
T * castModel ()
template<class T>
const T * castModel () const

Protected Member Functions

void mousePressEvent (QMouseEvent *me) override
void paintEvent (QPaintEvent *pe) override
Protected Member Functions inherited from lmms::gui::ModelView
virtual void modelChanged ()
QWidget * widget ()
virtual void doConnections ()

Properties

QColor noAmountColor
QColor fullAmountColor

Private Member Functions

void drawInfoText (const EnvelopeAndLfoParameters &)
void toggleAmountModel ()

Private Attributes

QPixmap m_lfoGraph = embed::getIconPixmap("lfo_graph")
float m_randomGraph {0.}
QColor m_noAmountColor
QColor m_fullAmountColor

Constructor & Destructor Documentation

◆ LfoGraph()

lmms::gui::LfoGraph::LfoGraph ( QWidget * parent)

Member Function Documentation

◆ drawInfoText()

void lmms::gui::LfoGraph::drawInfoText ( const EnvelopeAndLfoParameters & params)
private

◆ mousePressEvent()

void lmms::gui::LfoGraph::mousePressEvent ( QMouseEvent * me)
overrideprotected

◆ paintEvent()

void lmms::gui::LfoGraph::paintEvent ( QPaintEvent * pe)
overrideprotected

◆ toggleAmountModel()

void lmms::gui::LfoGraph::toggleAmountModel ( )
private

Member Data Documentation

◆ m_fullAmountColor

QColor lmms::gui::LfoGraph::m_fullAmountColor
private

◆ m_lfoGraph

QPixmap lmms::gui::LfoGraph::m_lfoGraph = embed::getIconPixmap("lfo_graph")
private

◆ m_noAmountColor

QColor lmms::gui::LfoGraph::m_noAmountColor
private

◆ m_randomGraph

float lmms::gui::LfoGraph::m_randomGraph {0.}
private

Property Documentation

◆ fullAmountColor

QColor lmms::gui::LfoGraph::fullAmountColor

◆ noAmountColor

QColor lmms::gui::LfoGraph::noAmountColor

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