Changing opacity with a QSlider