QCameraControl Class
The QCameraControl class is an abstract base class for classes that control still cameras or video cameras. More...
| Header: | #include <QCameraControl> |
| qmake: | QT += multimedia |
| Inherits: | QMediaControl |
Public Types
| enum | PropertyChangeType { CaptureMode, ImageEncodingSettings, VideoEncodingSettings, Viewfinder, ViewfinderSettings } |
Public Functions
| virtual | ~QCameraControl() |
- 30 public functions inherited from QObject
Protected Functions
| QCameraControl(QObject *parent = nullptr) |
- 9 protected functions inherited from QObject
Related Non-Members
| typedef | QObjectList |
| QList<T> | qFindChildren(const QObject *obj, const QRegExp ®Exp) |
| T | qobject_cast(QObject *object) |
| T | qobject_cast(const QObject *object) |
Macros
| QCameraControl_iid | |
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
| Q_CLASSINFO(Name, Value) | |
| Q_DISABLE_COPY(Class) | |
| Q_DISABLE_COPY_MOVE(Class) | |
| Q_DISABLE_MOVE(Class) | |
| Q_EMIT | |
| Q_ENUM(...) | |
| Q_ENUM_NS(...) | |
| Q_FLAG(...) | |
| Q_FLAG_NS(...) | |
| Q_GADGET | |
| Q_INTERFACES(...) | |
| Q_INVOKABLE | |
| Q_MEDIA_DECLARE_CONTROL(Class, IId) | |
| Q_NAMESPACE | |
| Q_OBJECT | |
| Q_PROPERTY(...) | |
| Q_REVISION | |
| Q_SET_OBJECT_NAME(Object) | |
| Q_SIGNAL | |
| Q_SIGNALS | |
| Q_SLOT | |
| Q_SLOTS |
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 2 signals inherited from QObject
- 9 static public members inherited from QObject
Detailed Description
This service is provided by a QMediaService object via QMediaService::control(). It is used by QCamera.
The interface name of QCameraControl is org.qt-project.qt.cameracontrol/5.0 as defined in QCameraControl_iid.
See also QMediaService::requestControl() and QCamera.
Member Type Documentation
enum QCameraControl::PropertyChangeType
| Constant | Value | Description |
|---|---|---|
QCameraControl::CaptureMode | 1 | Indicates the capture mode is changed. |
QCameraControl::ImageEncodingSettings | 2 | Image encoder settings are changed, including resolution. |
QCameraControl::VideoEncodingSettings | 3 | Video encoder settings are changed, including audio, video and container settings. |
QCameraControl::Viewfinder | 4 | Viewfinder is changed. |
QCameraControl::ViewfinderSettings | 5 | Viewfinder settings are changed. |
Member Function Documentation
[protected] QCameraControl::QCameraControl(QObject *parent = nullptr)
Constructs a camera control object with parent.
[virtual] QCameraControl::~QCameraControl()
Destruct the camera control object.
Macro Documentation
QCameraControl::QCameraControl_iid
org.qt-project.qt.cameracontrol/5.0
Defines the interface name of the QCameraControl class.