QCameraViewfinderSettingsControl ClassThe QCameraViewfinderSettingsControl class provides an abstract class for controlling camera viewfinder parameters. More... #include <QCameraViewfinderSettingsControl> Inherits: QMediaControl. Public Types
Public Functions
Protected Functions
Macros
Additional Inherited Members
Detailed DescriptionThe QCameraViewfinderSettingsControl class provides an abstract class for controlling camera viewfinder parameters. The interface name of QCameraViewfinderSettingsControl is org.qt-project.qt.cameraviewfindersettingscontrol/5.0 as defined in QCameraViewfinderSettingsControl_iid. See also QMediaService::requestControl() and QCamera. Member Type Documentation
|
Constant | Value | Description |
---|---|---|
QCameraViewfinderSettingsControl::Resolution | 0 | Viewfinder resolution, QSize. |
QCameraViewfinderSettingsControl::PixelAspectRatio | 1 | Pixel aspect ratio, QSize as in QVideoSurfaceFormat::pixelAspectRatio |
QCameraViewfinderSettingsControl::MinimumFrameRate | 2 | Minimum viewfinder frame rate, qreal |
QCameraViewfinderSettingsControl::MaximumFrameRate | 3 | Maximum viewfinder frame rate, qreal |
QCameraViewfinderSettingsControl::PixelFormat | 4 | Viewfinder pixel format, QVideoFrame::PixelFormat |
QCameraViewfinderSettingsControl::UserParameter | 1000 | The base value for platform specific extended parameters. For such parameters the sequential values starting from UserParameter shuld be used. |
Constructs a camera viewfinder control object with parent.
Destroys the camera viewfinder control object.
Set the prefferred value of viewfinder parameter.
Calling this while the camera is active may result in the camera being stopped and reloaded. If video recording is in progress, this call may be ignored.
If an unsupported parameter is specified the camera may fail to load, or the setting may be ignored.
Viewfinder parameters may also depend on other camera settings, especially in video capture mode. If camera configuration conflicts with viewfinder settings, the camara configuration is usually preferred.
See also viewfinderParameter().
Returns the value of viewfinder parameter.
See also setViewfinderParameter().
org.qt-project.qt.cameraviewfinderresettingscontrol/5.0
Defines the interface name of the QCameraViewfinderSettingsControl class.