26 |
#include "ui_qsamplerChannelStrip.h" |
#include "ui_qsamplerChannelStrip.h" |
27 |
|
|
28 |
#include "qsamplerChannel.h" |
#include "qsamplerChannel.h" |
29 |
|
#include <QTimer> |
30 |
|
|
31 |
class QDragEnterEvent; |
class QDragEnterEvent; |
32 |
|
|
81 |
bool channelFxEdit(); |
bool channelFxEdit(); |
82 |
bool channelReset(); |
bool channelReset(); |
83 |
void volumeChanged(int iVolume); |
void volumeChanged(int iVolume); |
84 |
|
void midiArrived(); |
85 |
|
|
86 |
protected: |
protected: |
87 |
|
|
89 |
void dropEvent(QDropEvent* pDropEvent); |
void dropEvent(QDropEvent* pDropEvent); |
90 |
void contextMenuEvent(QContextMenuEvent* pEvent); |
void contextMenuEvent(QContextMenuEvent* pEvent); |
91 |
|
|
92 |
|
protected slots: |
93 |
|
|
94 |
|
void midiDataCeased(); |
95 |
|
|
96 |
private: |
private: |
97 |
|
|
98 |
Ui::qsamplerChannelStrip m_ui; |
Ui::qsamplerChannelStrip m_ui; |
100 |
Channel* m_pChannel; |
Channel* m_pChannel; |
101 |
int m_iDirtyChange; |
int m_iDirtyChange; |
102 |
int m_iErrorCount; |
int m_iErrorCount; |
103 |
|
QTimer* pMidiActivityTimer; |
104 |
|
|
105 |
// Channel strip activation/selection. |
// Channel strip activation/selection. |
106 |
static ChannelStrip *g_pSelectedStrip; |
static ChannelStrip *g_pSelectedStrip; |