FieldsPopupElement Class

  • FieldsPopupElement
  • class Esri::ArcGISRuntime::FieldsPopupElement

    Represents a pop-up element of type fields that is displayed in a pop-up for a geoelement. More...

    Header: #include <FieldsPopupElement>
    Since: Esri::ArcGISRuntime 100.14
    Inherits: Esri::ArcGISRuntime::PopupElement

    This class was introduced in Esri::ArcGISRuntime 100.14.

    Public Functions

    FieldsPopupElement(const QList<Esri::ArcGISRuntime::PopupField *> &fields, QObject *parent = nullptr)
    virtual ~FieldsPopupElement() override
    QString description() const
    Esri::ArcGISRuntime::PopupFieldListModel *fields() const
    void setDescription(const QString &description)
    void setTitle(const QString &title)
    QString title() const

    Detailed Description

    See also PopupElementType and PopupElement.

    Member Function Documentation

    FieldsPopupElement::FieldsPopupElement(const QList<Esri::ArcGISRuntime::PopupField *> &fields, QObject *parent = nullptr)

    Creates a new fields pop-up element with the given QList of PopupField.

    • fields - An QList of PopupField objects defining how each field participates in the pop-up window.
    • parent - The optional parent QObject.

    [override virtual] FieldsPopupElement::~FieldsPopupElement()

    Destructor.

    QString FieldsPopupElement::description() const

    Returns an optional string value describing the element in detail.

    See also setDescription().

    Esri::ArcGISRuntime::PopupFieldListModel *FieldsPopupElement::fields() const

    Returns a PopupFieldListModel of PopupField objects defining how each field participates in the pop-up window.

    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() const

    Returns an optional string value indicating what the element represents.

    See also setTitle().

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.