Fix up Slider documentation.

Change-Id: I85022aff7e3618aed49b8fbd4d1a817081a14982
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>