diff options
Diffstat (limited to 'src/multimedia/camera/qcameradevice.cpp')
-rw-r--r-- | src/multimedia/camera/qcameradevice.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/multimedia/camera/qcameradevice.cpp b/src/multimedia/camera/qcameradevice.cpp index e95b41ce2..435e62f70 100644 --- a/src/multimedia/camera/qcameradevice.cpp +++ b/src/multimedia/camera/qcameradevice.cpp @@ -89,6 +89,8 @@ QCameraFormat::~QCameraFormat() = default; */ /*! + \property QCameraFormat::pixelFormat + Returns the pixel format. Most commonly this is either QVideoFrameFormat::Format_Jpeg or QVideoFrameFormat::Format_YUVY @@ -108,6 +110,8 @@ QVideoFrameFormat::PixelFormat QCameraFormat::pixelFormat() const noexcept */ /*! + \property QCameraFormat::resolution + Returns the resolution. */ QSize QCameraFormat::resolution() const noexcept @@ -122,6 +126,8 @@ QSize QCameraFormat::resolution() const noexcept */ /*! + \property QCameraFormat::minFrameRate + Returns the lowest frame rate defined by this format. */ float QCameraFormat::minFrameRate() const noexcept @@ -139,6 +145,8 @@ float QCameraFormat::minFrameRate() const noexcept */ /*! + \property QCameraFormat::maxFrameRate + Returns the highest frame rate defined by this format. In 6.2, the camera will always try to use the highest frame rate supported by a @@ -286,6 +294,8 @@ bool QCameraDevice::isNull() const */ /*! + \property QCameraDevice::id + Returns the device id of the camera This is a unique ID to identify the camera and may not be human-readable. @@ -302,6 +312,8 @@ QByteArray QCameraDevice::id() const */ /*! + \property QCameraDevice::isDefault + Returns true if this is the default camera device. */ bool QCameraDevice::isDefault() const @@ -318,6 +330,8 @@ bool QCameraDevice::isDefault() const */ /*! + \property QCameraDevice::description + Returns the human-readable description of the camera. Use this string to present the device to the user. @@ -356,6 +370,8 @@ QString QCameraDevice::description() const */ /*! + \property QCameraDevice::position + Returns the physical position of the camera on the hardware system. */ QCameraDevice::Position QCameraDevice::position() const @@ -381,6 +397,8 @@ QList<QSize> QCameraDevice::photoResolutions() const */ /*! + \property QCameraDevice::videoFormats + Returns the video formats supported by the camera. */ QList<QCameraFormat> QCameraDevice::videoFormats() const |