QPlaceReview¶
The
QPlaceReview
class represents a review of a place. More…

Synopsis¶
Functions¶
def
dateTime
()def
language
()def
rating
()def
reviewId
()def
setDateTime
(dt)def
setLanguage
(data)def
setRating
(data)def
setReviewId
(identifier)def
setText
(text)def
setTitle
(data)def
text
()def
title
()
Detailed Description¶
Each
QPlaceReview
has a number of properties such as a title, text, date of submission and rating; in addition to those properties inherited fromQPlaceContent
.Note: The Places API only supports reviews as ‘retrieve-only’ objects. Submitting reviews to a provider is not a supported use case.
See also
-
class
QPlaceReview
¶ QPlaceReview(other)
- param other
Constructs a new review object.
Constructs a copy of
other
, otherwise constructs a default review object.
-
PySide2.QtLocation.QPlaceReview.
dateTime
()¶ - Return type
QDateTime
Returns the date and time that the review was submitted.
See also
-
PySide2.QtLocation.QPlaceReview.
language
()¶ - Return type
unicode
Returns the language of the review. Typically this would be a language code in the 2 letter ISO 639-1 format.
See also
-
PySide2.QtLocation.QPlaceReview.
rating
()¶ - Return type
qreal
Returns this review’s rating of the place.
See also
-
PySide2.QtLocation.QPlaceReview.
reviewId
()¶ - Return type
unicode
Returns the review’s identifier.
See also
-
PySide2.QtLocation.QPlaceReview.
setDateTime
(dt)¶ - Parameters
dt –
QDateTime
Sets the date and time that the review was submitted to
dateTime
.See also
-
PySide2.QtLocation.QPlaceReview.
setLanguage
(data)¶ - Parameters
data – unicode
Sets the
language
of the review. Typically this would be a language code in the 2 letter ISO 639-1 format.See also
-
PySide2.QtLocation.QPlaceReview.
setRating
(data)¶ - Parameters
data –
qreal
Sets the review’s
rating
of the place.See also
-
PySide2.QtLocation.QPlaceReview.
setReviewId
(identifier)¶ - Parameters
identifier – unicode
Sets the
identifier
of the review.See also
-
PySide2.QtLocation.QPlaceReview.
setText
(text)¶ - Parameters
text – unicode
Sets
text
of the review.See also
-
PySide2.QtLocation.QPlaceReview.
setTitle
(data)¶ - Parameters
data – unicode
Sets the
title
of the review.See also
-
PySide2.QtLocation.QPlaceReview.
text
()¶ - Return type
unicode
Returns a textual description of the place.
Depending on the provider the text could be rich (HTML based) or plain text.
See also
-
PySide2.QtLocation.QPlaceReview.
title
()¶ - Return type
unicode
Returns the title of the review.
See also