Or how do I know user have stopped moving the slice?
How did you implement the slice movement in the first place?
What IS the slice?
Are you using an QGLWidget or GrphicsViewer or something else?

Creating a custom event is trivial, but you need to know when and from where to post it...