QCameraViewfinderSettingsControl2 Class

The QCameraViewfinderSettingsControl2 class provides access to the viewfinder settings of a camera media service. 更多...

头: #include <QCameraViewfinderSettingsControl2>
qmake: QT += multimedia
Since: Qt 5.5
继承: QMediaControl

公共函数

virtual ~QCameraViewfinderSettingsControl2 ()
virtual void setViewfinderSettings (const QCameraViewfinderSettings & settings ) = 0
virtual QList<QCameraViewfinderSettings> supportedViewfinderSettings () const = 0
virtual QCameraViewfinderSettings viewfinderSettings () const = 0

保护函数

QCameraViewfinderSettingsControl2 (QObject * parent = Q_NULLPTR)

QCameraViewfinderSettingsControl2_iid

额外继承成员

详细描述

The QCameraViewfinderSettingsControl2 class provides access to the viewfinder settings of a camera media service.

The functionality provided by this control is exposed to application code through the QCamera 类。

接口名称对于 QCameraViewfinderSettingsControl2 is org.qt-project.qt.cameraviewfindersettingscontrol2/5.5 作为定义在 QCameraViewfinderSettingsControl2_iid .

另请参阅 QMediaService::requestControl (), QCameraViewfinderSettings ,和 QCamera .

成员函数文档编制

[protected] QCameraViewfinderSettingsControl2:: QCameraViewfinderSettingsControl2 ( QObject * parent = Q_NULLPTR)

Constructs a camera viewfinder settings control object with parent .

[虚拟] QCameraViewfinderSettingsControl2:: ~QCameraViewfinderSettingsControl2 ()

Destroys the camera viewfinder settings control object.

[pure virtual] void QCameraViewfinderSettingsControl2:: setViewfinderSettings (const QCameraViewfinderSettings & settings )

Sets the camera viewfinder settings .

另请参阅 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.

另请参阅 setViewfinderSettings ().

宏文档编制

QCameraViewfinderSettingsControl2_iid

org.qt-project.qt.cameraviewfindersettingscontrol2/5.5

定义接口名为 QCameraViewfinderSettingsControl2 类。