geoSatelliteInfo QML Value Type
O tipo geoSatelliteInfo representa informações básicas sobre um satélite. Mais...
| Import Statement: | import QtPositioning |
| Since: | Qt 6.5 |
Propriedades
- satelliteIdentifier : int
- satelliteSystem : enumeration
- signalStrength : real
Métodos
- real attribute(Attribute attr)
- bool hasAttribute(Attribute attr)
Descrição detalhada
Este tipo é uma representação em QML de QGeoSatelliteInfo. O tipo não pode ser criado a partir do QML e só pode ser utilizado ao lidar com atualizações de satélites provenientes de SatelliteSource.
Este tipo contém as propriedades somente leitura satelliteSystem, satelliteIdentifier e signalStrength, além de atributos opcionais.
Use o método ` hasAttribute ` para verificar se o atributo existe ou não e o método ` attribute ` para obter seu valor.
Veja também QGeoSatelliteInfo.
Documentação da propriedade
satelliteIdentifier : int [read-only]
Contém o número de identificação do satélite.
O número de identificação do satélite pode ser usado para identificar um satélite dentro do sistema de satélites.
O valor real pode variar, dependendo da plataforma e do backend selecionado.
satelliteSystem : enumeration [read-only]
Contém o sistema GNSS do satélite.
| Constante | Descrição |
|---|---|
GeoSatelliteInfo.Undefined | Não definido. |
GeoSatelliteInfo.GPS | Sistema de Posicionamento Global (EUA). |
GeoSatelliteInfo.GLONASS | Sistema de Posicionamento Global (Rússia). |
GeoSatelliteInfo.GALILEO | Sistema Global de Navegação por Satélite (UE). |
GeoSatelliteInfo.BEIDOU | Sistema de Navegação por Satélite BeiDou (China). |
GeoSatelliteInfo.QZSS | Sistema de Satélites Quasi-Zenith (Japão). |
GeoSatelliteInfo.Multiple | Esse tipo normalmente indica que as informações são recebidas de um dispositivo compatível com vários sistemas de satélites, e o sistema de satélites não é explicitamente especificado. |
GeoSatelliteInfo.CustomType | O primeiro tipo que pode ser utilizado para fins do usuário. |
signalStrength : real [read-only]
Armazena a intensidade do sinal em decibéis.
Documentação do método
real attribute(Attribute attr)
Retorna o valor do atributo attr ou -1 se o valor não tiver sido definido.
Os seguintes atributos são suportados:
GeoSatelliteInfo.Elevation- a elevação do satélite, em graus.GeoSatelliteInfo.Azimuth- o azimute em relação ao norte verdadeiro, em graus.
bool hasAttribute(Attribute attr)
Retorna ` true ` se as informações do satélite contiverem o atributo ` attr`. Caso contrário, retorna ` false`.
Consulte attribute() para obter a lista de atributos suportados.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.