Flashbutton for Slider in Level/Submaster modus
Posted: Wed May 24, 2017 7:05 am
I think it would be cool to have a flashbutton for level- and submaster-mode. it is easy to implement by adding a button to the widget and add two slots like this:
void VCSlider::flashPressed()
{
valBeforeFlash = sliderValue();
setSliderValue(m_levelHighLimit);
}
void VCSlider::flashReleased()
{
setSliderValue(valBeforeFlash);
}
void VCSlider::flashPressed()
{
valBeforeFlash = sliderValue();
setSliderValue(m_levelHighLimit);
}
void VCSlider::flashReleased()
{
setSliderValue(valBeforeFlash);
}