IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QCameraInfoControl Class

The QCameraInfoControl class provides a camera info media control.

This class was introduced in Qt 5.3.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QCameraInfoControl Class

  • Header: QCameraInfoControl

  • Since: Qt 5.3

  • qmake: QT += multimedia

  • Inherits: QMediaControl

  • Inherited By:

  • Group: QCameraInfoControl is part of multimedia_control

Detailed Description

The QCameraInfoControl class provides information about the camera devices available on the system.

The interface name of QCameraInfoControl is org.qt-project.qt.camerainfocontrol/5.3 as defined in QCameraInfoControl_iid.

Member Function Documentation

 

[explicit protected] QCameraInfoControl::QCameraInfoControl(QObject *parent = nullptr)

Constructs a camera info control with the given parent.

[virtual] QCameraInfoControl::~QCameraInfoControl()

Destroys a camera info control.

[pure virtual] int QCameraInfoControl::cameraOrientation(const QString &deviceName) const

Returns the physical orientation of the sensor for the camera named deviceName.

The value is the orientation angle (clockwise, in steps of 90 degrees) of the camera sensor in relation to the display in its natural orientation.

[pure virtual] QCamera::Position QCameraInfoControl::cameraPosition(const QString &deviceName) const

Returns the physical position of the camera named deviceName on the hardware system.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+