QPlaceContactDetail¶
The
QPlaceContactDetail
class represents a contact detail such as a phone number or website url. More…
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:
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
- PySide2.QtLocation.QPlaceContactDetail.__ne__(other)¶
- Parameters:
- Return type:
bool
Returns true if
other
is not equal to this contact detail, otherwise returns false.
- PySide2.QtLocation.QPlaceContactDetail.__eq__(other)¶
- Parameters:
- 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
- PySide2.QtLocation.QPlaceContactDetail.setValue(value)¶
- Parameters:
value – str
Sets the
value
of this contact detail.See also
- PySide2.QtLocation.QPlaceContactDetail.value()¶
- Return type:
str
Returns the value of the contact detail.
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.