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

#include <MixerChannelLcdSpinBox.h>

Inheritance diagram for lmms::gui::MixerChannelLcdSpinBox:
lmms::gui::LcdSpinBox lmms::gui::LcdWidget lmms::gui::TypedModelView< IntModel > lmms::gui::AutomatableModelView lmms::gui::ModelView

Public Member Functions

 MixerChannelLcdSpinBox (int numDigits, QWidget *parent, const QString &name, TrackView *tv=nullptr)
 ~MixerChannelLcdSpinBox () override=default
void setTrackView (TrackView *tv)
Public Member Functions inherited from lmms::gui::LcdSpinBox
 LcdSpinBox (int numDigits, QWidget *parent, const QString &name=QString())
 LcdSpinBox (int numDigits, const QString &style, QWidget *parent, const QString &name=QString())
 ~LcdSpinBox () override=default
void modelChanged () override
void setDisplayOffset (int offset)
int displayOffset () const
 Returns internal offset for displaying values.
Public Member Functions inherited from lmms::gui::LcdWidget
 LcdWidget (QWidget *parent, const QString &name=QString(), bool leadingZero=false)
 LcdWidget (int numDigits, QWidget *parent, const QString &name=QString(), bool leadingZero=false)
 LcdWidget (int numDigits, const QString &style, QWidget *parent, const QString &name=QString(), bool leadingZero=false)
void setValue (int value)
void setValue (float value)
void setLabel (const QString &label)
void addTextForValue (int value, const QString &text)
int numDigits () const
void setNumDigits (int n)
QColor textColor () const
void setTextColor (const QColor &c)
QColor textShadowColor () const
void setTextShadowColor (const QColor &c)
int cellHeight () const
void setSeamless (bool left, bool right)
Public Member Functions inherited from lmms::gui::TypedModelView< IntModel >
 TypedModelView (Model *model, QWidget *_this)
IntModelmodel ()
const IntModelmodel () const
Public Member Functions inherited from lmms::gui::AutomatableModelView
 AutomatableModelView (Model *model, QWidget *_this)
 ~AutomatableModelView () override=default
AutomatableModelmodelUntyped ()
const AutomatableModelmodelUntyped () const
void setModel (Model *model, bool isOldModelValid=true) override
void unsetModel () override
template<typename T>
value () const
void setDescription (const QString &desc)
void setUnit (const QString &unit)
void addDefaultActions (QMenu *menu)
void setConversionFactor (float factor)
float getConversionFactor ()
Public Member Functions inherited from lmms::gui::ModelView
 ModelView (Model *model, QWidget *widget)
virtual ~ModelView ()
Modelmodel ()
const Modelmodel () const
template<class T>
T * castModel ()
template<class T>
const T * castModel () const

Protected Member Functions

void mouseDoubleClickEvent (QMouseEvent *event) override
void contextMenuEvent (QContextMenuEvent *event) override
Protected Member Functions inherited from lmms::gui::LcdSpinBox
void contextMenuEvent (QContextMenuEvent *_me) override
void mousePressEvent (QMouseEvent *_me) override
void mouseMoveEvent (QMouseEvent *_me) override
void mouseReleaseEvent (QMouseEvent *_me) override
void wheelEvent (QWheelEvent *_we) override
void mouseDoubleClickEvent (QMouseEvent *_me) override
Protected Member Functions inherited from lmms::gui::LcdWidget
void paintEvent (QPaintEvent *pe) override
virtual void updateSize ()
Protected Member Functions inherited from lmms::gui::ModelView
QWidget * widget ()
virtual void doConnections ()

Private Member Functions

void enterValue ()

Private Attributes

TrackViewm_tv

Additional Inherited Members

Public Slots inherited from lmms::gui::LcdSpinBox
virtual void update ()
Public Slots inherited from lmms::gui::LcdWidget
virtual void setMarginWidth (int width)
Signals inherited from lmms::gui::LcdSpinBox
void manualChange ()
Protected Attributes inherited from lmms::gui::AutomatableModelView
QString m_description
QString m_unit
float m_conversionFactor
Properties inherited from lmms::gui::LcdWidget
QColor textColor
QColor textShadowColor
int numDigits

Constructor & Destructor Documentation

◆ MixerChannelLcdSpinBox()

lmms::gui::MixerChannelLcdSpinBox::MixerChannelLcdSpinBox ( int numDigits,
QWidget * parent,
const QString & name,
TrackView * tv = nullptr )
inline

◆ ~MixerChannelLcdSpinBox()

lmms::gui::MixerChannelLcdSpinBox::~MixerChannelLcdSpinBox ( )
overridedefault

Member Function Documentation

◆ contextMenuEvent()

void lmms::gui::MixerChannelLcdSpinBox::contextMenuEvent ( QContextMenuEvent * event)
overrideprotected

◆ enterValue()

void lmms::gui::MixerChannelLcdSpinBox::enterValue ( )
private

◆ mouseDoubleClickEvent()

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

◆ setTrackView()

void lmms::gui::MixerChannelLcdSpinBox::setTrackView ( TrackView * tv)

Member Data Documentation

◆ m_tv

TrackView* lmms::gui::MixerChannelLcdSpinBox::m_tv
private

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