QCameraFlashControl Class

The QCameraFlashControl class allows controlling a camera's flash. More...

Header: #include <QCameraFlashControl>
qmake: QT += multimedia
Inherits: QMediaControl

Public Functions

  • 30 public functions inherited from QObject

Protected Functions

QCameraFlashControl(QObject *parent = nullptr)
  • 9 protected functions inherited from QObject
typedef QObjectList
QList<T> qFindChildren(const QObject *obj, const QRegExp &regExp)
T qobject_cast(QObject *object)
T qobject_cast(const QObject *object)

Macros

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.