Connecting the image slice change with the slider
m really stuck with an issue and m new to qt..
plz help me out.
my task is to read the image of x number of slice.. display it,, set slider and spin box so that all three shud interact with each other.
slider-qvtkwidget these are connected bt when i move the mouse wheel for changing the image slice the slider has to be moved according to the mouse wheel.. m nt understanding how to connect it.
Can you explain with a simple example what your are trying to do ?
From the description above it's tough to guess.
i have read sequence of image in a qvtkwidget and connected slider and spinbox to it so that wen i scroll my mouse i shud know the slice number.
wen i move slider slices move bt i am struggling to connect it in reverse like wen my slices move with the scroll slider shud move bt which is nt happeneing.
hey Gene thanku for ua reply.. i solved the problem and its working fine...
Good to hear the you solved your problem. You can post the solution here in brief words if possible so that in future someone would benefit from it. Also you can mark the post as solved.
and in the interactor style class did as below
void SetUi(Ui_MainWindow *ui)
if(_Slice < Max_Slice)
_Slice += 1;
and things work perfect.