内容表

上一话题

QGeoRectangle

下一话题

QGeoSatelliteInfoSource

QGeoSatelliteInfo

QGeoSatelliteInfo class contains basic information about a satellite. 更多

Inheritance diagram of PySide2.QtPositioning.QGeoSatelliteInfo

概要

函数

详细描述

class QGeoSatelliteInfo

QGeoSatelliteInfo(other)

param other

QGeoSatelliteInfo

Creates a satellite information object.

PySide2.QtPositioning.QGeoSatelliteInfo. 属性

Defines the attributes for the satellite information.

常量

描述

QGeoSatelliteInfo.Elevation

The elevation of the satellite, in degrees.

QGeoSatelliteInfo.Azimuth

The azimuth to true north, in degrees.

PySide2.QtPositioning.QGeoSatelliteInfo. SatelliteSystem

Defines the GNSS system of the satellite.

常量

描述

QGeoSatelliteInfo.Undefined

Not defined.

QGeoSatelliteInfo.GPS

Global Positioning System (USA).

QGeoSatelliteInfo.GLONASS

Global Positioning System (Russia).

PySide2.QtPositioning.QGeoSatelliteInfo. attribute ( attribute )
参数

attribute 属性

返回类型

qreal

Returns the value of the specified attribute as a qreal value.

Returns -1 if the value has not been set.

PySide2.QtPositioning.QGeoSatelliteInfo. hasAttribute ( attribute )
参数

attribute 属性

返回类型

bool

返回 true 若指定 attribute is present in this update.

PySide2.QtPositioning.QGeoSatelliteInfo. __ne__ ( other )
参数

other QGeoSatelliteInfo

返回类型

bool

Returns true if any of the information for this satellite are not the same as those of other .

PySide2.QtPositioning.QGeoSatelliteInfo. __eq__ ( other )
参数

other QGeoSatelliteInfo

返回类型

bool

Returns true if all the information for this satellite are the same as those of other .

PySide2.QtPositioning.QGeoSatelliteInfo. removeAttribute ( attribute )
参数

attribute 属性

移除指定 attribute and its value.

PySide2.QtPositioning.QGeoSatelliteInfo. satelliteIdentifier ( )
返回类型

int

Returns the satellite identifier number.

The satellite identifier number can be used to identify a satellite inside the satellite system. For satellite system GPS the satellite identifier number represents the PRN (Pseudo-random noise) number. For satellite system GLONASS the satellite identifier number represents the slot number.

PySide2.QtPositioning.QGeoSatelliteInfo. satelliteSystem ( )
返回类型

SatelliteSystem

Returns the Satellite System (GPS, GLONASS, …)

PySide2.QtPositioning.QGeoSatelliteInfo. setAttribute ( attribute , value )
参数

Sets the value for attribute to value .

另请参阅

attribute()

PySide2.QtPositioning.QGeoSatelliteInfo. setSatelliteIdentifier ( satId )
参数

satId int

Sets the satellite identifier number to satId .

The satellite identifier number can be used to identify a satellite inside the satellite system. For satellite system GPS the satellite identifier number represents the PRN (Pseudo-random noise) number. For satellite system GLONASS the satellite identifier number represents the slot number.

PySide2.QtPositioning.QGeoSatelliteInfo. setSatelliteSystem ( system )
参数

system SatelliteSystem

Sets the Satellite System (GPS, GLONASS, …) to system .

另请参阅

satelliteSystem()

PySide2.QtPositioning.QGeoSatelliteInfo. setSignalStrength ( signalStrength )
参数

signalStrength int

Sets the signal strength to signalStrength , in decibels.

另请参阅

signalStrength()

PySide2.QtPositioning.QGeoSatelliteInfo. signalStrength ( )
返回类型

int

Returns the signal strength, or -1 if the value has not been set.