channels added to front programmatically

This commit is contained in:
Hane 2023-08-13 17:43:09 +02:00
commit cb81b49367
6 changed files with 78 additions and 35 deletions

View file

@ -64,8 +64,12 @@ public:
QCheckBox *muteButton = nullptr;
QLabel *mainLabel = nullptr, *leftChannelLabel = nullptr, *rightChannelLabel = nullptr;
QSlider *mainSlider = nullptr;
QSlider *leftChannelSlider = nullptr;
QSlider *rightChannelSlider = 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);