/usr/share/qt5/doc/qtmultimedia/qvideowidget.html is in qtmultimedia5-doc-html 5.9.5-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qvideowidget.cpp -->
<title>QVideoWidget Class | Qt Multimedia 5.9</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
<script type="text/javascript">
document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
// loading style sheet breaks anchors that were jumped to before
// so force jumping to anchor again
setTimeout(function() {
var anchor = location.hash;
// need to jump to different anchor first (e.g. none)
location.hash = "#";
setTimeout(function() {
location.hash = anchor;
}, 0);
}, 0);
</script>
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<table><tr>
<td >Qt 5.9</td><td ><a href="qtmultimedia-index.html">Qt Multimedia</a></td><td ><a href="qtmultimedia-modules.html">C++ Classes</a></td><td >QVideoWidget</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.5 Reference Documentation</td>
</tr></table>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#reimplemented-public-functions">Reimplemented Public Functions</a></li>
<li class="level1"><a href="#public-slots">Public Slots</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#protected-functions">Protected Functions</a></li>
<li class="level1"><a href="#reimplemented-protected-functions">Reimplemented Protected Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QVideoWidget Class</h1>
<!-- $$$QVideoWidget-brief -->
<p>The <a href="qvideowidget.html">QVideoWidget</a> class provides a widget which presents video produced by a media object. <a href="#details">More...</a></p>
<!-- @@@QVideoWidget -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QVideoWidget></span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += multimediawidgets</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="../qtwidgets/qwidget.html">QWidget</a> and <a href="qmediabindableinterface.html">QMediaBindableInterface</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qcameraviewfinder.html">QCameraViewfinder</a></p>
</td></tr></table></div><ul>
<li><a href="qvideowidget-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<div class="table"><table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><b><a href="qvideowidget.html#aspectRatioMode-prop">aspectRatioMode</a></b> : Qt::AspectRatioMode</li>
<li class="fn"><b><a href="qvideowidget.html#brightness-prop">brightness</a></b> : int</li>
<li class="fn"><b><a href="qvideowidget.html#contrast-prop">contrast</a></b> : int</li>
<li class="fn"><b><a href="qvideowidget.html#fullScreen-prop">fullScreen</a></b> : bool</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qvideowidget.html#hue-prop">hue</a></b> : int</li>
<li class="fn"><b><a href="qvideowidget.html#mediaObject-prop">mediaObject</a></b> : QMediaObject * const</li>
<li class="fn"><b><a href="qvideowidget.html#saturation-prop">saturation</a></b> : int</li>
</ul>
</td></tr>
</table></div>
<ul>
<li class="fn">59 properties inherited from <a href="../qtwidgets/qwidget.html#properties">QWidget</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#QVideoWidget">QVideoWidget</a></b>(QWidget *<i>parent</i> = Q_NULLPTR)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#dtor.QVideoWidget">~QVideoWidget</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Qt::AspectRatioMode </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#aspectRatioMode-prop">aspectRatioMode</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#brightness-prop">brightness</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#contrast-prop">contrast</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#hue-prop">hue</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#fullScreen-prop">isFullScreen</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#saturation-prop">saturation</a></b>() const</td></tr>
</table></div>
<a name="reimplemented-public-functions"></a>
<h2 id="reimplemented-public-functions">Reimplemented Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual QMediaObject *</td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#mediaObject-prop">mediaObject</a></b>() const override</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QSize </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#sizeHint">sizeHint</a></b>() const override</td></tr>
</table></div>
<ul>
<li class="fn">216 public functions inherited from <a href="../qtwidgets/qwidget.html#public-functions">QWidget</a></li>
<li class="fn">1 public function inherited from <a href="qmediabindableinterface.html#public-functions">QMediaBindableInterface</a></li>
</ul>
<a name="public-slots"></a>
<h2 id="public-slots">Public Slots</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#aspectRatioMode-prop">setAspectRatioMode</a></b>(Qt::AspectRatioMode <i>mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#brightness-prop">setBrightness</a></b>(int <i>brightness</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#contrast-prop">setContrast</a></b>(int <i>contrast</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#fullScreen-prop">setFullScreen</a></b>(bool <i>fullScreen</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#hue-prop">setHue</a></b>(int <i>hue</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#saturation-prop">setSaturation</a></b>(int <i>saturation</i>)</td></tr>
</table></div>
<ul>
<li class="fn">19 public slots inherited from <a href="../qtwidgets/qwidget.html#public-slots">QWidget</a></li>
</ul>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#brightnessChanged">brightnessChanged</a></b>(int <i>brightness</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#contrastChanged">contrastChanged</a></b>(int <i>contrast</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#fullScreenChanged">fullScreenChanged</a></b>(bool <i>fullScreen</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#hueChanged">hueChanged</a></b>(int <i>hue</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#saturationChanged">saturationChanged</a></b>(int <i>saturation</i>)</td></tr>
</table></div>
<ul>
<li class="fn">3 signals inherited from <a href="../qtwidgets/qwidget.html#signals">QWidget</a></li>
</ul>
<a name="protected-functions"></a>
<h2 id="protected-functions">Protected Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#event">event</a></b>(QEvent *<i>event</i>) override</td></tr>
</table></div>
<a name="reimplemented-protected-functions"></a>
<h2 id="reimplemented-protected-functions">Reimplemented Protected Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#hideEvent">hideEvent</a></b>(QHideEvent *<i>event</i>) override</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#moveEvent">moveEvent</a></b>(QMoveEvent *<i>event</i>) override</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#paintEvent">paintEvent</a></b>(QPaintEvent *<i>event</i>) override</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#resizeEvent">resizeEvent</a></b>(QResizeEvent *<i>event</i>) override</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qvideowidget.html#showEvent">showEvent</a></b>(QShowEvent *<i>event</i>) override</td></tr>
</table></div>
<ul>
<li class="fn">35 protected functions inherited from <a href="../qtwidgets/qwidget.html#protected-functions">QWidget</a></li>
<li class="fn">1 protected function inherited from <a href="qmediabindableinterface.html#protected-functions">QMediaBindableInterface</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">5 static public members inherited from <a href="../qtwidgets/qwidget.html#static-public-members">QWidget</a></li>
<li class="fn">1 protected slot inherited from <a href="../qtwidgets/qwidget.html#protected-slots">QWidget</a></li>
</ul>
<a name="details"></a>
<!-- $$$QVideoWidget-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qvideowidget.html">QVideoWidget</a> class provides a widget which presents video produced by a media object.</p>
<p>Attaching a <a href="qvideowidget.html">QVideoWidget</a> to a <a href="qmediaobject.html">QMediaObject</a> allows it to display the video or image output of that media object. A <a href="qvideowidget.html">QVideoWidget</a> is attached to media object by passing a pointer to the <a href="qmediaobject.html">QMediaObject</a> in its constructor, and detached by destroying the <a href="qvideowidget.html">QVideoWidget</a>.</p>
<pre class="cpp">
player <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qmediaplayer.html">QMediaPlayer</a></span>;
playlist <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qmediaplaylist.html">QMediaPlaylist</a></span>(player);
playlist<span class="operator">-</span><span class="operator">></span>addMedia(<span class="type"><a href="../qtcore/qurl.html">QUrl</a></span>(<span class="string">"http://example.com/myclip1.mp4"</span>));
playlist<span class="operator">-</span><span class="operator">></span>addMedia(<span class="type"><a href="../qtcore/qurl.html">QUrl</a></span>(<span class="string">"http://example.com/myclip2.mp4"</span>));
videoWidget <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qvideowidget.html#QVideoWidget">QVideoWidget</a></span>;
player<span class="operator">-</span><span class="operator">></span>setVideoOutput(videoWidget);
videoWidget<span class="operator">-</span><span class="operator">></span>show();
playlist<span class="operator">-</span><span class="operator">></span>setCurrentIndex(<span class="number">1</span>);
player<span class="operator">-</span><span class="operator">></span>play();
</pre>
<p><b>Note</b>: Only a single display output can be attached to a media object at one time.</p>
</div>
<p><b>See also </b><a href="qmediaobject.html">QMediaObject</a>, <a href="qmediaplayer.html">QMediaPlayer</a>, and <a href="qgraphicsvideoitem.html">QGraphicsVideoItem</a>.</p>
<!-- @@@QVideoWidget -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$aspectRatioMode-prop$$$aspectRatioMode$$$setAspectRatioModeQt::AspectRatioMode -->
<h3 class="fn" id="aspectRatioMode-prop"><a name="aspectRatioMode-prop"></a><span class="name">aspectRatioMode</span> : <span class="type"><a href="../qtcore/qt.html#AspectRatioMode-enum">Qt::AspectRatioMode</a></span></h3>
<p>how video is scaled with respect to its aspect ratio.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> Qt::AspectRatioMode </td><td class="memItemRight bottomAlign"><span class="name"><b>aspectRatioMode</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setAspectRatioMode</b></span>(Qt::AspectRatioMode <i>mode</i>)</td></tr>
</table></div>
<!-- @@@aspectRatioMode -->
<!-- $$$brightness-prop$$$brightness$$$setBrightnessint$$$brightnessChangedint -->
<h3 class="fn" id="brightness-prop"><a name="brightness-prop"></a><span class="name">brightness</span> : <span class="type">int</span></h3>
<p>This property holds an adjustment to the brightness of displayed video.</p>
<p>Valid brightness values range between -100 and 100, the default is 0.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>brightness</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBrightness</b></span>(int <i>brightness</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qvideowidget.html#brightnessChanged">brightnessChanged</a></b></span>(int <i>brightness</i>)</td></tr>
</table></div>
<!-- @@@brightness -->
<!-- $$$contrast-prop$$$contrast$$$setContrastint$$$contrastChangedint -->
<h3 class="fn" id="contrast-prop"><a name="contrast-prop"></a><span class="name">contrast</span> : <span class="type">int</span></h3>
<p>This property holds an adjustment to the contrast of displayed video.</p>
<p>Valid contrast values range between -100 and 100, the default is 0.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>contrast</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setContrast</b></span>(int <i>contrast</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qvideowidget.html#contrastChanged">contrastChanged</a></b></span>(int <i>contrast</i>)</td></tr>
</table></div>
<!-- @@@contrast -->
<!-- $$$fullScreen-prop$$$isFullScreen$$$setFullScreenbool$$$fullScreenChangedbool -->
<h3 class="fn" id="fullScreen-prop"><a name="fullScreen-prop"></a><span class="name">fullScreen</span> : <span class="type">bool</span></h3>
<p>This property holds whether video display is confined to a window or is fullScreen.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>isFullScreen</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setFullScreen</b></span>(bool <i>fullScreen</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qvideowidget.html#fullScreenChanged">fullScreenChanged</a></b></span>(bool <i>fullScreen</i>)</td></tr>
</table></div>
<!-- @@@fullScreen -->
<!-- $$$hue-prop$$$hue$$$setHueint$$$hueChangedint -->
<h3 class="fn" id="hue-prop"><a name="hue-prop"></a><span class="name">hue</span> : <span class="type">int</span></h3>
<p>This property holds an adjustment to the hue of displayed video.</p>
<p>Valid hue values range between -100 and 100, the default is 0.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>hue</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setHue</b></span>(int <i>hue</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qvideowidget.html#hueChanged">hueChanged</a></b></span>(int <i>hue</i>)</td></tr>
</table></div>
<!-- @@@hue -->
<!-- $$$mediaObject-prop$$$mediaObject -->
<h3 class="fn" id="mediaObject-prop"><a name="mediaObject-prop"></a><span class="name">mediaObject</span> : <span class="type"><a href="qmediaobject.html">QMediaObject</a></span> * const</h3>
<p>This property holds the media object which provides the video displayed by a widget.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> virtual QMediaObject *</td><td class="memItemRight bottomAlign"><span class="name"><b>mediaObject</b></span>() const override</td></tr>
</table></div>
<!-- @@@mediaObject -->
<!-- $$$saturation-prop$$$saturation$$$setSaturationint$$$saturationChangedint -->
<h3 class="fn" id="saturation-prop"><a name="saturation-prop"></a><span class="name">saturation</span> : <span class="type">int</span></h3>
<p>This property holds an adjustment to the saturation of displayed video.</p>
<p>Valid saturation values range between -100 and 100, the default is 0.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>saturation</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSaturation</b></span>(int <i>saturation</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qvideowidget.html#saturationChanged">saturationChanged</a></b></span>(int <i>saturation</i>)</td></tr>
</table></div>
<!-- @@@saturation -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QVideoWidget[overload1]$$$QVideoWidgetQWidget* -->
<h3 class="fn" id="QVideoWidget"><a name="QVideoWidget"></a>QVideoWidget::<span class="name">QVideoWidget</span>(<span class="type"><a href="../qtwidgets/qwidget.html#QWidget">QWidget</a></span> *<i>parent</i> = Q_NULLPTR)</h3>
<p>Constructs a new video widget.</p>
<p>The <i>parent</i> is passed to <a href="../qtwidgets/qwidget.html">QWidget</a>.</p>
<!-- @@@QVideoWidget -->
<!-- $$$~QVideoWidget[overload1]$$$~QVideoWidget -->
<h3 class="fn" id="dtor.QVideoWidget"><a name="dtor.QVideoWidget"></a>QVideoWidget::<span class="name">~QVideoWidget</span>()</h3>
<p>Destroys a video widget.</p>
<!-- @@@~QVideoWidget -->
<!-- $$$brightnessChanged -->
<h3 class="fn" id="brightnessChanged"><a name="brightnessChanged"></a><code>[signal] </code><span class="type">void</span> QVideoWidget::<span class="name">brightnessChanged</span>(<span class="type">int</span> <i>brightness</i>)</h3>
<p>Signals that a video widgets's <i>brightness</i> adjustment has changed.</p>
<p><b>Note:</b> Notifier signal for property <a href="qvideowidget.html#brightness-prop">brightness</a>. </p><p><b>See also </b><a href="qvideowidget.html#brightness-prop">brightness</a>().</p>
<!-- @@@brightnessChanged -->
<!-- $$$contrastChanged -->
<h3 class="fn" id="contrastChanged"><a name="contrastChanged"></a><code>[signal] </code><span class="type">void</span> QVideoWidget::<span class="name">contrastChanged</span>(<span class="type">int</span> <i>contrast</i>)</h3>
<p>Signals that a video widgets's <i>contrast</i> adjustment has changed.</p>
<p><b>Note:</b> Notifier signal for property <a href="qvideowidget.html#contrast-prop">contrast</a>. </p><p><b>See also </b><a href="qvideowidget.html#contrast-prop">contrast</a>().</p>
<!-- @@@contrastChanged -->
<!-- $$$event[overload1]$$$eventQEvent* -->
<h3 class="fn" id="event"><a name="event"></a><code>[protected] </code><span class="type">bool</span> QVideoWidget::<span class="name">event</span>(<span class="type"><a href="../qtcore/qevent.html">QEvent</a></span> *<i>event</i>)</h3>
<p>Current event <i>event</i>. Returns the value of the baseclass <a href="../qtwidgets/qwidget.html#event">QWidget::event</a>(<a href="../qtcore/qevent.html">QEvent</a> *event) function.</p>
<!-- @@@event -->
<!-- $$$fullScreenChanged -->
<h3 class="fn" id="fullScreenChanged"><a name="fullScreenChanged"></a><code>[signal] </code><span class="type">void</span> QVideoWidget::<span class="name">fullScreenChanged</span>(<span class="type">bool</span> <i>fullScreen</i>)</h3>
<p>Signals that the <i>fullScreen</i> mode of a video widget has changed.</p>
<p><b>Note:</b> Notifier signal for property <a href="qvideowidget.html#fullScreen-prop">fullScreen</a>. </p><p><b>See also </b><a href="qvideowidget.html#fullScreen-prop">isFullScreen</a>().</p>
<!-- @@@fullScreenChanged -->
<!-- $$$hideEvent[overload1]$$$hideEventQHideEvent* -->
<h3 class="fn" id="hideEvent"><a name="hideEvent"></a><code>[override virtual protected] </code><span class="type">void</span> QVideoWidget::<span class="name">hideEvent</span>(<span class="type"><a href="../qtgui/qhideevent.html">QHideEvent</a></span> *<i>event</i>)</h3>
<p>Reimplemented from <a href="../qtwidgets/qwidget.html#hideEvent">QWidget::hideEvent</a>().</p>
<p>Handles the hide <i>event</i>.</p>
<!-- @@@hideEvent -->
<!-- $$$hueChanged -->
<h3 class="fn" id="hueChanged"><a name="hueChanged"></a><code>[signal] </code><span class="type">void</span> QVideoWidget::<span class="name">hueChanged</span>(<span class="type">int</span> <i>hue</i>)</h3>
<p>Signals that a video widgets's <i>hue</i> has changed.</p>
<p><b>Note:</b> Notifier signal for property <a href="qvideowidget.html#hue-prop">hue</a>. </p><p><b>See also </b><a href="qvideowidget.html#hue-prop">hue</a>().</p>
<!-- @@@hueChanged -->
<!-- $$$moveEvent[overload1]$$$moveEventQMoveEvent* -->
<h3 class="fn" id="moveEvent"><a name="moveEvent"></a><code>[override virtual protected] </code><span class="type">void</span> QVideoWidget::<span class="name">moveEvent</span>(<span class="type"><a href="../qtgui/qmoveevent.html">QMoveEvent</a></span> *<i>event</i>)</h3>
<p>Reimplemented from <a href="../qtwidgets/qwidget.html#moveEvent">QWidget::moveEvent</a>().</p>
<p>Handles the move <i>event</i>.</p>
<!-- @@@moveEvent -->
<!-- $$$paintEvent[overload1]$$$paintEventQPaintEvent* -->
<h3 class="fn" id="paintEvent"><a name="paintEvent"></a><code>[override virtual protected] </code><span class="type">void</span> QVideoWidget::<span class="name">paintEvent</span>(<span class="type"><a href="../qtgui/qpaintevent.html">QPaintEvent</a></span> *<i>event</i>)</h3>
<p>Reimplemented from <a href="../qtwidgets/qwidget.html#paintEvent">QWidget::paintEvent</a>().</p>
<p>Handles the paint <i>event</i>.</p>
<!-- @@@paintEvent -->
<!-- $$$resizeEvent[overload1]$$$resizeEventQResizeEvent* -->
<h3 class="fn" id="resizeEvent"><a name="resizeEvent"></a><code>[override virtual protected] </code><span class="type">void</span> QVideoWidget::<span class="name">resizeEvent</span>(<span class="type"><a href="../qtgui/qresizeevent.html">QResizeEvent</a></span> *<i>event</i>)</h3>
<p>Reimplemented from <a href="../qtwidgets/qwidget.html#resizeEvent">QWidget::resizeEvent</a>().</p>
<p>Handles the resize <i>event</i>.</p>
<!-- @@@resizeEvent -->
<!-- $$$saturationChanged -->
<h3 class="fn" id="saturationChanged"><a name="saturationChanged"></a><code>[signal] </code><span class="type">void</span> QVideoWidget::<span class="name">saturationChanged</span>(<span class="type">int</span> <i>saturation</i>)</h3>
<p>Signals that a video widgets's <i>saturation</i> has changed.</p>
<p><b>Note:</b> Notifier signal for property <a href="qvideowidget.html#saturation-prop">saturation</a>. </p><p><b>See also </b><a href="qvideowidget.html#saturation-prop">saturation</a>().</p>
<!-- @@@saturationChanged -->
<!-- $$$showEvent[overload1]$$$showEventQShowEvent* -->
<h3 class="fn" id="showEvent"><a name="showEvent"></a><code>[override virtual protected] </code><span class="type">void</span> QVideoWidget::<span class="name">showEvent</span>(<span class="type"><a href="../qtgui/qshowevent.html">QShowEvent</a></span> *<i>event</i>)</h3>
<p>Reimplemented from <a href="../qtwidgets/qwidget.html#showEvent">QWidget::showEvent</a>().</p>
<p>Handles the show <i>event</i>.</p>
<!-- @@@showEvent -->
<!-- $$$sizeHint[overload1]$$$sizeHint -->
<h3 class="fn" id="sizeHint"><a name="sizeHint"></a><code>[override virtual] </code><span class="type"><a href="../qtcore/qsize.html">QSize</a></span> QVideoWidget::<span class="name">sizeHint</span>() const</h3>
<p>Reimplemented from <a href="../qtwidgets/qwidget.html#sizeHint-prop">QWidget::sizeHint</a>().</p>
<p>Returns the size hint for the current back end, if there is one, or else the size hint from <a href="../qtwidgets/qwidget.html">QWidget</a>.</p>
<!-- @@@sizeHint -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|