I have read obout sender() function and I need more help. I have programm this:
for (int i=0;i<max_contorno;i++){
connect(SLDpaso[i], SIGNAL(valueChanged(int)), this, SLOT(setIsoValueInt(int)));
}
for (int i=0;i<max_contorno;i++){
connect(SLDpaso[i], SIGNAL(valueChanged(int)), this, SLOT(setIsoValueInt(int)));
}
To copy to clipboard, switch view to plain text mode
and in setIsoValueInt:
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
Bookmarks