Represents a pop-up element of type text that is displayed in a pop-up for a geoelement. More...
Header: | #include <TextPopupElement> |
Since: | Esri::ArcGISRuntime 100.14 |
Inherits: | Esri::ArcGISRuntime::PopupElement |
This class was introduced in Esri::ArcGISRuntime 100.14.
Public Functions
TextPopupElement(const QString &text, QObject *parent = nullptr) | |
virtual | ~TextPopupElement() override |
void | setText(const QString &text) |
QString | text() const |
Detailed Description
See also PopupElementType and PopupElement.
Member Function Documentation
TextPopupElement::TextPopupElement (const QString &text, QObject *parent = nullptr)
Creates a new text pop-up element with the given text.
- text - This is string value indicating the text to be displayed within the popupElement. If no `text` property is provided, the popupElement will display whatever is specified in the PopupDefinition::description property.
- parent - The optional parent QObject.
[override virtual]
TextPopupElement::~TextPopupElement ()
Destructor.
void TextPopupElement::setText (const QString &text)
Sets the text to text.
See also text.
QString TextPopupElement::text() const
Returns the text to display in the pop-up.
See also setText().