SendButtonIndicator.h 587 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef SENDBUTTONINDICATOR_H
  2. #define SENDBUTTONINDICATOR_H
  3. #include <QDebug>
  4. #include <QLabel>
  5. #include <QPixmap>
  6. #include "FxLine.h"
  7. #include "FxMixerView.h"
  8. class FxLine;
  9. class FxMixerView;
  10. class SendButtonIndicator : public QLabel
  11. {
  12. public:
  13. SendButtonIndicator( QWidget * _parent, FxLine * _owner,
  14. FxMixerView * _mv);
  15. virtual void mousePressEvent( QMouseEvent * e );
  16. void updateLightStatus();
  17. private:
  18. FxLine * m_parent;
  19. FxMixerView * m_mv;
  20. static QPixmap * s_qpmOn;
  21. static QPixmap * s_qpmOff;
  22. FloatModel * getSendModel();
  23. };
  24. #endif // SENDBUTTONINDICATOR_H