wip channel callback
This commit is contained in:
parent
312de5ce2c
commit
b4401dd984
6 changed files with 28 additions and 47 deletions
|
|
@ -66,16 +66,15 @@ public:
|
|||
QSlider *mainSlider = nullptr;
|
||||
std::vector<QSlider*> channelSliders;
|
||||
std::vector<QLabel*> channelLabels;
|
||||
/*
|
||||
* QSlider *leftChannelSlider = nullptr;
|
||||
* QSlider *rightChannelSlider = nullptr;
|
||||
*/
|
||||
QGridLayout *layout = nullptr;
|
||||
QGridLayout *mainMuteLayout = nullptr;
|
||||
void updateMainVolume(float newValue);
|
||||
void updateChannelVolume(uint32_t channel, float newValue);
|
||||
void updateMute(bool muted);
|
||||
|
||||
//void populateEndpointWidget(EndpointHandler *eph);
|
||||
//void setEndpointHandlers(std::vector<EndpointHandler*> *ephs);
|
||||
|
||||
public slots:
|
||||
void updateMainVolume(int newValue);
|
||||
void updateMute(int checked);
|
||||
|
|
@ -93,6 +92,7 @@ private:
|
|||
|
||||
typedef void (EndpointWidget::*epwMuteFunc)(bool muted);
|
||||
typedef void (EndpointWidget::*epwMainVolumeFunc)(float newValue);
|
||||
typedef void (EndpointWidget::*epwChannelVolumeFunc)(uint32_t channel, float newValue);
|
||||
|
||||
class MainWindow : public QMainWindow {
|
||||
Q_OBJECT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue