Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QCameraDevice class represents a simple camera device. For the user it is a thin interface for accessing camera functionality. More...
#include <QCameraDevice>
Inherits QObject.
The QCameraDevice class represents a simple camera device. For the user it is a thin interface for accessing camera functionality.
The QCameraDevice has three modes of operation.
When implementing this class it is a requirement that previewing of data should always be available to the client whereas Still and Video capture are optional.
This enum specifies the possible modes the device supports
Constant | Value | Description |
---|---|---|
QCameraDevice::StillMode | 1 | Indicates support for Still mode |
QCameraDevice::VideoMode | 2 | Indicates support for Video mode |
This enum specifies the Orientation that the camera is in
Constant | Value | Description |
---|---|---|
QCameraDevice::FrontFacing | 0 | The camera faces the user e.g For video conferencing |
QCameraDevice::BackFacing | 1 | The camera faces away from the user. e.g Most standard cameras |
QCameraDevice::Changing | 2 | Has no fixed orientation. e.g Positionable / Swivel Cameras |
Signals that an error err has occured. Clients should connect to this signal to receive debugging/error information contained in errorMessage
See also QtopiaCamera::CameraError.
Returns a bit-wise OR of supported capture modes
See also QCameraDevice::CaptureMode.
Returns a description string of the camera device
Returns an indentifier for the camera device
Returns the camera device orientation
See also QCameraDevice::Orientation.
Returns a class that implements the functionality to capture preview data from the camera device
See also QCameraPreviewCapture.
Returns a class that implements the functionality to capture still data from the camera device
See also QCameraStillCapture.
Returns a class that implements the functionality to capture video data from the camera device
See also QCameraVideoCapture.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |