QPlaceEditorial露

The QPlaceEditorial class represents a publisher鈥檚 article describing a place. More鈥�

Inheritance diagram of PySide2.QtLocation.QPlaceEditorial

Synopsis露

Functions露

Detailed Description露

Each QPlaceEditorial has a title, text and language; in addition to those properties inherited from QPlaceContent .

Note: The Places API only supports editorials as 鈥榬etrieve-only鈥� objects. Submitting editorials to a provider is not a supported use case.

See also

QPlaceContent

class PySide2.QtLocation.QPlaceEditorial露

PySide2.QtLocation.QPlaceEditorial(other)

param other:

PySide2.QtLocation.QPlaceContent

Constructs a new editorial object.

Constructs a copy of other if 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

setLanguage()

PySide2.QtLocation.QPlaceEditorial.setLanguage(data)露
Parameters:

data 鈥� str

Sets the language of the editorial. Typically this would be a language code in the 2 letter ISO 639-1 format.

See also

language()

PySide2.QtLocation.QPlaceEditorial.setText(text)露
Parameters:

text 鈥� str

Sets the text of the editorial.

See also

text()

PySide2.QtLocation.QPlaceEditorial.setTitle(data)露
Parameters:

data 鈥� str

Sets the title of the editorial.

See also

title()

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

setText()

PySide2.QtLocation.QPlaceEditorial.title()露
Return type:

str

Returns the title of the editorial.

See also

setTitle()