其他分享
首页 > 其他分享> > QCamera

QCamera

作者:互联网

QCamera 

Header: #include <QCamera>
qmake: QT += multimedia
Inherits: QMediaObject

 

 

 

 

 

 

Public Functions

  QCamera(QObject *parent = nullptr)
  QCamera(const QByteArray &deviceName, QObject *parent = nullptr)
  QCamera(const QCameraInfo &cameraInfo, QObject *parent = nullptr)
  QCamera(QCamera::Position position, QObject *parent = nullptr)
virtual ~QCamera()
QCamera::CaptureModes captureMode() const
QCamera::Error error() const
QString errorString() const
QCameraExposure * exposure() const
QCameraFocus * focus() const
QCameraImageProcessing * imageProcessing() const
bool isCaptureModeSupported(QCamera::CaptureModes mode) const
QCamera::LockStatus lockStatus() const
QCamera::LockStatus lockStatus(QCamera::LockType lockType) const
QCamera::LockTypes requestedLocks() const
void setViewfinder(QVideoWidget *viewfinder)
void setViewfinder(QGraphicsVideoItem *viewfinder)
void setViewfinder(QAbstractVideoSurface *surface)
void setViewfinderSettings(const QCameraViewfinderSettings &settings)
QCamera::State state() const
QCamera::Status status() const
QCamera::LockTypes supportedLocks() const
QList<QCamera::FrameRateRange> supportedViewfinderFrameRateRanges(const QCameraViewfinderSettings &settings = QCameraViewfinderSettings()) const
QList<QVideoFrame::PixelFormat> supportedViewfinderPixelFormats(const QCameraViewfinderSettings &settings = QCameraViewfinderSettings()) const
QList<QSize> supportedViewfinderResolutions(const QCameraViewfinderSettings &settings = QCameraViewfinderSettings()) const
QList<QCameraViewfinderSettings> supportedViewfinderSettings(const QCameraViewfinderSettings &settings = QCameraViewfinderSettings()) const
QCameraViewfinderSettings viewfinderSettings() const

 

 

 

 

 

 

 

 

 

###########################

标签:const,settings,QCamera,QObject,QCameraViewfinderSettings,QList
来源: https://www.cnblogs.com/herd/p/15743489.html