blob: 02bc7afd83b1a9c3b90dd01b297c8bb3731e7cb6 (
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
27
|
#pragma once
#include <QDomNode>
#include "widget/wlabel.h"
#include "effects/effectslot.h"
#include "skin/legacy/skincontext.h"
class EffectsManager;
class WEffect : public WLabel {
Q_OBJECT
public:
WEffect(QWidget* pParent, EffectsManager* pEffectsManager);
void setup(const QDomNode& node, const SkinContext& context) override;
private slots:
void effectUpdated();
private:
// Set the EffectSlot that should be monitored by this WEffect.
void setEffectSlot(EffectSlotPointer pEffectSlot);
EffectsManager* m_pEffectsManager;
EffectSlotPointer m_pEffectSlot;
};
|