QVideoWindowControl Class ReferenceThe QVideoWindowControl class provides a media control for rendering video to a window. More... #include <QVideoWindowControl> This class is under development and is subject to change. Inherits QMediaControl. Public Functions
Signals
Protected Functions
Macros
Additional Inherited Members
Detailed DescriptionThe QVideoWindowControl class provides a media control for rendering video to a window. The winId() property QVideoWindowControl allows a platform specific window ID to be set as the video render target of a QMediaService. The displayRect() property is used to set the region of the window the video should be rendered to, and the aspectRatioMode() property indicates how the video should be scaled to fit the displayRect(). QVideoWindowControl *windowControl = mediaService->requestControl<QVideoWindowControl *>(); windowControl->setWinId(widget->winId()); windowControl->setDisplayRect(widget->rect()); windowControl->setAspectRatioMode(Qt::KeepAspectRatio); QVideoWindowControl is one of number of possible video output controls. The interface name of QVideoWindowControl is com.nokia.Qt.QVideoWindowControl/1.0 as defined in QVideoWindowControl_iid. See also QMediaService::requestControl() and QVideoWidget. Member Function Documentation
|
Publicité
Best OfActualités les plus luesSemaine
Mois
Année
![]()
![]() Le blog Digia au hasard![]() Créer des applications avec un style Metro avec Qt, exemples en QML et C++, un article de Digia Qt traduit par Thibaut CuvelierLe blog Digia est l'endroit privilégié pour la communication sur l'édition commerciale de Qt, où des réponses publiques sont apportées aux questions les plus posées au support. Lire l'article.
CommunautéRessources
Liens utilesContact
Qt dans le magazine |
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtmobility-1.0 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com