The order of the fields PopupFieldListModel defines the order in which fields are displayed in the pop-up. Each field has a PopupField definition that defines the field format, whether the field is visible, editable, and so on.
Member Function Documentation[explicit]
FieldsPopupElement::FieldsPopupElement(const QList<Esri::ArcGISRuntime::PopupField *> &fields, QObject *parent = nullptr)
Creates a new fields pop-up element with the given QList of PopupField.
The order of the QList is the order that fields are shown in the pop-up window.
[override virtual noexcept]
FieldsPopupElement::~FieldsPopupElement()
Destructor.
QString FieldsPopupElement::description() constReturns a string value describing the element in detail. Can be an empty string.
See also setDescription().
Esri::ArcGISRuntime::PopupFieldListModel *FieldsPopupElement::fields() constReturns a QList of PopupField objects defining how each field participates in the pop-up window.
[since Esri::ArcGISRuntime 200.3]
QStringList FieldsPopupElement::formattedValues() const
Returns the formatted values for the fields defined in fields.
This property is populated once Popup::evaluateExpressionsAsync has completed successfully.
Dates and times are returned in the local timezone. If a field is part of a CodedValueDomain, the CodedValue::name is returned. If PopupElement::isEvaluated value is false
, an empty QStringList is returned.
This function was introduced in Esri::ArcGISRuntime 200.3.
[since Esri::ArcGISRuntime 200.3]
QStringList FieldsPopupElement::labels() const
Returns the user-friendly display names for the fields defined in fields.
This property is populated once Popup::evaluateExpressionsAsync has completed successfully.
If PopupElement::isEvaluated is false
, this property will return an empty QStringList.
This function was introduced in Esri::ArcGISRuntime 200.3.
void FieldsPopupElement::setDescription(const QString &description)Sets the description to description.
See also description.
void FieldsPopupElement::setTitle(const QString &title)Sets the title to title.
See also title.
QString FieldsPopupElement::title() constReturns a string value indicating what the element represents. The value can be an empty string.
See also setTitle().
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4