/usr/share/qt5/doc/qtmultimediawidgets/qgraphicsvideoitem.html is in qtmultimedia5-doc-html 5.2.1-0ubuntu5.
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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qgraphicsvideoitem.cpp -->
<title>QGraphicsVideoItem Class | QtMultimediaWidgets 5.2</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.2</li>
<li><a href="qtmultimediawidgets-index.html">Qt Multimedia Widgets</a></li>
<li><a href="qtmultimediawidgets-module.html">C++ Classes</a></li>
<li>QGraphicsVideoItem</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<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="#signals">Signals</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QGraphicsVideoItem Class</h1>
<!-- $$$QGraphicsVideoItem-brief -->
<p>The QGraphicsVideoItem class provides a graphics item which display video produced by a QMediaObject. <a href="#details">More...</a></p>
<!-- @@@QGraphicsVideoItem -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> </b><tt><span class="preprocessor">#include <QGraphicsVideoItem></span>
</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> <tt>QT += multimediawidgets</tt></td></tr></table><ul>
<li><a href="qgraphicsvideoitem-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2>Properties</h2>
<table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><b><a href="qgraphicsvideoitem.html#aspectRatioMode-prop">aspectRatioMode</a></b> : Qt::AspectRatioMode</li>
<li class="fn"><b><a href="qgraphicsvideoitem.html#mediaObject-prop">mediaObject</a></b> : QMediaObject * const</li>
<li class="fn"><b><a href="qgraphicsvideoitem.html#nativeSize-prop">nativeSize</a></b> : const QSizeF</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qgraphicsvideoitem.html#offset-prop">offset</a></b> : QPointF</li>
<li class="fn"><b><a href="qgraphicsvideoitem.html#size-prop">size</a></b> : QSizeF</li>
</ul>
</td></tr>
</table>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsvideoitem.html#QGraphicsVideoItem">QGraphicsVideoItem</a></b>(QGraphicsItem *<i> parent</i> = 0)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsvideoitem.html#dtor.QGraphicsVideoItem">~QGraphicsVideoItem</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Qt::AspectRatioMode </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsvideoitem.html#aspectRatioMode-prop">aspectRatioMode</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QRectF </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsvideoitem.html#boundingRect">boundingRect</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMediaObject * </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsvideoitem.html#mediaObject-prop">mediaObject</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSizeF </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsvideoitem.html#nativeSize-prop">nativeSize</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPointF </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsvideoitem.html#offset-prop">offset</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsvideoitem.html#paint">paint</a></b>(QPainter *<i> painter</i>, const QStyleOptionGraphicsItem *<i> option</i>, QWidget *<i> widget</i> = 0)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsvideoitem.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="qgraphicsvideoitem.html#offset-prop">setOffset</a></b>(const QPointF &<i> offset</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsvideoitem.html#size-prop">setSize</a></b>(const QSizeF &<i> size</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSizeF </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsvideoitem.html#size-prop">size</a></b>() const</td></tr>
</table>
<a name="signals"></a>
<h2>Signals</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsvideoitem.html#nativeSize-prop">nativeSizeChanged</a></b>(const QSizeF &<i> size</i>)</td></tr>
</table>
<a name="details"></a>
<!-- $$$QGraphicsVideoItem-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QGraphicsVideoItem class provides a graphics item which display video produced by a QMediaObject.</p>
<p>Attaching a QGraphicsVideoItem to a QMediaObject allows it to display the video or image output of that media object. A QGraphicsVideoItem is attached to a media object by passing a pointer to the QMediaObject to the setMediaObject() function.</p>
<pre class="cpp"></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>QMediaObject, QMediaPlayer, and <a href="qvideowidget.html">QVideoWidget</a>.</p>
<!-- @@@QGraphicsVideoItem -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$aspectRatioMode-prop$$$aspectRatioMode$$$setAspectRatioModeQt::AspectRatioMode -->
<h3 class="fn"><a name="aspectRatioMode-prop"></a><span class="name">aspectRatioMode</span> : <span class="type">Qt::AspectRatioMode</span></h3>
<p>This property holds how a video is scaled to fit the graphics item's size.</p>
<p><b>Access functions:</b></p>
<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>
<!-- @@@aspectRatioMode -->
<!-- $$$mediaObject-prop$$$mediaObject -->
<h3 class="fn"><a name="mediaObject-prop"></a><span class="name">mediaObject</span> : <span class="type">QMediaObject</span> * const</h3>
<p>This property holds the media object which provides the video displayed by a graphics item.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QMediaObject * </td><td class="memItemRight bottomAlign"><span class="name"><b>mediaObject</b></span>() const</td></tr>
</table>
<!-- @@@mediaObject -->
<!-- $$$nativeSize-prop$$$nativeSize$$$nativeSizeChangedconstQSizeF& -->
<h3 class="fn"><a name="nativeSize-prop"></a><span class="name">nativeSize</span> : const <span class="type">QSizeF</span></h3>
<p>This property holds the native size of the video.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QSizeF </td><td class="memItemRight bottomAlign"><span class="name"><b>nativeSize</b></span>() const</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>nativeSizeChanged</b></span>(const QSizeF &<i> size</i>)</td></tr>
</table>
<!-- @@@nativeSize -->
<!-- $$$offset-prop$$$offset$$$setOffsetconstQPointF& -->
<h3 class="fn"><a name="offset-prop"></a><span class="name">offset</span> : <span class="type">QPointF</span></h3>
<p>This property holds the video item's offset.</p>
<p><a href="qgraphicsvideoitem.html">QGraphicsVideoItem</a> will draw video using the offset for its top left corner.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QPointF </td><td class="memItemRight bottomAlign"><span class="name"><b>offset</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setOffset</b></span>(const QPointF &<i> offset</i>)</td></tr>
</table>
<!-- @@@offset -->
<!-- $$$size-prop$$$size$$$setSizeconstQSizeF& -->
<h3 class="fn"><a name="size-prop"></a><span class="name">size</span> : <span class="type">QSizeF</span></h3>
<p>This property holds the video item's size.</p>
<p><a href="qgraphicsvideoitem.html">QGraphicsVideoItem</a> will draw video scaled to fit size according to its fillMode.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QSizeF </td><td class="memItemRight bottomAlign"><span class="name"><b>size</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSize</b></span>(const QSizeF &<i> size</i>)</td></tr>
</table>
<!-- @@@size -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGraphicsVideoItem[overload1]$$$QGraphicsVideoItemQGraphicsItem* -->
<h3 class="fn"><a name="QGraphicsVideoItem"></a>QGraphicsVideoItem::<span class="name">QGraphicsVideoItem</span>(<span class="type">QGraphicsItem</span> *<i> parent</i> = 0)</h3>
<p>Constructs a graphics item that displays video.</p>
<p>The <i>parent</i> is passed to QGraphicsItem.</p>
<!-- @@@QGraphicsVideoItem -->
<!-- $$$~QGraphicsVideoItem[overload1]$$$~QGraphicsVideoItem -->
<h3 class="fn"><a name="dtor.QGraphicsVideoItem"></a>QGraphicsVideoItem::<span class="name">~QGraphicsVideoItem</span>()</h3>
<p>Destroys a video graphics item.</p>
<!-- @@@~QGraphicsVideoItem -->
<!-- $$$boundingRect[overload1]$$$boundingRect -->
<h3 class="fn"><a name="boundingRect"></a><span class="type">QRectF</span> QGraphicsVideoItem::<span class="name">boundingRect</span>() const</h3>
<!-- @@@boundingRect -->
<!-- $$$paint[overload1]$$$paintQPainter*constQStyleOptionGraphicsItem*QWidget* -->
<h3 class="fn"><a name="paint"></a><span class="type">void</span> QGraphicsVideoItem::<span class="name">paint</span>(<span class="type">QPainter</span> *<i> painter</i>, const <span class="type">QStyleOptionGraphicsItem</span> *<i> option</i>, <span class="type">QWidget</span> *<i> widget</i> = 0)</h3>
<!-- @@@paint -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2013 Digia Plc and/or its
subsidiaries. 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> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|