This plugin displays a QSlicer widget. It is based on the approach described by trolltech.
Click here to reset the window/level by invoking a Qt slot via javascript.
Click here interact with slicer by manipulating the MRML scene by invoking a Qt slot via javascript.