disabled slider scroll
This commit is contained in:
parent
6c588d068f
commit
16604277fb
2 changed files with 17 additions and 5 deletions
|
|
@ -78,7 +78,9 @@ class MeterSlider : public QSlider {
|
|||
private:
|
||||
float peakValue;
|
||||
protected:
|
||||
bool event(QEvent* ev) override;
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
|
||||
public:
|
||||
void setPeakValue(float peakValue);
|
||||
using QSlider::QSlider;
|
||||
|
|
@ -151,7 +153,7 @@ public:
|
|||
|
||||
EndpointHandler* getEndpointHandler();
|
||||
std::map<Roles, ExtendedCheckBox*> getDefaultRolesWidgets();
|
||||
|
||||
|
||||
void setIndex(uint64_t idx);
|
||||
uint64_t getIndex();
|
||||
//void setVolume(int channel, float volume);
|
||||
|
|
@ -164,7 +166,10 @@ public:
|
|||
|
||||
//void populateEndpointWidget(EndpointHandler *eph);
|
||||
//void setEndpointHandlers(std::vector<EndpointHandler*> *ephs);
|
||||
|
||||
|
||||
//protected:
|
||||
//bool event(QEvent* ev) override;
|
||||
|
||||
public slots:
|
||||
void updateMainVolume(int newValue);
|
||||
void updateMute(int checked);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue