class QPlaceContactDetail

The QPlaceContactDetail class represents a contact detail such as a phone number or website url. More

Synopsis

Properties

  • labelᅟ - Label describing the contact detail

  • valueᅟ - The value of the contact detail

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

The detail consists of a label and value. The label is a localized string that can be presented to the end user that describes that detail value which is the actual phone number, email address and so on.

Contact Types

The QPlaceContactDetail class defines some constant strings which characterize standard contact types.

These types are used to access and modify contact details in QPlace via:

The contact type is intended to be a string type so that providers are able to introduce new contact types if necessary.

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property labelᅟ: str

This property holds a label describing the contact detail..

The label can potentially be localized. The language is dependent on the entity that sets it, typically this is the manager from which the places are sourced. The locales() field defines what language is used.

Access functions:
property valueᅟ: str

This property holds the value of the contact detail..

Access functions:
PySide6.QtLocation.QPlaceContactDetail.Phone
PySide6.QtLocation.QPlaceContactDetail.Email
PySide6.QtLocation.QPlaceContactDetail.Website
PySide6.QtLocation.QPlaceContactDetail.Fax
__init__()

Constructs a contact detail.

__init__(other)
Parameters:

otherQPlaceContactDetail

Creates a copy of other.

clear()

Clears the contact detail.

label()
Return type:

str

See also

setLabel()

Getter of property labelᅟ .

__ne__(rhs)
Parameters:

rhsQPlaceContactDetail

Return type:

bool

Returns true if the contact detail lhs is not equal to rhs, otherwise returns false.

__eq__(rhs)
Parameters:

rhsQPlaceContactDetail

Return type:

bool

Returns true if the contact detail lhs is equal to rhs, otherwise returns false.

setLabel(label)
Parameters:

label – str

See also

label()

Setter of property labelᅟ .

setValue(value)
Parameters:

value – str

See also

value()

Setter of property valueᅟ .

swap(other)
Parameters:

otherQPlaceContactDetail

value()
Return type:

str

See also

setValue()

Getter of property valueᅟ .