diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-08-25 16:18:20 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-08-26 16:29:39 +0200 |
commit | 1083861fd1534d28858dca552784c7daa9d3bd54 (patch) | |
tree | 8366ff13803b9578f919f37ea42f46f73c21a212 /examples/multimediawidgets/player/doc/src | |
parent | 4f0a121ae9ced93b83034d82d42d6e84babb1e7f (diff) |
Remove some dead code relating to color correction in QVideoWidget
This isn't supported in 6.2, get rid of the dead code.
Pick-to: 6.2
Change-Id: Ie2af81d0b74f16a126c718d09368ee04774809cf
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'examples/multimediawidgets/player/doc/src')
-rw-r--r-- | examples/multimediawidgets/player/doc/src/player.qdoc | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/examples/multimediawidgets/player/doc/src/player.qdoc b/examples/multimediawidgets/player/doc/src/player.qdoc index 77fc856bd..9cdc84b07 100644 --- a/examples/multimediawidgets/player/doc/src/player.qdoc +++ b/examples/multimediawidgets/player/doc/src/player.qdoc @@ -65,35 +65,7 @@ connect(controls, SIGNAL(changeVolume(int)), player, SLOT(setVolume(int))); \endcode - The example also allows us to change various video properties by means + The example also allows us to change video properties by means of the QVideoWidget object. We can go to Full Screen mode with a single - button click, and back again. Or if we press the "Color Options" dialog - button we can have access to more subtle influences. The dialog has a - set of sliders so that we can change the brightness, contrast, hue and - saturation of the video being watched. The connect() statements are in - pairs so that changes to either the user interface widget (the relevant - slider) or the QVideoWidget object will update the other object. - - \code - connect(brightnessSlider, SIGNAL(sliderMoved(int)), videoWidget, - SLOT(setBrightness(int))); - connect(videoWidget, SIGNAL(brightnessChanged(int)), - brightnessSlider, SLOT(setValue(int))); - - connect(contrastSlider, SIGNAL(sliderMoved(int)), videoWidget, - SLOT(setContrast(int))); - connect(videoWidget, SIGNAL(contrastChanged(int)), contrastSlider, - SLOT(setValue(int))); - - connect(hueSlider, SIGNAL(sliderMoved(int)), videoWidget, - SLOT(setHue(int))); - connect(videoWidget, SIGNAL(hueChanged(int)), hueSlider, - SLOT(setValue(int))); - - connect(saturationSlider, SIGNAL(sliderMoved(int)), videoWidget, - SLOT(setSaturation(int))); - connect(videoWidget, SIGNAL(saturationChanged(int)), - saturationSlider, SLOT(setValue(int))); - \endcode - + button click, and back again. */ |