I have programm an array with four Sliders (SLDpaso[i]). I connect each slider with the function setIsoValueInt like this:
connect(SLDpaso[i], SIGNAL(valueChanged(int)), this, SLOT(setIsoValueInt(int)));
connect(SLDpaso[i], SIGNAL(valueChanged(int)), this, SLOT(setIsoValueInt(int)));
To copy to clipboard, switch view to plain text mode
but in setIsoValueInt(int) function I want to know which slider I have used (which [i]). As you know, valueChanged(int) only emit the value of the slider, but not which slider has emitted the signal. How can I do that?
Thks.
PD:Sorry for my bad english
Bookmarks