Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Mise en oeuvre d'IHM
avec Qt et PySide6
Voir le programme détaillé
Module « PySide6.QtPositioning »

Classe « QGeoRectangle »

Informations générales

Héritage

builtins.object
    Object
        QGeoShape
            QGeoRectangle

Définition

class QGeoRectangle(QGeoShape):

help(QGeoRectangle)

QGeoRectangle(self, other: PySide6.QtPositioning.QGeoRectangle, /, *, bottomLeft: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, bottomRight: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, topLeft: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, topRight: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, center: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, height: Optional[float] = None, width: Optional[float] = None) -> None
QGeoRectangle(self, topLeft: PySide6.QtPositioning.QGeoCoordinate, bottomRight: PySide6.QtPositioning.QGeoCoordinate, /, *, bottomLeft: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, topRight: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, center: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, height: Optional[float] = None, width: Optional[float] = None) -> None
QGeoRectangle(self, center: PySide6.QtPositioning.QGeoCoordinate, degreesWidth: float, degreesHeight: float, /, *, bottomLeft: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, bottomRight: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, topLeft: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, topRight: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, height: Optional[float] = None, width: Optional[float] = None) -> None
QGeoRectangle(self, other: PySide6.QtPositioning.QGeoShape, /, *, bottomLeft: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, bottomRight: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, topLeft: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, topRight: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, center: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, height: Optional[float] = None, width: Optional[float] = None) -> None
QGeoRectangle(self, coordinates: Sequence[PySide6.QtPositioning.QGeoCoordinate], /, *, bottomLeft: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, bottomRight: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, topLeft: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, topRight: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, center: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, height: Optional[float] = None, width: Optional[float] = None) -> None
QGeoRectangle(self, /, *, bottomLeft: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, bottomRight: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, topLeft: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, topRight: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, center: Optional[PySide6.QtPositioning.QGeoCoordinate] = None, height: Optional[float] = None, width: Optional[float] = None) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des opérateurs

Signature de l'opérateur Description
__ior__(self, value) Return self|=value. [extrait de __ior__.__doc__]
__lshift__(self, value) Return self<<value. [extrait de __lshift__.__doc__]
__or__(self, value) Return self|value. [extrait de __or__.__doc__]
__rlshift__(self, value) Return value<<self. [extrait de __rlshift__.__doc__]
__ror__(self, value) Return value|self. [extrait de __ror__.__doc__]
__rrshift__(self, value) Return value>>self. [extrait de __rrshift__.__doc__]
__rshift__(self, value) Return self>>value. [extrait de __rshift__.__doc__]

Opérateurs hérités de la classe QGeoShape

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__copy__(self)
bottomLeft(self)
bottomRight(self)
center(self)
contains(self, object)
extendRectangle(self, object)
height(self)
intersects(self, object)
setBottomLeft(self, object)
setBottomRight(self, object)
setCenter(self, object)
setHeight(self, object)
setTopLeft(self, object)
setTopRight(self, object)
setWidth(self, object)
topLeft(self)
topRight(self)
toString(self)
translate
translated
united(self, object)
width(self)

Méthodes héritées de la classe QGeoShape

__hash__, __init_subclass__, __repr__, __subclasshook__, boundingGeoRectangle, isEmpty, isValid, ShapeType, type

Méthodes héritées de la classe Object

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __getstate__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__

Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les compléments
Voir le programme détaillé