summaryrefslogtreecommitdiffstats
path: root/src/widget/weffectchain.h
blob: 8d5457758cd39bfc228e27523158c4bcca73b553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef WEFFECTCHAIN_H
#define WEFFECTCHAIN_H

#include <QWidget>
#include <QLabel>

#include "effects/effectchainslot.h"
#include "widget/wlabel.h"

class WEffectChain : public WLabel {
    Q_OBJECT
  public:
    WEffectChain(QWidget* pParent=NULL);
    virtual ~WEffectChain();

    // Set the EffectChain that should be monitored by this WEffectChain
    void setEffectChainSlot(EffectChainSlotPointer pEffectChainSlot);

  private slots:
    void chainUpdated();

  private:
    EffectChainSlotPointer m_pEffectChainSlot;
};

#endif /* WEFFECTCHAIN_H */