QPlaceEditorial¶
The
QPlaceEditorialclass represents a publisher’s article describing a place. More…

Synopsis¶
Functions¶
Detailed Description¶
Each
QPlaceEditorialhas a title, text and language; in addition to those properties inherited fromQPlaceContent.Note: The Places API only supports editorials as ‘retrieve-only’ objects. Submitting editorials to a provider is not a supported use case.
See also
- class PySide2.QtLocation.QPlaceEditorial¶
PySide2.QtLocation.QPlaceEditorial(other)
- param other:
Constructs a new editorial object.
Constructs a copy of
otherif possible, otherwise constructs a default editorial object.
- PySide2.QtLocation.QPlaceEditorial.language()¶
- Return type:
str
Returns the language of the editorial. Typically this would be a language code in the 2 letter ISO 639-1 format.
See also
- PySide2.QtLocation.QPlaceEditorial.setLanguage(data)¶
- Parameters:
data – str
Sets the
languageof the editorial. Typically this would be a language code in the 2 letter ISO 639-1 format.See also
- PySide2.QtLocation.QPlaceEditorial.setText(text)¶
- Parameters:
text – str
Sets the
textof the editorial.See also
- PySide2.QtLocation.QPlaceEditorial.setTitle(data)¶
- Parameters:
data – str
Sets the
titleof the editorial.See also
- PySide2.QtLocation.QPlaceEditorial.text()¶
- Return type:
str
Returns a textual description of the place.
Depending upon the provider, the editorial text could be either rich(HTML based) text or plain text.
See also
- PySide2.QtLocation.QPlaceEditorial.title()¶
- Return type:
str
Returns the title of the editorial.
See also
© 2022 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.