QPlaceContactDetail

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

Inheritance diagram of PySide2.QtLocation.QPlaceContactDetail

Synopsis

Functions

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 .

  • QPlaceContactDetail::Phone

  • QPlaceContactDetail::Email

  • QPlaceContactDetail::Website

  • QPlaceContactDetail::Fax

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.

class PySide2.QtLocation.QPlaceContactDetail

PySide2.QtLocation.QPlaceContactDetail(other)

param other:

PySide2.QtLocation.QPlaceContactDetail

Constructs a contact detail.

Creates a copy of other .

PySide2.QtLocation.QPlaceContactDetail.Phone
PySide2.QtLocation.QPlaceContactDetail.Email
PySide2.QtLocation.QPlaceContactDetail.Website
PySide2.QtLocation.QPlaceContactDetail.Fax
PySide2.QtLocation.QPlaceContactDetail.clear()

Clears the contact detail.

PySide2.QtLocation.QPlaceContactDetail.label()
Return type:

str

Returns 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.

See also

setLabel()

PySide2.QtLocation.QPlaceContactDetail.__ne__(other)
Parameters:

otherPySide2.QtLocation.QPlaceContactDetail

Return type:

bool

Returns true if other is not equal to this contact detail, otherwise returns false.

PySide2.QtLocation.QPlaceContactDetail.__eq__(other)
Parameters:

otherPySide2.QtLocation.QPlaceContactDetail

Return type:

bool

Returns true if other is equal to this contact detail, otherwise returns false.

PySide2.QtLocation.QPlaceContactDetail.setLabel(label)
Parameters:

label – str

Sets the label of the contact detail.

See also

label()

PySide2.QtLocation.QPlaceContactDetail.setValue(value)
Parameters:

value – str

Sets the value of this contact detail.

See also

value()

PySide2.QtLocation.QPlaceContactDetail.value()
Return type:

str

Returns the value of the contact detail.

See also

setValue()