I have read obout sender() function and I need more help. I have programm this:

Qt Code:
  1. for (int i=0;i<max_contorno;i++){
  2. connect(SLDpaso[i], SIGNAL(valueChanged(int)), this, SLOT(setIsoValueInt(int)));
  3. }
To copy to clipboard, switch view to plain text mode 

and in setIsoValueInt:

Qt Code:
  1. QSlider *SLDp = (QSlider *)sender();
To copy to clipboard, switch view to plain text mode 

But i dont know how to obtain the index of the Sliders array