内容表

上一话题

QPlaceContent

下一话题

QPlaceContentRequest

QPlaceContentReply

QPlaceContentReply class manages a content retrieval operation started by an instance of QPlaceManager . 更多

Inheritance diagram of PySide2.QtLocation.QPlaceContentReply

详细描述

Fetching Rich Content for an example on how to use a content reply.

另请参阅

QPlaceContentRequest QPlaceManager

class QPlaceContentReply ( [ parent=None ] )
param parent

QObject

Constructs a content reply with a given parent .

PySide2.QtLocation.QPlaceContentReply. content ( )
返回类型

Returns the collection of content retrieved.

另请参阅

setContent()

PySide2.QtLocation.QPlaceContentReply. nextPageRequest ( )
返回类型

QPlaceContentRequest

Returns a place content request that can be used to request the next batch of place content results.

PySide2.QtLocation.QPlaceContentReply. previousPageRequest ( )
返回类型

QPlaceContentRequest

Returns a place content request that can be used to request the previous batch of place content results.

PySide2.QtLocation.QPlaceContentReply. request ( )
返回类型

QPlaceContentRequest

Returns the content request that was used to generate this reply.

另请参阅

setRequest()

PySide2.QtLocation.QPlaceContentReply. setContent ( content )
参数

content

设置 content of the reply.

另请参阅

content()

PySide2.QtLocation.QPlaceContentReply. setNextPageRequest ( next )
参数

next QPlaceContentRequest

Sets the place content request that can be used to request the next batch of place content results to next .

另请参阅

nextPageRequest()

PySide2.QtLocation.QPlaceContentReply. setPreviousPageRequest ( 上一 )
参数

上一 QPlaceContentRequest

Sets the place content request that can be used to request the previous batch of place content results to 上一 .

PySide2.QtLocation.QPlaceContentReply. setRequest ( request )
参数

request QPlaceContentRequest

Sets the content request used to generate this this reply.

另请参阅

request()

PySide2.QtLocation.QPlaceContentReply. setTotalCount ( total )
参数

total int

设置 total number of content objects for a place.

另请参阅

totalCount()

PySide2.QtLocation.QPlaceContentReply. totalCount ( )
返回类型

int

Returns the total number of content objects for a place. If the total number of content objects cannot be counted, a value of -1 is returned. This count only refers to the total count for a single content type, that is, the content type that was specified when content was requested with the QPlaceManager .

另请参阅

setTotalCount()