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  · 

QImageEncoderControl Class

The QImageEncoderControl class provides access to the settings of a media service that performs image encoding. More...

 #include <QImageEncoderControl>

Inherits: QMediaControl.

Public Functions

virtual ~QImageEncoderControl()
virtual QString imageCodecDescription(const QString & codec) const = 0
virtual QImageEncoderSettings imageSettings() const = 0
virtual void setImageSettings(const QImageEncoderSettings & settings) = 0
virtual QStringList supportedImageCodecs() const = 0
virtual QList<QSize> supportedResolutions(const QImageEncoderSettings & settings, bool * continuous = 0) const = 0
  • 31 public functions inherited from QObject

Protected Functions

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

Macros

QImageEncoderControl_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 QImageEncoderControl class provides access to the settings of a media service that performs image encoding.

If a QMediaService supports encoding image data it will implement QImageEncoderControl. This control allows to set image encoding settings and provides functions for quering supported image codecs and resolutions.

The interface name of QImageEncoderControl is org.qt-project.qt.imageencodercontrol/5.0 as defined in QImageEncoderControl_iid.

See also QImageEncoderSettings and QMediaService::requestControl().

Member Function Documentation

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

Constructs a new image encoder control object with the given parent

QImageEncoderControl::~QImageEncoderControl() [virtual]

Destroys the image encoder control.

QString QImageEncoderControl::imageCodecDescription(const QString & codec) const [pure virtual]

Returns a description of an image codec.

QImageEncoderSettings QImageEncoderControl::imageSettings() const [pure virtual]

Returns the currently used image encoder settings.

The returned value may be different tha passed to QImageEncoderControl::setImageSettings() if the settings contains the default or undefined parameters. In this case if the undefined parameters are already resolved, they should be returned.

See also setImageSettings().

void QImageEncoderControl::setImageSettings(const QImageEncoderSettings & settings) [pure virtual]

Sets the selected image encoder settings.

See also imageSettings().

QStringList QImageEncoderControl::supportedImageCodecs() const [pure virtual]

Returns a list of supported image codecs.

QList<QSize> QImageEncoderControl::supportedResolutions(const QImageEncoderSettings & settings, bool * continuous = 0) const [pure virtual]

Returns a list of supported resolutions.

If non null image settings parameter is passed, the returned list is reduced to resolutions supported with partial settings applied. It can be used to query the list of resolutions, supported by specific image codec.

If the encoder supports arbitrary resolutions within the supported resolutions range, *continuous is set to true, otherwise *continuous is set to false.

Macro Documentation

QImageEncoderControl_iid

org.qt-project.qt.imageencodercontrol/5.0

Defines the interface name of the QImageEncoderControl 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