Skip to content

FormElement Class

  • FormElement
  • class Esri::ArcGISRuntime::FormElement

    An element displayed in a form, such as a FieldFormElement or GroupFormElement. More...

    Public Functions

    virtual ~FormElement() override
    QString description() const
    Esri::ArcGISRuntime::FormElementType formElementType() const
    bool isVisible() const
    QString label() const
    QString toJson() const
    bool operator==(Esri::ArcGISRuntime::FormElement *otherElement) const

    Signals

    void visibleChanged(bool isVisible)

    Detailed Description

    A FieldFormElement defines a form element for editing a specified attribute and uses a FormInput to gather information from the user. A GroupFormElement organizes a set of other FormElement objects for display on the form.

    Member Function Documentation

    [override virtual noexcept] FormElement::~FormElement()

    Destructor.

    QString FormElement::description() const

    Returns a detailed description of the element.

    Esri::ArcGISRuntime::FormElementType FormElement::formElementType() const

    Returns the type of instantiated form element.

    bool FormElement::isVisible() const

    Returns the form element's visibility.

    This property can be modified by the visibility expression.

    QString FormElement::label() const

    Returns a descriptive label that appears with the element.

    If not supplied, a FieldFormElement is labeled with the alias property of the associated field.

    QString FormElement::toJson() const

    Convert and returns an object to JSON string.

    [signal] void FormElement::visibleChanged(bool isVisible)

    Signal emitted when the visibility changes

    • isVisible - The new isVisible state of the element.

    bool FormElement::operator==(Esri::ArcGISRuntime::FormElement *otherElement) const

    Tests and returns true if this FormElement is equal to a second FormElement object.

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