Detailed Description
The QCameraViewfinderResolutionControl class provides an abstract class for controlling camera viewfinder parameters.
The interface name of QCameraViewfinderResolutionControl is org.qt-project.qt.cameraviewfinderresolutioncontrol/5.0 as defined in QCameraViewfinderResolutionControl_iid.
Member Function Documentation
QCameraViewfinderResolutionControl::QCameraViewfinderResolutionControl(QObject * parent = 0) [protected]
Constructs a camera viewfinder control object with parent.
QCameraViewfinderResolutionControl::~QCameraViewfinderResolutionControl()
Destroys the camera viewfinder control object.
bool QCameraViewfinderResolutionControl::setViewfinderResolution(const QSize & resolution) [pure virtual]
Set the resolution of the camera viewfinder stream to resolution.
Calling this while the camera is active may result in the camera being unloaded and reloaded. If video recording is in progress, this call may be ignored. If an unsupported resolution is specified the camera may fail to load, or the setting may be ignored.
Returns false if this setting cannot be applied at this time or if the resolution is invalid. Returns true if the setting will be applied (or attempted to be applied).
See also viewfinderResolution().
QSize QCameraViewfinderResolutionControl::viewfinderResolution() const [pure virtual]
Returns the current resolution of the camera viewfinder stream.
See also setViewfinderResolution().