Skip to content
Snippets Groups Projects
qtmultimedia-multimediawidgets-videowidget-example.html 3.19 KiB
Newer Older
  • Learn to ignore specific revisions
  • <!DOCTYPE html>
    <html lang="en">
    <head>
      <meta charset="utf-8">
    <!-- videowidget.qdoc -->
      <title>Video Widget Example | Qt Multimedia 5.15.0</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">
            <ul>
    <li><a href="../qtdoc/index.html">Qt 5.15</a></li>
    <li><a href="qtmultimedia-index.html">Qt Multimedia</a></li>
    <li>Video Widget Example</li>
    <li id="buildversion"><a href="qtmultimedia-index.html">Qt 5.15.0 Reference Documentation</a></li>
        </ul>
        </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="#running-the-example">Running the Example</a></li>
    </ul>
    </div>
    <div class="sidebar-content" id="sidebar-content"></div></div>
    <h1 class="title">Video Widget Example</h1>
    <span class="subtitle"></span>
    <!-- $$$multimediawidgets/videowidget-brief -->
    <p>Implementing a video player widget.</p>
    <!-- @@@multimediawidgets/videowidget -->
    <!-- $$$multimediawidgets/videowidget-description -->
    <div class="descr"> <a name="details"></a>
    <p><i>Video Widget</i> demonstrates how to implement a video widget using <a href="qabstractvideosurface.html">QAbstractVideoSurface</a>.</p>
    <p class="centerAlign"><img src="images/video-videowidget.png" alt="" /></p><a name="running-the-example"></a>
    <h4 id="running-the-example">Running the Example</h4>
    <p>To run the example from <a href="http://doc.qt.io/qtcreator/index.html">Qt Creator</a>, open the <b>Welcome</b> mode and select the example from <b>Examples</b>. For more information, visit <a href="http://doc.qt.io/qtcreator/creator-build-example-application.html">Building and Running an Example</a>.</p>
    <p><a href="https://code.qt.io/cgit/qt/qtmultimedia.git/tree/examples/multimediawidgets/videowidget?h=5.15">Example project @ code.qt.io</a></p>
    </div>
    <!-- @@@multimediawidgets/videowidget -->
            </div>
           </div>
       </div>
       </div>
    </div>
    <div class="footer">
       <p>
       <acronym title="Copyright">&copy;</acronym> 2020 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>