Skip to content

TextFormElement Class

  • TextFormElement
  • class Esri::ArcGISRuntime::TextFormElement

    A form element that configures read-only text in form elements. More...

    Header: #include <TextFormElement.h>
    Since: Esri::ArcGISRuntime 200.8
    Inherits: Esri::ArcGISRuntime::FormElement

    Public Functions

    virtual ~TextFormElement() override
    Esri::ArcGISRuntime::FormTextFormat format() const
    QString text() const

    Signals

    void textChanged(const QString &text)

    Detailed Description

    The web map specification for text form element does not have "label" and "description" values, so these properties on the base FormElement will always be empty strings.

    Member Function Documentation

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

    Destructor.

    Esri::ArcGISRuntime::FormTextFormat TextFormElement::format() const

    Defines and returns the format of text property.

    QString TextFormElement::text() const

    Returns a String value indicating the text to be displayed.

    [signal] void TextFormElement::textChanged(const QString &text)

    Signal emitted when the text changes

    • text - The new text of the element.

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