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  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

QLandmarkBoxFilter Class Reference

The QLandmarkBoxFilter class is used to search for landmarks within a given bounding box. More...

 #include <QLandmarkBoxFilter>

Inherits: QLandmarkFilter.

This class was introduced in Qt Mobility 1.1.

Public Functions

QLandmarkBoxFilter ( const QGeoBoundingBox & boundingBox = QGeoBoundingBox() )
QLandmarkBoxFilter ( const QGeoCoordinate & topLeft, const QGeoCoordinate & bottomRight )
QLandmarkBoxFilter ( const QLandmarkFilter & other )
virtual ~QLandmarkBoxFilter ()
QGeoCoordinate bottomRight ()
QGeoBoundingBox boundingBox () const
void setBottomRight ( const QGeoCoordinate & bottomRight )
void setBoundingBox ( const QGeoBoundingBox & boundingBox )
void setTopLeft ( const QGeoCoordinate & topLeft )
QGeoCoordinate topLeft ()

Detailed Description

The QLandmarkBoxFilter class is used to search for landmarks within a given bounding box.

In order to be a valid filter, the region covered by the box filter must not cover one of the poles.

Member Function Documentation

QLandmarkBoxFilter::QLandmarkBoxFilter ( const QGeoBoundingBox & boundingBox = QGeoBoundingBox() )

Creates a filter that will search for landmarks within the boundingBox.

This function was introduced in Qt Mobility 1.1.

QLandmarkBoxFilter::QLandmarkBoxFilter ( const QGeoCoordinate & topLeft, const QGeoCoordinate & bottomRight )

Creates a filter that will search for landmarks within a bounding box defined by the topLeft and bottomRight coordinates.

This function was introduced in Qt Mobility 1.1.

QLandmarkBoxFilter::QLandmarkBoxFilter ( const QLandmarkFilter & other )

Constructs a copy of other if possible, otherwise constructs a new box filter.

This function was introduced in Qt Mobility 1.1.

QLandmarkBoxFilter::~QLandmarkBoxFilter () [virtual]

Destroys the filter.

QGeoCoordinate QLandmarkBoxFilter::bottomRight ()

Returns the bottom right coordinate of the box filter.

This function was introduced in Qt Mobility 1.1.

See also setBottomRight().

QGeoBoundingBox QLandmarkBoxFilter::boundingBox () const

Returns the filter's bounding box.

This function was introduced in Qt Mobility 1.1.

See also setBoundingBox().

void QLandmarkBoxFilter::setBottomRight ( const QGeoCoordinate & bottomRight )

Sets the bottomRight coordinate of the box filter.

This function was introduced in Qt Mobility 1.1.

See also bottomRight().

void QLandmarkBoxFilter::setBoundingBox ( const QGeoBoundingBox & boundingBox )

Sets the boundingBox of the filter.

This function was introduced in Qt Mobility 1.1.

See also boundingBox().

void QLandmarkBoxFilter::setTopLeft ( const QGeoCoordinate & topLeft )

Sets the topLeft coordinate of the box filter.

This function was introduced in Qt Mobility 1.1.

See also topLeft().

QGeoCoordinate QLandmarkBoxFilter::topLeft ()

Returns the top left coordinate of the box filter.

This function was introduced in Qt Mobility 1.1.

See also setTopLeft().

Publicité

Best Of

Actualités les plus lues

Semaine
Mois
Année
  1. « Quelque chose ne va vraiment pas avec les développeurs "modernes" », un développeur à "l'ancienne" critique la multiplication des bibliothèques 88
  2. Apercevoir la troisième dimension ou l'utilisation multithreadée d'OpenGL dans Qt, un article des Qt Quarterly traduit par Guillaume Belz 0
  3. Les développeurs ignorent-ils trop les failles découvertes dans leur code ? Prenez-vous en compte les remarques des autres ? 17
  4. Pourquoi les programmeurs sont-ils moins payés que les gestionnaires de programmes ? Manquent-ils de pouvoir de négociation ? 39
  5. Quelles nouveautés de C++11 Visual C++ doit-il rapidement intégrer ? Donnez-nous votre avis 10
  6. Adieu qmake, bienvenue qbs : Qt Building Suite, un outil déclaratif et extensible pour la compilation de projets Qt 17
  7. 2017 : un quinquennat pour une nouvelle version du C++ ? Possible, selon Herb Sutter 6
Page suivante

Le blog Digia au hasard

Logo

Déploiement d'applications Qt Commercial sur les tablettes Windows 8

Le blog Digia est l'endroit privilégié pour la communication sur l'édition commerciale de Qt, où des réponses publiques sont apportées aux questions les plus posées au support. Lire l'article.

Communauté

Ressources

Liens utiles

Contact

  • Vous souhaitez rejoindre la rédaction ou proposer un tutoriel, une traduction, une question... ? Postez dans le forum Contribuez ou contactez-nous par MP ou par email (voir en bas de page).

Qt dans le magazine

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 qtmobility-1.2
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