QCameraInfoControl Class
The QCameraInfoControl class provides a camera info media control. 更多...
头文件: | #include <QCameraInfoControl> |
qmake: | QT += multimedia |
开始支持版本: | Qt 5.3 |
基类: | QMediaControl |
公有函数
virtual | ~QCameraInfoControl() |
virtual int | cameraOrientation(const QString &deviceName) const = 0 |
virtual QCamera::Position | cameraPosition(const QString &deviceName) const = 0 |
- 32 个公有函数继承自 QObject
受保护的函数
QCameraInfoControl(QObject *parent = Q_NULLPTR) |
- 9 个受保护的函数继承自 QObject
其他继承的成员
- 1 个属性继承自 QObject
- 1 个公有槽函数继承自 QObject
- 2 个信号继承自 QObject
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
The QCameraInfoControl class provides a camera info media control.
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.
成员函数
[protected]
QCameraInfoControl::QCameraInfoControl(QObject *parent = Q_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.