main slider cbk, detected minor l_dcpp bug
This commit is contained in:
parent
c5eed2774d
commit
833b417441
7 changed files with 49 additions and 22 deletions
|
|
@ -68,10 +68,12 @@ public:
|
|||
QSlider *rightChannelSlider = nullptr;
|
||||
QGridLayout *layout = nullptr;
|
||||
QGridLayout *mainMuteLayout = nullptr;
|
||||
void updateMainVolume(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);
|
||||
|
||||
private:
|
||||
|
|
@ -86,6 +88,7 @@ private:
|
|||
};
|
||||
|
||||
typedef void (EndpointWidget::*epwMuteFunc)(bool muted);
|
||||
typedef void (EndpointWidget::*epwMainVolumeFunc)(float newValue);
|
||||
|
||||
class MainWindow : public QMainWindow {
|
||||
Q_OBJECT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue