Doc: Added an index page and separated \qmlproperty and \property documentation

Change-Id: I29bcfd0a31c781deb4cce2d6bcb2afca32191ae6
Reviewed-by: Geir Vattekar <geir.vattekar@nokia.com>
Reviewed-by: Martin Smith <martin.smith@nokia.com>
This commit is contained in:
Venugopal Shivashankar
2012-08-02 11:17:05 +02:00
committed by Qt by Nokia
parent 8a3706a5a1
commit a4c23ac607
13 changed files with 457 additions and 212 deletions

View File

@@ -1,45 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:FDL$
** GNU Free Documentation License
** Alternatively, this file may be used under the terms of the GNU Free
** Documentation License version 1.3 as published by the Free Software
** Foundation and appearing in the file included in the packaging of
** this file.
**
** Other Usage
** Alternatively, this file may be used in accordance with the terms
** and conditions contained in a signed written agreement between you
** and Nokia.
**
**
**
**
**
** $QT_END_LICENSE$
**
****************************************************************************/
/*!
\module QtMultimedia
\title QtMultimedia Module
\ingroup modules
\brief The QtMultimedia module provides audio, video, radio and camera functionality.
To include the definitions of the module's classes, use the
following directive:
\snippet doc/src/snippets/code/doc_src_qtmultimedia.cpp 1
To link against the module, add this line to your \l qmake \c
.pro file:
\snippet doc/src/snippets/code/doc_src_qtmultimedia.pro 0
*/

View File

@@ -225,7 +225,7 @@ QDeclarativeCamera::Error QDeclarativeCamera::errorCode() const
/*! /*!
\qmlproperty string QtMultimedia5::Camera::errorString \qmlproperty string QtMultimedia5::Camera::errorString
A description of the current error, if any. This property holds the last error string, if any.
\sa QtMultimedia5::Camera::onError \sa QtMultimedia5::Camera::onError
*/ */
@@ -237,24 +237,22 @@ QString QDeclarativeCamera::errorString() const
/*! /*!
\qmlproperty enumeration QtMultimedia5::Camera::availability \qmlproperty enumeration QtMultimedia5::Camera::availability
Returns the availability state of the camera. This property holds the availability state of the camera.
This is one of: The availability states can be one of the following:
\table \table
\header \li Value \li Description \header \li Value \li Description
\row \li Available \row \li Available
\li The camera is available to use \li The camera is available to use
\row \li Busy \row \li Busy
\li The camera is usually available to use, but is currently busy. \li The camera is busy at the moment as it is being used by another process.
This can happen when some other process needs to use the camera
hardware.
\row \li Unavailable \row \li Unavailable
\li The camera is not available to use (there may be no camera \li The camera is not available to use (there may be no camera
hardware) hardware)
\row \li ResourceMissing \row \li ResourceMissing
\li There is one or more resources missing, so the camera cannot \li The camera cannot be used because of missing resources.
be used. It may be possible to try again at a later time. It may be possible to try again at a later time.
\endtable \endtable
*/ */
QDeclarativeCamera::Availability QDeclarativeCamera::availability() const QDeclarativeCamera::Availability QDeclarativeCamera::availability() const
@@ -266,6 +264,9 @@ QDeclarativeCamera::Availability QDeclarativeCamera::availability() const
/*! /*!
\qmlproperty enumeration QtMultimedia5::Camera::captureMode \qmlproperty enumeration QtMultimedia5::Camera::captureMode
This property holds the camera capture mode, which can be one of the
following:
\table \table
\header \li Value \li Description \header \li Value \li Description
\row \li CaptureViewfinder \row \li CaptureViewfinder
@@ -294,7 +295,7 @@ void QDeclarativeCamera::setCaptureMode(QDeclarativeCamera::CaptureMode mode)
/*! /*!
\qmlproperty enumeration QtMultimedia5::Camera::cameraState \qmlproperty enumeration QtMultimedia5::Camera::cameraState
The current state of the camera object. This property holds the camera object's current state, which can be one of the following:
\table \table
\header \li Value \li Description \header \li Value \li Description
@@ -331,7 +332,7 @@ QDeclarativeCamera::State QDeclarativeCamera::cameraState() const
/*! /*!
\qmlproperty enumeration QtMultimedia5::Camera::cameraStatus \qmlproperty enumeration QtMultimedia5::Camera::cameraStatus
The current status of the camera instance. This property holds the camera object's current status, which can be one of the following:
\table \table
\header \li Value \li Description \header \li Value \li Description
@@ -339,17 +340,17 @@ QDeclarativeCamera::State QDeclarativeCamera::cameraState() const
\li The camera has been started and can produce data, \li The camera has been started and can produce data,
viewfinder displays video frames. viewfinder displays video frames.
Depending on backend, changing some camera settings like Depending on backend, changing camera settings such as
capture mode, codecs or resolution in ActiveState may lead capture mode, codecs, or resolution in ActiveState may lead
to changing the camera status to LoadedStatus and StartingStatus while to changing the status to LoadedStatus and StartingStatus while
the settings are applied and back to ActiveStatus when the camera is ready. the settings are applied, and back to ActiveStatus when the camera is ready.
\row \li StartingStatus \row \li StartingStatus
\li The camera is starting in result of state transition to Camera.ActiveState. \li The camera is starting as a result of state transition to Camera.ActiveState.
The camera service is not ready to capture yet. The camera service is not ready to capture yet.
\row \li StoppingStatus \row \li StoppingStatus
\li The camera is stopping in result of state transition from Camera.ActiveState \li The camera is stopping as a result of state transition from Camera.ActiveState
to Camera.LoadedState or Camera.UnloadedState. to Camera.LoadedState or Camera.UnloadedState.
\row \li StandbyStatus \row \li StandbyStatus
@@ -360,15 +361,15 @@ QDeclarativeCamera::State QDeclarativeCamera::cameraState() const
\row \li LoadedStatus \row \li LoadedStatus
\li The camera is loaded and ready to be configured. \li The camera is loaded and ready to be configured.
This status indicates the camera device is opened and This status indicates the camera device is opened and
it's possible to query for supported image and video capture settings, it's possible to query for supported image and video capture settings
like resolution, framerate and codecs. such as resolution, frame rate, and codecs.
\row \li LoadingStatus \row \li LoadingStatus
\li The camera device loading in result of state transition from \li The camera device loading as a result of state transition from
Camera.UnloadedState to Camera.LoadedState or Camera.ActiveState. Camera.UnloadedState to Camera.LoadedState or Camera.ActiveState.
\row \li UnloadingStatus \row \li UnloadingStatus
\li The camera device is unloading in result of state transition from \li The camera device is unloading as a result of state transition from
Camera.LoadedState or Camera.ActiveState to Camera.UnloadedState. Camera.LoadedState or Camera.ActiveState to Camera.UnloadedState.
\row \li UnloadedStatus \row \li UnloadedStatus
@@ -432,25 +433,27 @@ void QDeclarativeCamera::stop()
/*! /*!
\qmlproperty enumeration QtMultimedia5::Camera::lockStatus \qmlproperty enumeration QtMultimedia5::Camera::lockStatus
The overall status for all the requested camera locks. This property holds the status of all the requested camera locks.
The status can be one of the following values:
\table \table
\header \li Value \li Description \header \li Value \li Description
\row \li Unlocked \row \li Unlocked
\li The application is not interested in camera settings value. \li The application is not interested in camera settings value.
The camera may keep this parameter without changes, this is common with camera focus, The camera may keep this parameter without changes, which is common with camera focus,
or adjust exposure and white balance constantly to keep the viewfinder image nice. or adjust exposure and white balance constantly to keep the viewfinder image nice.
\row \li Searching \row \li Searching
\li The application has requested the camera focus, exposure or white balance lock with \li The application has requested the camera focus, exposure, or white balance lock with
searchAndLock(). This state indicates the camera is focusing or calculating exposure and white balance. searchAndLock(). This state indicates the camera is focusing or calculating exposure and white balance.
\row \li Locked \row \li Locked
\li The camera focus, exposure or white balance is locked. \li The camera focus, exposure, or white balance is locked.
The camera is ready to capture, application may check the exposure parameters. The camera is ready to capture, and the application may check the exposure parameters.
The locked state usually means the requested parameter stays the same, The locked state usually means the requested parameter stays the same,
except in the cases when the parameter is requested to be constantly updated. except in cases where the parameter is requested to be updated constantly.
For example in continuous focusing mode, the focus is considered locked as long For example in continuous focusing mode, the focus is considered locked as long
as the object is in focus, even while the actual focusing distance may be constantly changing. as the object is in focus, even while the actual focusing distance may be constantly changing.
\endtable \endtable
@@ -458,7 +461,9 @@ void QDeclarativeCamera::stop()
/*! /*!
\property QDeclarativeCamera::lockStatus \property QDeclarativeCamera::lockStatus
The overall status for all the requested camera locks. This property holds the status of all the requested camera locks.
The status can be one of the following:
\table \table
\header \li Value \li Description \header \li Value \li Description
@@ -473,10 +478,10 @@ void QDeclarativeCamera::stop()
\row \li Locked \row \li Locked
\li The camera focus, exposure or white balance is locked. \li The camera focus, exposure or white balance is locked.
The camera is ready to capture, application may check the exposure parameters. The camera is ready to capture, and the application may check the exposure parameters.
The locked state usually means the requested parameter stays the same, The locked state usually means the requested parameter stays the same,
except in the cases when the parameter is requested to be constantly updated. except in the cases when the parameter is requested to be updated constantly.
For example in continuous focusing mode, the focus is considered locked as long For example in continuous focusing mode, the focus is considered locked as long
and the object is in focus, even while the actual focusing distance may be constantly changing. and the object is in focus, even while the actual focusing distance may be constantly changing.
\endtable \endtable
@@ -510,34 +515,44 @@ void QDeclarativeCamera::unlock()
{ {
m_camera->unlock(); m_camera->unlock();
} }
/*! /*!
\qmlproperty real QtMultimedia5::Camera::maximumOpticalZoom
\property QDeclarativeCamera::maximumOpticalZoom \property QDeclarativeCamera::maximumOpticalZoom
The maximum optical zoom factor, or 1.0 if optical zoom is not supported. This property holds the maximum optical zoom factor supported, or 1.0 if optical zoom is not supported.
*/
/*!
\qmlproperty real QtMultimedia5::Camera::maximumOpticalZoom
This property holds the maximum optical zoom factor supported, or 1.0 if optical zoom is not supported.
*/ */
qreal QDeclarativeCamera::maximumOpticalZoom() const qreal QDeclarativeCamera::maximumOpticalZoom() const
{ {
return m_camera->focus()->maximumOpticalZoom(); return m_camera->focus()->maximumOpticalZoom();
} }
/*! /*!
\qmlproperty real QtMultimedia5::Camera::maximumDigitalZoom
\property QDeclarativeCamera::maximumDigitalZoom \property QDeclarativeCamera::maximumDigitalZoom
The maximum digital zoom factor, or 1.0 if digital zoom is not supported. This property holds the maximum digital zoom factor supported, or 1.0 if digital zoom is not supported.
*/
/*!
\qmlproperty real QtMultimedia5::Camera::maximumDigitalZoom
This property holds the maximum digital zoom factor supported, or 1.0 if digital zoom is not supported.
*/ */
qreal QDeclarativeCamera::maximumDigitalZoom() const qreal QDeclarativeCamera::maximumDigitalZoom() const
{ {
return m_camera->focus()->maximumDigitalZoom(); return m_camera->focus()->maximumDigitalZoom();
} }
/*!
\property QDeclarativeCamera::opticalZoom
This property holds the current optical zoom factor.
*/
/*! /*!
\qmlproperty real QtMultimedia5::Camera::opticalZoom \qmlproperty real QtMultimedia5::Camera::opticalZoom
\property QDeclarativeCamera::opticalZoom
The current optical zoom factor. This property holds the current optical zoom factor.
*/ */
qreal QDeclarativeCamera::opticalZoom() const qreal QDeclarativeCamera::opticalZoom() const
{ {
@@ -548,12 +563,15 @@ void QDeclarativeCamera::setOpticalZoom(qreal value)
{ {
m_camera->focus()->zoomTo(value, digitalZoom()); m_camera->focus()->zoomTo(value, digitalZoom());
} }
/*! /*!
\qmlproperty real QtMultimedia5::Camera::digitalZoom
\property QDeclarativeCamera::digitalZoom \property QDeclarativeCamera::digitalZoom
The current digital zoom factor. This property holds the current digital zoom factor.
*/
/*!
\qmlproperty real QtMultimedia5::Camera::digitalZoom
This property holds the current digital zoom factor.
*/ */
qreal QDeclarativeCamera::digitalZoom() const qreal QDeclarativeCamera::digitalZoom() const
{ {
@@ -568,13 +586,13 @@ void QDeclarativeCamera::setDigitalZoom(qreal value)
/*! /*!
\qmlproperty variant QtMultimedia5::Camera::mediaObject \qmlproperty variant QtMultimedia5::Camera::mediaObject
The media object for the Camera. This property holds the media object for the camera.
*/ */
/*! /*!
\qmlproperty enumeration QtMultimedia5::Camera::errorCode \qmlproperty enumeration QtMultimedia5::Camera::errorCode
Error state of the camera. This property holds the last error code.
\sa QtMultimedia5::Camera::onError \sa QtMultimedia5::Camera::onError
*/ */
@@ -582,8 +600,9 @@ void QDeclarativeCamera::setDigitalZoom(qreal value)
/*! /*!
\qmlsignal QtMultimedia5::Camera::onError(errorCode, errorString) \qmlsignal QtMultimedia5::Camera::onError(errorCode, errorString)
This handler is called when an error occurs. The enumeration value \a errorCode is one of the This handler is called when an error occurs. The enumeration value
values defined below, and a descriptive string value is available in \a errorString. \a errorCode is one of the values defined below, and a descriptive string
value is available in \a errorString.
\table \table
\header \li Value \li Description \header \li Value \li Description

View File

@@ -126,16 +126,27 @@ QDeclarativeCameraCapture::~QDeclarativeCameraCapture()
} }
/*! /*!
\qmlproperty bool QtMultimedia5::CameraCapture::ready
\property QDeclarativeCameraCapture::ready \property QDeclarativeCameraCapture::ready
Indicates camera is ready to capture photo. This property holds a bool value indicating whether the camera
is ready to capture photos or not.
If camera is not ready to capture image immediately,
the capture request is queued with all the related camera settings,
and the request will be executed as soon as possible.
*/
/*!
\qmlproperty bool QtMultimedia5::CameraCapture::ready
This property holds a bool value indicating whether the camera
is ready to capture photos or not.
It's permissible to call capture() while the camera is active It's permissible to call capture() while the camera is active
regardless of the \e ready property value. regardless of the \e ready property value.
If camera is not ready to capture image immediately, If camera is not ready to capture image immediately,
the capture request is queued with all the related camera settings the capture request is queued with all the related camera settings,
to be executed as soon as possible. and the request will be executed as soon as possible.
*/ */
bool QDeclarativeCameraCapture::isReadyForCapture() const bool QDeclarativeCameraCapture::isReadyForCapture() const
{ {
@@ -194,12 +205,15 @@ void QDeclarativeCameraCapture::cancelCapture()
{ {
m_capture->cancelCapture(); m_capture->cancelCapture();
} }
/*! /*!
\qmlproperty string QtMultimedia5::CameraCapture::capturedImagePath
\property QDeclarativeCameraCapture::capturedImagePath \property QDeclarativeCameraCapture::capturedImagePath
The path to the last captured image. This property holds the location of the last captured image.
*/
/*!
\qmlproperty string QtMultimedia5::CameraCapture::capturedImagePath
This property holds the location of the last captured image.
*/ */
QString QDeclarativeCameraCapture::capturedImagePath() const QString QDeclarativeCameraCapture::capturedImagePath() const
{ {
@@ -232,13 +246,18 @@ void QDeclarativeCameraCapture::_q_captureFailed(int id, QCameraImageCapture::Er
qWarning() << "QCameraImageCapture error:" << message; qWarning() << "QCameraImageCapture error:" << message;
emit captureFailed(id, message); emit captureFailed(id, message);
} }
/*!
\property QDeclarativeCameraCapture::resolution
This property holds the resolution/size of the image to be captured.
If empty, the system chooses the appropriate resolution.
*/
/*! /*!
\qmlproperty size QtMultimedia5::CameraCapture::resolution \qmlproperty size QtMultimedia5::CameraCapture::resolution
\property QDeclarativeCameraCapture::resolution
The resolution to capture the image at. If empty, the system will pick This property holds the resolution/size of the image to be captured.
a good size. If empty, the system chooses the appropriate resolution.
*/ */
QSize QDeclarativeCameraCapture::resolution() QSize QDeclarativeCameraCapture::resolution()
@@ -259,13 +278,16 @@ QCameraImageCapture::Error QDeclarativeCameraCapture::error() const
{ {
return m_capture->error(); return m_capture->error();
} }
/*!
\property QDeclarativeCameraCapture::errorString
This property holds the error message related to the last capture.
*/
/*! /*!
\qmlproperty string QtMultimedia5::CameraCapture::errorString \qmlproperty string QtMultimedia5::CameraCapture::errorString
\property QDeclarativeCameraCapture::errorString
The last capture related error message. This property holds the error message related to the last capture.
*/ */
QString QDeclarativeCameraCapture::errorString() const QString QDeclarativeCameraCapture::errorString() const
{ {

View File

@@ -118,12 +118,15 @@ QDeclarativeCameraExposure::QDeclarativeCameraExposure(QCamera *camera, QObject
QDeclarativeCameraExposure::~QDeclarativeCameraExposure() QDeclarativeCameraExposure::~QDeclarativeCameraExposure()
{ {
} }
/*! /*!
\qmlproperty real QtMultimedia5::CameraExposure::exposureCompensation
\property QDeclarativeCameraExposure::exposureCompensation \property QDeclarativeCameraExposure::exposureCompensation
Adjustment for the automatically calculated exposure. The value is This property holds the adjustment value for the automatically calculated exposure. The value is in EV units.
*/
/*!
\qmlproperty real QtMultimedia5::CameraExposure::exposureCompensation
This property holds the adjustment value for the automatically calculated exposure. The value is
in EV units. in EV units.
*/ */
qreal QDeclarativeCameraExposure::exposureCompensation() const qreal QDeclarativeCameraExposure::exposureCompensation() const
@@ -135,24 +138,33 @@ void QDeclarativeCameraExposure::setExposureCompensation(qreal ev)
{ {
m_exposure->setExposureCompensation(ev); m_exposure->setExposureCompensation(ev);
} }
/*! /*!
\qmlproperty integer QtMultimedia5::CameraExposure::iso
\property QDeclarativeCameraExposure::iso \property QDeclarativeCameraExposure::iso
The sensor's ISO sensitivity. This property holds the sensor's ISO sensitivity value.
*/
/*!
\qmlproperty int QtMultimedia5::CameraExposure::iso
This property holds the sensor's ISO sensitivity value.
*/ */
int QDeclarativeCameraExposure::isoSensitivity() const int QDeclarativeCameraExposure::isoSensitivity() const
{ {
return m_exposure->isoSensitivity(); return m_exposure->isoSensitivity();
} }
/*! /*!
\qmlproperty real QtMultimedia5::CameraExposure::shutterSpeed
\property QDeclarativeCameraExposure::shutterSpeed \property QDeclarativeCameraExposure::shutterSpeed
The camera's current shutter speed setting, in seconds. To affect This property holds the camera's shutter speed value in seconds.
the shutter speed you can use the \l manualShutterSpeed To affect the shutter speed you can use the \l manualShutterSpeed
property and \l setAutoShutterSpeed().
*/
/*!
\qmlproperty real QtMultimedia5::CameraExposure::shutterSpeed
This property holds the camera's current shutter speed value in seconds.
To affect the shutter speed you can use the \l manualShutterSpeed
property and \l setAutoShutterSpeed(). property and \l setAutoShutterSpeed().
*/ */
@@ -160,12 +172,17 @@ qreal QDeclarativeCameraExposure::shutterSpeed() const
{ {
return m_exposure->shutterSpeed(); return m_exposure->shutterSpeed();
} }
/*! /*!
\qmlproperty real QtMultimedia5::CameraExposure::aperture
\property QDeclarativeCameraExposure::aperture \property QDeclarativeCameraExposure::aperture
The current lens aperture as an F number (the ratio of This property holds the current lens aperture as an F number (the ratio of the focal length to effective aperture diameter).
\sa manualAperture, setAutoAperture()
*/
/*!
\qmlproperty real QtMultimedia5::CameraExposure::aperture
This property holds the current lens aperture as an F number (the ratio of
the focal length to effective aperture diameter). the focal length to effective aperture diameter).
\sa manualAperture, setAutoAperture() \sa manualAperture, setAutoAperture()
@@ -174,13 +191,20 @@ qreal QDeclarativeCameraExposure::aperture() const
{ {
return m_exposure->aperture(); return m_exposure->aperture();
} }
/*!
\property QDeclarativeCameraExposure::manualIso
This property holds the ISO settings for capturing photos.
If the value is negative, the camera will
automatically determine an appropriate value.
\sa iso, setAutoIsoSensitivity()
*/
/*! /*!
\qmlproperty real QtMultimedia5::CameraExposure::manualIso \qmlproperty real QtMultimedia5::CameraExposure::manualIso
\property QReal QDeclarativeCameraExposure::manualIso
This property allows you to set a specific ISO setting This property holds the ISO settings for capturing photos.
for image capturing.
If a negative value is specified, the camera will If a negative value is specified, the camera will
automatically determine an appropriate value. automatically determine an appropriate value.
@@ -203,15 +227,21 @@ void QDeclarativeCameraExposure::setManualIsoSensitivity(int iso)
emit manualIsoSensitivityChanged(iso); emit manualIsoSensitivityChanged(iso);
} }
/*! /*!
\qmlproperty real QtMultimedia5::CameraExposure::manualShutterSpeed
\property QDeclarativeCameraExposure::manualShutterSpeed \property QDeclarativeCameraExposure::manualShutterSpeed
This property allows you to set the shutter speed to This property holds the shutter speed value (in seconds).
use during capture (in seconds). If the value is less than zero, If the value is less than zero, the camera automatically
then an automatic value is used and the camera will determines an appropriate shutter speed.
determine an appropriate shutter speed.
\l shutterSpeed, setAutoShutterSpeed()
*/
/*!
\qmlproperty real QtMultimedia5::CameraExposure::manualShutterSpeed
This property holds the shutter speed value (in seconds).
If the value is less than zero, the camera automatically
determines an appropriate shutter speed.
\l shutterSpeed, setAutoShutterSpeed() \l shutterSpeed, setAutoShutterSpeed()
*/ */
@@ -230,15 +260,25 @@ void QDeclarativeCameraExposure::setManualShutterSpeed(qreal speed)
emit manualShutterSpeedChanged(speed); emit manualShutterSpeedChanged(speed);
} }
/*! /*!
\qmlproperty real QtMultimedia5::CameraExposure::manualAperture
\property QDeclarativeCameraExposure::manualAperture \property QDeclarativeCameraExposure::manualAperture
This property allows you to set the aperture (F number) This property holds aperture (F number) value
setting to use during capture. If the value is less than zero, for capturing photos.
then an automatic value is used and the camera will
determine an appropriate aperture value. If the value is less than zero,
the camera automatically determines an appropriate aperture value.
\l aperture, setAutoAperture()
*/
/*!
\qmlproperty real QtMultimedia5::CameraExposure::manualAperture
This property holds the aperture (F number) value
for capturing photos.
If the value is less than zero, the camera automatically
determines an appropriate aperture value.
\l aperture, setAutoAperture() \l aperture, setAutoAperture()
*/ */
@@ -284,12 +324,18 @@ void QDeclarativeCameraExposure::setAutoIsoSensitivity()
{ {
setManualIsoSensitivity(-1); setManualIsoSensitivity(-1);
} }
/*!
\property QDeclarativeCameraExposure::exposureMode
This property holds the camera exposure mode. The mode can one of the values in \l QCameraExposure::ExposureMode.
*/
/*! /*!
\qmlproperty enumeration QtMultimedia5::CameraExposure::exposureMode \qmlproperty enumeration QtMultimedia5::CameraExposure::exposureMode
\property QDeclarativeCameraExposure::exposureMode \property QDeclarativeCameraExposure::exposureMode
Set the camera exposure mode to one of the following: This property holds the camera exposure mode.
The mode can be one of the following:
\table \table
\header \li Value \li Description \header \li Value \li Description
@@ -320,13 +366,18 @@ void QDeclarativeCameraExposure::setExposureMode(QDeclarativeCamera::ExposureMod
emit exposureModeChanged(exposureMode()); emit exposureModeChanged(exposureMode());
} }
} }
/*! /*!
\qmlproperty QPointF QtMultimedia5::CameraExposure::spotMeteringPoint
\property QDeclarativeCameraExposure::spotMeteringPoint \property QDeclarativeCameraExposure::spotMeteringPoint
The relative frame coordinates of the point to use for exposure metering. This property holds the relative frame coordinates of the point to use
This point is only used in spot metering mode, and typically defaults for exposure metering. This point is only used in spot metering mode, and it
typically defaults to the center \c (0.5, 0.5).
*/
/*!
\qmlproperty QPointF QtMultimedia5::CameraExposure::spotMeteringPoint
The property holds the frame coordinates of the point to use for exposure metering.
This point is only used in spot metering mode, and it typically defaults
to the center \c (0.5, 0.5). to the center \c (0.5, 0.5).
*/ */
@@ -343,13 +394,19 @@ void QDeclarativeCameraExposure::setSpotMeteringPoint(const QPointF &point)
if (oldPoint != spotMeteringPoint()) if (oldPoint != spotMeteringPoint())
emit spotMeteringPointChanged(spotMeteringPoint()); emit spotMeteringPointChanged(spotMeteringPoint());
} }
/*!
\property QDeclarativeCameraExposure::meteringMode
This property holds the camera metering mode (how exposure is balanced).
The mode can be one of the constants in \l QCameraExposure::MeteringMode.
*/
/*! /*!
\qmlproperty enumeration QtMultimedia5::CameraExposure::meteringMode \qmlproperty enumeration QtMultimedia5::CameraExposure::meteringMode
\property QDeclarativeCameraExposure::meteringMode \property QDeclarativeCameraExposure::meteringMode
Set the camera metering mode (how exposure is balanced) This property holds the camera metering mode (how exposure is balanced).
to one of the following:
The mode can be one of the following:
\table \table
\header \li Value \li Description \header \li Value \li Description

View File

@@ -89,22 +89,31 @@ QDeclarativeCameraFlash::QDeclarativeCameraFlash(QCamera *camera, QObject *paren
QDeclarativeCameraFlash::~QDeclarativeCameraFlash() QDeclarativeCameraFlash::~QDeclarativeCameraFlash()
{ {
} }
/*! /*!
\qmlproperty bool QtMultimedia5::CameraFlash::ready
\property bool QDeclarativeCameraFlash::ready \property bool QDeclarativeCameraFlash::ready
Indicates flash is charged. This property indicates whether the flash is charged.
*/
/*!
\qmlproperty bool QtMultimedia5::CameraFlash::ready
This property indicates whether the flash is charged.
*/ */
bool QDeclarativeCameraFlash::isFlashReady() const bool QDeclarativeCameraFlash::isFlashReady() const
{ {
return m_exposure->isFlashReady(); return m_exposure->isFlashReady();
} }
/*!
\property QDeclarativeCameraFlash::mode
This property holds the camera flash mode. The mode can be one of the constants in \l QCameraExposure::FlashMode.
*/
/*! /*!
\qmlproperty enumeration QtMultimedia5::CameraFlash::mode \qmlproperty enumeration QtMultimedia5::CameraFlash::mode
\property int QDeclarativeCameraFlash::mode
This property holds the camera flash mode.
The mode can be one of the following:
\table \table
\header \li Value \li Description \header \li Value \li Description
\row \li Camera.FlashOff \li Flash is Off. \row \li Camera.FlashOff \li Flash is Off.

View File

@@ -112,13 +112,47 @@ QDeclarativeCameraFocus::QDeclarativeCameraFocus(QCamera *camera, QObject *paren
QDeclarativeCameraFocus::~QDeclarativeCameraFocus() QDeclarativeCameraFocus::~QDeclarativeCameraFocus()
{ {
} }
/*! /*!
\qmlproperty QtMultimedia5::Camera::FocusMode CameraFocus::focusMode
\property QDeclarativeCameraFocus::focusMode \property QDeclarativeCameraFocus::focusMode
The current camera focus mode. This property holds the current camera focus mode.
It's possible to combine multiple QCameraFocus::FocusMode enum values,
for example QCameraFocus::MacroFocus + QCameraFocus::ContinuousFocus.
In automatic focusing modes, the \l focusPointMode
and \l focusZones properties provide information and control
over how automatic focusing is performed.
*/
/*!
\qmlproperty enumeration CameraFocus::focusMode
This property holds the current camera focus mode, which can be one of the following values:
\table
\header
\li Value
\li Description
\row
\li FocusManual
\li Manual or fixed focus mode.
\row
\li FocusHyperfocal
\li Focus to hyperfocal distance, with the maximum depth of field achieved. All objects at distances from half of this distance out to infinity will be acceptably sharp.
\row
\li FocusInfinity
\li Focus strictly to infinity.
\row
\li FocusAuto
\li One-shot auto focus mode.
\row
\li FocusContinuous
\li Continuous auto focus mode.
\row
\li FocusMacro
\li One shot auto focus to objects close to camera.
\endtable
It's possible to combine multiple Camera::FocusMode values, It's possible to combine multiple Camera::FocusMode values,
for example Camera.FocusMacro + Camera.FocusContinuous. for example Camera.FocusMacro + Camera.FocusContinuous.
@@ -147,18 +181,43 @@ void QDeclarativeCameraFocus::setFocusMode(QDeclarativeCamera::FocusMode mode)
{ {
m_focus->setFocusMode(QCameraFocus::FocusModes(int(mode))); m_focus->setFocusMode(QCameraFocus::FocusModes(int(mode)));
} }
/*! /*!
\qmlproperty QtMultimedia5::CameraFocus::FocusPointMode CameraFocus::focusPointMode
\property QDeclarativeCameraFocus::focusPointMode \property QDeclarativeCameraFocus::focusPointMode
The current camera focus point mode. This is used in automatic This property holds the current camera focus point mode. It is used in
focusing modes to determine what to focus on. automatic focusing modes to determine what to focus on.
If the current focus point mode is \c Camera.FocusPointCustom, the If the current focus point mode is \l QCameraFocus::FocusPointCustom, the
\l customFocusPoint property allows you to specify which part of \l customFocusPoint property allows you to specify which part of
the frame to focus on. the frame to focus on.
*/ */
/*!
\qmlproperty enumeration CameraFocus::focusPointMode
This property holds the current camera focus point mode. It is used in automatic
focusing modes to determine what to focus on. If the current
focus point mode is \c Camera.FocusPointCustom, the \l customFocusPoint
property allows you to specify which part of the frame to focus on.
The property can take one of the following values:
\table
\header
\li Value
\li Description
\row
\li FocusPointAuto
\li Automatically select one or multiple focus points.
\row
\li FocusPointCenter
\li Focus to the frame center.
\row
\li FocusPointFaceDetection
\li Focus on faces in the frame.
\row
\li FocusPointCustom
\li Focus to the custom point, defined by the customFocusPoint property.
\endtable
*/
QDeclarativeCamera::FocusPointMode QDeclarativeCameraFocus::focusPointMode() const QDeclarativeCamera::FocusPointMode QDeclarativeCameraFocus::focusPointMode() const
{ {
return QDeclarativeCamera::FocusPointMode(m_focus->focusPointMode()); return QDeclarativeCamera::FocusPointMode(m_focus->focusPointMode());
@@ -182,12 +241,20 @@ bool QDeclarativeCameraFocus::isFocusPointModeSupported(QDeclarativeCamera::Focu
{ {
return m_focus->isFocusPointModeSupported(QCameraFocus::FocusPointMode(mode)); return m_focus->isFocusPointModeSupported(QCameraFocus::FocusPointMode(mode));
} }
/*! /*!
\qmlproperty QPointF QtMultimedia5::CameraFocus::customFocusPoint
\property QDeclarativeCameraFocus::customFocusPoint \property QDeclarativeCameraFocus::customFocusPoint
Position of custom focus point, in relative frame coordinates: This property holds the position of the custom focus point in relative
frame coordinates. For example, QPointF(0,0) pointing to the left top corner of the frame, and QPointF(0.5,0.5)
pointing to the center of the frame.
Custom focus point is used only in QCameraFocus::FocusPointCustom focus mode.
*/
/*!
\qmlproperty point QtMultimedia5::CameraFocus::customFocusPoint
This property holds the position of custom focus point, in relative frame coordinates:
QPointF(0,0) points to the left top frame point, QPointF(0.5,0.5) QPointF(0,0) points to the left top frame point, QPointF(0.5,0.5)
points to the frame center. points to the frame center.
@@ -206,13 +273,23 @@ void QDeclarativeCameraFocus::setCustomFocusPoint(const QPointF &point)
emit customFocusPointChanged(customFocusPoint()); emit customFocusPointChanged(customFocusPoint());
} }
} }
/*! /*!
\qmlproperty QPointF QtMultimedia5::CameraFocus::focusZones
\property QDeclarativeCameraFocus::focusZones \property QDeclarativeCameraFocus::focusZones
List of current camera focus zones, This property holds the list of current camera focus zones,
each including \c area specified in the same coordinates as \l customFocusPoint each including \c area specified in the same coordinates as \l customFocusPoint, and zone \c status as one of the following values:
\table
\header \li Value \li Description
\row \li QCameraFocusZone::Unused \li This focus point area is currently unused in autofocusing.
\row \li QCameraFocusZone::Selected \li This focus point area is used in autofocusing, but is not in focus.
\row \li QCameraFocusZone::Focused \li This focus point is used in autofocusing, and is in focus.
\endtable
*/
/*!
\qmlproperty list<focusZone> QtMultimedia5::CameraFocus::focusZones
This property holds the list of current camera focus zones,
each including \c area specified in the same coordinates as \l customFocusPoint,
and zone \c status as one of the following values: and zone \c status as one of the following values:
\table \table
@@ -222,7 +299,6 @@ void QDeclarativeCameraFocus::setCustomFocusPoint(const QPointF &point)
\row \li Camera.FocusAreaFocused \li This focus point is used in autofocusing, and is in focus. \row \li Camera.FocusAreaFocused \li This focus point is used in autofocusing, and is in focus.
\endtable \endtable
\qml \qml
VideoOutput { VideoOutput {

View File

@@ -101,8 +101,7 @@ QDeclarativeCameraRecorder::~QDeclarativeCameraRecorder()
/*! /*!
\qmlproperty size QtMultimedia5::CameraRecorder::resolution \qmlproperty size QtMultimedia5::CameraRecorder::resolution
The video frame dimensions to use when capturing This property holds the video frame dimensions to be used for video capture.
video.
*/ */
QSize QDeclarativeCameraRecorder::captureResolution() QSize QDeclarativeCameraRecorder::captureResolution()
{ {
@@ -112,8 +111,8 @@ QSize QDeclarativeCameraRecorder::captureResolution()
/*! /*!
\qmlproperty string QtMultimedia5::CameraRecorder::audioCodec \qmlproperty string QtMultimedia5::CameraRecorder::audioCodec
The audio codec to use for recording video. This property holds the audio codec to be used for recording video.
Typically this is something like \c aac or \c amr-wb. Typically this is \c aac or \c amr-wb.
\sa {QtMultimedia5::CameraImageProcessing::whiteBalanceMode}{whileBalanceMode} \sa {QtMultimedia5::CameraImageProcessing::whiteBalanceMode}{whileBalanceMode}
*/ */
@@ -125,8 +124,8 @@ QString QDeclarativeCameraRecorder::audioCodec() const
/*! /*!
\qmlproperty string QtMultimedia5::CameraRecorder::videoCodec \qmlproperty string QtMultimedia5::CameraRecorder::videoCodec
The video codec to use for recording video. This property holds the video codec to be used for recording video.
Typically this is something like \c h264. Typically this is \c h264.
*/ */
QString QDeclarativeCameraRecorder::videoCodec() const QString QDeclarativeCameraRecorder::videoCodec() const
{ {
@@ -136,8 +135,8 @@ QString QDeclarativeCameraRecorder::videoCodec() const
/*! /*!
\qmlproperty string QtMultimedia5::CameraRecorder::mediaContainer \qmlproperty string QtMultimedia5::CameraRecorder::mediaContainer
The media container to use for recording video. This property holds the media container to be used for recording video.
Typically this is something like \c mp4. Typically this is \c mp4.
*/ */
QString QDeclarativeCameraRecorder::mediaContainer() const QString QDeclarativeCameraRecorder::mediaContainer() const
{ {
@@ -183,8 +182,7 @@ void QDeclarativeCameraRecorder::setMediaContainer(const QString &container)
/*! /*!
\qmlproperty qreal QtMultimedia5::CameraRecorder::frameRate \qmlproperty qreal QtMultimedia5::CameraRecorder::frameRate
The video framerate to use when recording video, This property holds the framerate (in frames per second) to be used for recording video.
in frames per second.
*/ */
qreal QDeclarativeCameraRecorder::frameRate() const qreal QDeclarativeCameraRecorder::frameRate() const
{ {
@@ -194,8 +192,7 @@ qreal QDeclarativeCameraRecorder::frameRate() const
/*! /*!
\qmlproperty int QtMultimedia5::CameraRecorder::videoBitRate \qmlproperty int QtMultimedia5::CameraRecorder::videoBitRate
The video bit rate to use when recording video, This property holds the bit rate (in bits per second) to be used for recording video.
in bits per second.
*/ */
int QDeclarativeCameraRecorder::videoBitRate() const int QDeclarativeCameraRecorder::videoBitRate() const
{ {
@@ -205,8 +202,7 @@ int QDeclarativeCameraRecorder::videoBitRate() const
/*! /*!
\qmlproperty int QtMultimedia5::CameraRecorder::audioBitRate \qmlproperty int QtMultimedia5::CameraRecorder::audioBitRate
The audio bit rate to use when recording video, This property holds the audio bit rate (in bits per second) to be used for recording video.
in bits per second.
*/ */
int QDeclarativeCameraRecorder::audioBitRate() const int QDeclarativeCameraRecorder::audioBitRate() const
{ {
@@ -216,7 +212,7 @@ int QDeclarativeCameraRecorder::audioBitRate() const
/*! /*!
\qmlproperty int QtMultimedia5::CameraRecorder::audioChannels \qmlproperty int QtMultimedia5::CameraRecorder::audioChannels
The number of audio channels to encode when This property indicates the number of audio channels to be encoded while
recording video (1 is mono, 2 is stereo). recording video (1 is mono, 2 is stereo).
*/ */
int QDeclarativeCameraRecorder::audioChannels() const int QDeclarativeCameraRecorder::audioChannels() const
@@ -227,8 +223,7 @@ int QDeclarativeCameraRecorder::audioChannels() const
/*! /*!
\qmlproperty int QtMultimedia5::CameraRecorder::audioSampleRate \qmlproperty int QtMultimedia5::CameraRecorder::audioSampleRate
The audio sample rate to encode audio at, when This property holds the sample rate to be used to encode audio while recording video.
recording video.
*/ */
int QDeclarativeCameraRecorder::audioSampleRate() const int QDeclarativeCameraRecorder::audioSampleRate() const
{ {
@@ -238,7 +233,9 @@ int QDeclarativeCameraRecorder::audioSampleRate() const
/*! /*!
\qmlproperty enumeration QtMultimedia5::CameraRecorder::videoEncodingMode \qmlproperty enumeration QtMultimedia5::CameraRecorder::videoEncodingMode
The type of encoding method to use when recording video. This property holds the type of encoding method to be used for recording video.
The following are the different encoding methods used:
\table \table
\header \li Value \li Description \header \li Value \li Description
@@ -348,7 +345,7 @@ void QDeclarativeCameraRecorder::setVideoEncodingMode(QDeclarativeCameraRecorder
/*! /*!
\qmlproperty enumeration QtMultimedia5::CameraRecorder::errorCode \qmlproperty enumeration QtMultimedia5::CameraRecorder::errorCode
The current error code, if any. This property holds the last error code.
\table \table
\header \li Value \li Description \header \li Value \li Description
@@ -374,7 +371,7 @@ QDeclarativeCameraRecorder::Error QDeclarativeCameraRecorder::errorCode() const
/*! /*!
\qmlproperty string QtMultimedia5::CameraRecorder::errorString \qmlproperty string QtMultimedia5::CameraRecorder::errorString
A description of the current error, if any. This property holds the description of the last error.
*/ */
QString QDeclarativeCameraRecorder::errorString() const QString QDeclarativeCameraRecorder::errorString() const
{ {
@@ -384,7 +381,9 @@ QString QDeclarativeCameraRecorder::errorString() const
/*! /*!
\qmlproperty enumeration QtMultimedia5::CameraRecorder::recorderState \qmlproperty enumeration QtMultimedia5::CameraRecorder::recorderState
The current state of the camera recorder object. This property holds the current state of the camera recorder object.
The state can be one of these two:
\table \table
\header \li Value \li Description \header \li Value \li Description
@@ -410,7 +409,7 @@ QDeclarativeCameraRecorder::RecorderState QDeclarativeCameraRecorder::recorderSt
/*! /*!
\qmlproperty enumeration QtMultimedia5::CameraRecorder::recorderStatus \qmlproperty enumeration QtMultimedia5::CameraRecorder::recorderStatus
The actual current status of media recording. This property holds the current status of media recording.
\table \table
\header \li Value \li Description \header \li Value \li Description
@@ -472,30 +471,35 @@ void QDeclarativeCameraRecorder::setRecorderState(QDeclarativeCameraRecorder::Re
break; break;
} }
} }
/*! /*!
\qmlproperty string QtMultimedia5::CameraRecorder::outputLocation
\property QDeclarativeCameraRecorder::outputLocation \property QDeclarativeCameraRecorder::outputLocation
\brief the destination location of media content. This property holds the destination location of the media content. If it is empty,
the recorder uses the system-specific place and file naming scheme.
*/
/*!
\qmlproperty string QtMultimedia5::CameraRecorder::outputLocation
The location can be relative or empty; This property holds the destination location of the media content. If the location is empty,
in this case the recorder uses the system specific place and file naming scheme. the recorder uses the system-specific place and file naming scheme.
*/ */
QString QDeclarativeCameraRecorder::outputLocation() const QString QDeclarativeCameraRecorder::outputLocation() const
{ {
return m_recorder->outputLocation().toString(); return m_recorder->outputLocation().toString();
} }
/*! /*!
\qmlproperty string QtMultimedia5::CameraRecorder::actualLocation
\property QDeclarativeCameraRecorder::actualLocation \property QDeclarativeCameraRecorder::actualLocation
\brief the actual location of the last media content. This property holds the absolute location to the last saved media content.
The location is usually available after recording starts, and reset when
new location is set or new recording starts.
*/
/*!
\qmlproperty string QtMultimedia5::CameraRecorder::actualLocation
The actual location is usually available after recording starts, This property holds the actual location of the last saved media content. The actual location is
and reset when new location is set or new recording starts. usually available after the recording starts, and reset when new location is set or the new recording starts.
*/ */
QString QDeclarativeCameraRecorder::actualLocation() const QString QDeclarativeCameraRecorder::actualLocation() const
@@ -510,26 +514,31 @@ void QDeclarativeCameraRecorder::setOutputLocation(const QString &location)
emit outputLocationChanged(outputLocation()); emit outputLocationChanged(outputLocation());
} }
} }
/*! /*!
\qmlproperty int QtMultimedia5::CameraRecorder::duration
\property QDeclarativeCameraRecorder::duration \property QDeclarativeCameraRecorder::duration
Returns the current duration of the recording, in This property holds the duration (in miliseconds) of the last recording.
milliseconds. */
/*!
\qmlproperty int QtMultimedia5::CameraRecorder::duration
This property holds the duration (in miliseconds) of the last recording.
*/ */
qint64 QDeclarativeCameraRecorder::duration() const qint64 QDeclarativeCameraRecorder::duration() const
{ {
return m_recorder->duration(); return m_recorder->duration();
} }
/*! /*!
\qmlproperty bool QtMultimedia5::CameraRecorder::muted
\property QDeclarativeCameraRecorder::muted \property QDeclarativeCameraRecorder::muted
Whether or not the audio input is muted during This property indicates whether the audio input is muted during
recording. recording.
*/ */
/*!
\qmlproperty bool QtMultimedia5::CameraRecorder::muted
This property indicates whether the audio input is muted during recording.
*/
bool QDeclarativeCameraRecorder::isMuted() const bool QDeclarativeCameraRecorder::isMuted() const
{ {
return m_recorder->isMuted(); return m_recorder->isMuted();

View File

@@ -93,16 +93,17 @@ QDeclarativeTorch::~QDeclarativeTorch()
/*! /*!
\qmlproperty bool QtMultimedia5::Torch::enabled \qmlproperty bool QtMultimedia5::Torch::enabled
\property QDeclarativeTorch::enabled
Whether the torch is on. If the torch functionality is shared This property indicates whether the torch is enabled. If the torch functionality is shared
with the camera flash hardware, the camera will take priority with the camera flash hardware, the camera will take priority
over torch settings and the torch may be disabled. over torch settings and the torch is disabled.
*/ */
/*! /*!
Returns whether the torch is on. If the torch functionality \property QDeclarativeTorch::enabled
This property indicates whether the torch is enabled. If the torch functionality
is shared with the camera flash hardware, the camera will take is shared with the camera flash hardware, the camera will take
priority and the torch may be disabled. priority and the torch is disabled.
*/ */
bool QDeclarativeTorch::enabled() const bool QDeclarativeTorch::enabled() const
{ {
@@ -140,15 +141,16 @@ void QDeclarativeTorch::setEnabled(bool on)
/*! /*!
\qmlproperty int QtMultimedia5::Torch::power \qmlproperty int QtMultimedia5::Torch::power
\property QDeclarativeTorch::power
The current torch power setting, as a percentage of full power. This property holds the current torch power setting, as a percentage of full power.
In some cases this setting may change automatically as a result In some cases this setting may change automatically as a result
of temperature or battery conditions. of temperature or battery conditions.
*/ */
/*! /*!
Returns the current torch power settings, as a percentage of full power. \property QDeclarativeTorch::power
This property holds the current torch power settings, as a percentage of full power.
*/ */
int QDeclarativeTorch::power() const int QDeclarativeTorch::power() const
{ {

View File

@@ -136,10 +136,6 @@ There are both C++ and QML examples available.
\annotatedlist audio_examples \annotatedlist audio_examples
\section2 QML Examples
[TBD]
\section1 Reference Documentation \section1 Reference Documentation
\section2 C++ Classes \section2 C++ Classes

View File

@@ -27,7 +27,7 @@
/*! /*!
\page multimediaoverview.html \page multimediaoverview.html
\title Multimedia Overview \title Qt Multimedia Overview
\brief A set of APIs for working with audio, video, radio and camera devices. \brief A set of APIs for working with audio, video, radio and camera devices.
\ingroup technology-apis \ingroup technology-apis

View File

@@ -27,7 +27,7 @@
/*! /*!
\module QtMultimedia \module QtMultimedia
\title QtMultimedia Module \title Qt Multimedia - C++ Classes
\ingroup modules \ingroup modules
\brief The QtMultimedia module provides audio, video, radio and camera functionality. \brief The QtMultimedia module provides audio, video, radio and camera functionality.

View File

@@ -0,0 +1,100 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:FDL$
** GNU Free Documentation License
** Alternatively, this file may be used under the terms of the GNU Free
** Documentation License version 1.3 as published by the Free Software
** Foundation and appearing in the file included in the packaging of
** this file.
**
** Other Usage
** Alternatively, this file may be used in accordance with the terms
** and conditions contained in a signed written agreement between you
** and Nokia.
**
**
**
**
**
** $QT_END_LICENSE$
**
****************************************************************************/
/*!
\page qtmultimedia-index.html
\title Qt Multimedia
\brief The Qt Multimedia module provides APIs for audio, video, radio and camera-related functionality.
Qt Multimedia is an essential module that provides a rich set of QML types and C++ classes to handle multimedia content. It also provides necessary APIs to access the camera and radio functionality.
\section1 Getting started
To start using the QML types and C++ classes in your application, include/import the QtMultimedia module. Refer to \l {Qt Multimedia - QML Types} and \l {Qt Multimedia - C++ Classes}, for the include/import statements and the complete list of QML types and C++ classes.
\section1 Key types and classes
The following is a list of key QML types and C++ classes provided by this module:
\table
\header
\li Type
\li Description
\row
\li \l {QtMultimedia5::Audio}{Audio}
\li Add audio playback functionality to a scene
\row
\li \l {QtMultimedia5::Camera}{Camera}
\li Access camera viewfinder frames
\row
\li MediaPlayer
\li Add media playback functionality to a scene. It is same as Audio type, but can be used for video playback with the VideoOutput type.
\row
\li \l {QtMultimedia5::Radio}{Radio}
\li Access radio functionality
\row
\li \l {QtMultimedia5::Video}{Video}
\li Add Video playback functionality to a scene. It uses MediaPlayer and VideoOutput types to provide video playback functionality.
\endtable
\table
\header
\li Class
\li Description
\row
\li QAudioOutput
\li Sends audio data to an audio output device
\row
\li QCamera
\li Access camera viewfinder.
\row
\li QCameraImageCapture
\li Record media content. Intended to be used with QCamera to record media.
\row
\li QMediaPlayer
\li Playback media from a source.
\row
\li QRadioTuner
\li Access radio device.
\row
\li QVideoRendererControl
\li Control video data.
\endtable
\section1 Related topics
\list
\li \l {Qt Multimedia Overview}
\li \l {Changes in Qt Multimedia}
\li \l {Audio Overview}
\li \l {Camera Overview}
\li \l {Radio Overview}
\li \l {Video Overview}
\li \l {Positional Audio}
\endlist
*/

View File

@@ -27,8 +27,8 @@
/*! /*!
\qmlmodule QtMultimedia 5 \qmlmodule QtMultimedia 5
\title QML import for multimedia \title Qt Multimedia - QML Types
\brief The import for the QML types in the Qt Multimedia module \brief List of all QML types in the Qt Multimedia module.
\section1 Overview \section1 Overview