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  · 

QGeoCameraCapabilities Class

The QGeoCameraCapabilities class describes the limitations on camera settings imposed by a mapping plugin. More...

 #include <QGeoCameraCapabilities>

This class was introduced in Qt Location 5.0.

Public Functions

QGeoCameraCapabilities()
QGeoCameraCapabilities(const QGeoCameraCapabilities & other)
~QGeoCameraCapabilities()
bool isValid() const
double maximumTilt() const
double maximumZoomLevel() const
double minimumTilt() const
double minimumZoomLevel() const
void setMaximumTilt(double maximumTilt)
void setMaximumZoomLevel(double maximumZoomLevel)
void setMinimumTilt(double minimumTilt)
void setMinimumZoomLevel(double minimumZoomLevel)
void setSupportsBearing(bool supportsBearing)
void setSupportsRolling(bool supportsRolling)
void setSupportsTilting(bool supportsTilting)
bool supportsBearing() const
bool supportsRolling() const
bool supportsTilting() const
QGeoCameraCapabilities & operator=(const QGeoCameraCapabilities & other)

Detailed Description

The QGeoCameraCapabilities class describes the limitations on camera settings imposed by a mapping plugin.

Different mapping plugins will support different ranges of zoom levels, and not all mapping plugins will be able to support, bearing, tilting and rolling of the camera.

This class describes what the plugin supports, and is used to restrict changes to the camera information associated with a QGeoMap such that the camera information stays within these limits.

Member Function Documentation

QGeoCameraCapabilities::QGeoCameraCapabilities()

Constructs a camera capabilities object.

QGeoCameraCapabilities::QGeoCameraCapabilities(const QGeoCameraCapabilities & other)

Constructs a camera capabilities object from the contents of other.

QGeoCameraCapabilities::~QGeoCameraCapabilities()

Destroys this camera capabilities object.

bool QGeoCameraCapabilities::isValid() const

Returns whether this instance of the class is considered "valid". To be valid, the instance must have had at least one capability set (to either true or false) using a set method, or copied from another instance (such as by the assignment operator).

double QGeoCameraCapabilities::maximumTilt() const

Returns the maximum tilt supported by the associated plugin.

The value is in degrees where 0 is equivalent to 90 degrees between the line of view and earth's surface, that is, looking straight down to earth.

See also setMaximumTilt().

double QGeoCameraCapabilities::maximumZoomLevel() const

Returns the maximum zoom level supported by the associated plugin.

Larger values of the zoom level correspond to more detailed views of the map.

See also setMaximumZoomLevel().

double QGeoCameraCapabilities::minimumTilt() const

Returns the minimum tilt supported by the associated plugin.

The value is in degrees where 0 is equivalent to 90 degrees between the line of view and earth's surface, that is, looking straight down to earth.

See also setMinimumTilt().

double QGeoCameraCapabilities::minimumZoomLevel() const

Returns the minimum zoom level supported by the associated plugin.

Larger values of the zoom level correspond to more detailed views of the map.

See also setMinimumZoomLevel().

void QGeoCameraCapabilities::setMaximumTilt(double maximumTilt)

Sets the maximum tilt supported by the associated plugin to maximumTilt.

The value is in degrees where 0 is equivalent to 90 degrees between the line of view and earth's surface, that is, looking straight down to earth.

See also maximumTilt().

void QGeoCameraCapabilities::setMaximumZoomLevel(double maximumZoomLevel)

Sets the maximum zoom level supported by the associated plugin to maximumZoomLevel.

Larger values of the zoom level correspond to more detailed views of the map.

See also maximumZoomLevel().

void QGeoCameraCapabilities::setMinimumTilt(double minimumTilt)

Sets the minimum tilt supported by the associated plugin to minimumTilt.

The value is in degrees where 0 is equivalent to 90 degrees between the line of view and earth's surface, that is, looking straight down to earth.

See also minimumTilt().

void QGeoCameraCapabilities::setMinimumZoomLevel(double minimumZoomLevel)

Sets the minimum zoom level supported by the associated plugin to maximumZoomLevel.

Larger values of the zoom level correspond to more detailed views of the map.

See also minimumZoomLevel().

void QGeoCameraCapabilities::setSupportsBearing(bool supportsBearing)

Sets whether the associated plugin can render a map when the camera has an aribtrary bearing to supportsBearing.

See also supportsBearing().

void QGeoCameraCapabilities::setSupportsRolling(bool supportsRolling)

Sets whether the associated plugin can render a map when the camera is rolled to supportsRolling.

See also supportsRolling().

void QGeoCameraCapabilities::setSupportsTilting(bool supportsTilting)

Sets whether the associated plugin can render a map when the camera is tilted to supportsTilting.

See also supportsTilting().

bool QGeoCameraCapabilities::supportsBearing() const

Returns whether the associated plugin can render a map when the camera has an aribtrary bearing.

See also setSupportsBearing().

bool QGeoCameraCapabilities::supportsRolling() const

Returns whether the associated plugin can render a map when the camera is rolled.

See also setSupportsRolling().

bool QGeoCameraCapabilities::supportsTilting() const

Returns whether the associated plugin can render a map when the camera is tilted.

See also setSupportsTilting().

QGeoCameraCapabilities & QGeoCameraCapabilities::operator=(const QGeoCameraCapabilities & other)

Assigns the contents of other to this camera capabilities object and returns a reference to this camera capabilities object.

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