QCameraViewfinderSettingsControl2 Class
The QCameraViewfinderSettingsControl2 class provides access to the viewfinder settings of a camera media service. More...
| Header: | #include <QCameraViewfinderSettingsControl2> |
| qmake: | QT += multimedia |
| Since: | Qt 5.5 |
| Inherits: | QMediaControl |
This class was introduced in Qt 5.5.
Public Functions
| virtual | ~QCameraViewfinderSettingsControl2() |
| virtual void | setViewfinderSettings(const QCameraViewfinderSettings &settings) = 0 |
| virtual QList<QCameraViewfinderSettings> | supportedViewfinderSettings() const = 0 |
| virtual QCameraViewfinderSettings | viewfinderSettings() const = 0 |
- 30 public functions inherited from QObject
Protected Functions
| QCameraViewfinderSettingsControl2(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
| QCameraViewfinderSettingsControl2_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
The functionality provided by this control is exposed to application code through the QCamera class.
The interface name of QCameraViewfinderSettingsControl2 is org.qt-project.qt.cameraviewfindersettingscontrol2/5.5 as defined in QCameraViewfinderSettingsControl2_iid.
See also QMediaService::requestControl(), QCameraViewfinderSettings, and QCamera.
Member Function Documentation
[protected] QCameraViewfinderSettingsControl2::QCameraViewfinderSettingsControl2(QObject *parent = nullptr)
Constructs a camera viewfinder settings control object with parent.
[virtual] QCameraViewfinderSettingsControl2::~QCameraViewfinderSettingsControl2()
Destroys the camera viewfinder settings control object.
[pure virtual] void QCameraViewfinderSettingsControl2::setViewfinderSettings(const QCameraViewfinderSettings &settings)
Sets the camera viewfinder settings.
See also viewfinderSettings().
[pure virtual] QList<QCameraViewfinderSettings> QCameraViewfinderSettingsControl2::supportedViewfinderSettings() const
Returns a list of supported camera viewfinder settings.
The list is ordered by preference; preferred settings come first.
[pure virtual] QCameraViewfinderSettings QCameraViewfinderSettingsControl2::viewfinderSettings() const
Returns the viewfinder settings.
If undefined or unsupported values are passed to QCameraViewfinderSettingsControl2::setViewfinderSettings(), this function returns the actual settings used by the camera viewfinder. These may be available only once the camera is active.
See also setViewfinderSettings().
Macro Documentation
QCameraViewfinderSettingsControl2::QCameraViewfinderSettingsControl2_iid
org.qt-project.qt.cameraviewfindersettingscontrol2/5.5
Defines the interface name of the QCameraViewfinderSettingsControl2 class.