A:
//connect (UI - & gt; HorizontalSliderRef, SIGNAL (valueChanged (int)), and this, SLOT (sliderRef_Click ()));
//connect (UI - & gt; HorizontalSliderFluo, SIGNAL (valueChanged (int)), and this, SLOT (sliderFluo_Click ()));
Method 2:
The connect (UI - & gt; HorizontalSliderRef, & amp; QSlider: : valueChanged, this, & amp; MainWindow: : sliderRef_Click);
The connect (UI - & gt; HorizontalSliderFluo, & amp; QSlider: : valueChanged, this, & amp; MainWindow: : sliderFluo_Click);
The first way drag didn't respond
CodePudding user response:
Signals and slots parameters do not match
CodePudding user response: