QCameraFlashControl Class
The QCameraFlashControl class allows controlling a camera's flash. More...
| Header: | #include <QCameraFlashControl> |
| qmake: | QT += multimedia |
| Inherits: | QMediaControl |
Public Functions
| virtual | ~QCameraFlashControl() |
- 30 public functions inherited from QObject
Protected Functions
| QCameraFlashControl(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
| QCameraFlashControl_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
You can set the type of flash effect used when an image is captured, and test to see if the flash hardware is ready to fire.
You can retrieve this control from the camera object in the usual way:
Some camera devices may not have flash hardware, or may not be configurable. In that case, there will be no QCameraFlashControl available.
The interface name of QCameraFlashControl is org.qt-project.qt.cameraflashcontrol/5.0 as defined in QCameraFlashControl_iid.
See also QCamera.
Member Function Documentation
[protected] QCameraFlashControl::QCameraFlashControl(QObject *parent = nullptr)
Constructs a camera flash control object with parent.
[virtual] QCameraFlashControl::~QCameraFlashControl()
Destroys the camera control object.
Macro Documentation
QCameraFlashControl::QCameraFlashControl_iid
org.qt-project.qt.cameraflashcontrol/5.0
Defines the interface name of the QCameraFlashControl class.