Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

QCameraViewfinderSettingsControl Class

The QCameraViewfinderSettingsControl class provides an abstract class for controlling camera viewfinder parameters. More...

 #include <QCameraViewfinderSettingsControl>

Inherits: QMediaControl.

Public Types

enum ViewfinderParameter { Resolution, PixelAspectRatio, MinimumFrameRate, MaximumFrameRate, PixelFormat, UserParameter }

Public Functions

~QCameraViewfinderSettingsControl()
virtual bool isViewfinderParameterSupported(ViewfinderParameter parameter) const = 0
virtual void setViewfinderParameter(ViewfinderParameter parameter, const QVariant & value) = 0
virtual QVariant viewfinderParameter(ViewfinderParameter parameter) const = 0
  • 31 public functions inherited from QObject

Protected Functions

QCameraViewfinderSettingsControl(QObject * parent = 0)
  • 9 protected functions inherited from QObject

Macros

QCameraViewfinderSettingsControl_iid

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 2 signal inherited from QObject
  • 11 static public members inherited from QObject

Detailed Description

The QCameraViewfinderSettingsControl class provides an abstract class for controlling camera viewfinder parameters.

The interface name of QCameraViewfinderSettingsControl is org.qt-project.qt.cameraviewfindersettingscontrol/5.0 as defined in QCameraViewfinderSettingsControl_iid.

See also QMediaService::requestControl() and QCamera.

Member Type Documentation

enum QCameraViewfinderSettingsControl::ViewfinderParameter

ConstantValueDescription
QCameraViewfinderSettingsControl::Resolution0Viewfinder resolution, QSize.
QCameraViewfinderSettingsControl::PixelAspectRatio1Pixel aspect ratio, QSize as in QVideoSurfaceFormat::pixelAspectRatio
QCameraViewfinderSettingsControl::MinimumFrameRate2Minimum viewfinder frame rate, qreal
QCameraViewfinderSettingsControl::MaximumFrameRate3Maximum viewfinder frame rate, qreal
QCameraViewfinderSettingsControl::PixelFormat4Viewfinder pixel format, QVideoFrame::PixelFormat
QCameraViewfinderSettingsControl::UserParameter1000The base value for platform specific extended parameters. For such parameters the sequential values starting from UserParameter shuld be used.

Member Function Documentation

QCameraViewfinderSettingsControl::QCameraViewfinderSettingsControl(QObject * parent = 0) [protected]

Constructs a camera viewfinder control object with parent.

QCameraViewfinderSettingsControl::~QCameraViewfinderSettingsControl()

Destroys the camera viewfinder control object.

bool QCameraViewfinderSettingsControl::isViewfinderParameterSupported(ViewfinderParameter parameter) const [pure virtual]

void QCameraViewfinderSettingsControl::setViewfinderParameter(ViewfinderParameter parameter, const QVariant & value) [pure virtual]

Set the prefferred value of viewfinder parameter.

Calling this while the camera is active may result in the camera being stopped and reloaded. If video recording is in progress, this call may be ignored.

If an unsupported parameter is specified the camera may fail to load, or the setting may be ignored.

Viewfinder parameters may also depend on other camera settings, especially in video capture mode. If camera configuration conflicts with viewfinder settings, the camara configuration is usually preferred.

See also viewfinderParameter().

QVariant QCameraViewfinderSettingsControl::viewfinderParameter(ViewfinderParameter parameter) const [pure virtual]

Returns the value of viewfinder parameter.

See also setViewfinderParameter().

Macro Documentation

QCameraViewfinderSettingsControl_iid

org.qt-project.qt.cameraviewfinderresettingscontrol/5.0

Defines the interface name of the QCameraViewfinderSettingsControl class.

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 5.0-snapshot
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web