mirror of
https://github.com/LMMS/lmms.git
synced 2026-01-22 21:38:12 -05:00
34 lines
588 B
C++
34 lines
588 B
C++
#ifndef SENDBUTTONINDICATOR_H
|
|
#define SENDBUTTONINDICATOR_H
|
|
|
|
#include <QDebug>
|
|
#include <QLabel>
|
|
#include <QPixmap>
|
|
|
|
#include "FxLine.h"
|
|
#include "FxMixerView.h"
|
|
|
|
class FxLine;
|
|
class FxMixerView;
|
|
|
|
class SendButtonIndicator : public QLabel
|
|
{
|
|
public:
|
|
SendButtonIndicator( QWidget * _parent, FxLine * _owner,
|
|
FxMixerView * _mv);
|
|
|
|
void mousePressEvent( QMouseEvent * e ) override;
|
|
void updateLightStatus();
|
|
|
|
private:
|
|
|
|
FxLine * m_parent;
|
|
FxMixerView * m_mv;
|
|
static QPixmap * s_qpmOn;
|
|
static QPixmap * s_qpmOff;
|
|
|
|
FloatModel * getSendModel();
|
|
};
|
|
|
|
#endif // SENDBUTTONINDICATOR_H
|