Represents a pop-up element of type media that is displayed in a pop-up for a geoelement. More...
| Header | #include <Media |
| Since | Esri |
| Inherits | Esri |
This class was introduced in Esri::ArcGISRuntime 100.14.
Public Functions
| Media | |
| virtual | ~ |
| QString | description() const |
| Esri | media() const |
| void | set |
| void | set |
| QString | title() const |
Detailed Description
See also PopupElementType and PopupElement.
Member Function Documentation
MediaPopupElement::MediaPopupElement (const QList<Esri::ArcGISRuntime::PopupMedia *> &media, QObject *parent = nullptr)
Creates a new media pop-up element with the given QList of PopupMedia.
- media - An QList of PopupMedia objects that define images and charts displayed in the pop-up window.
- parent - The optional parent QObject.
[override virtual] MediaPopupElement::~MediaPopupElement ()
Destructor.
QString MediaPopupElement::description() const
Returns an optional string value describing the element in detail.
See also setDescription().
Esri::ArcGISRuntime::PopupMediaListModel *MediaPopupElement::media() const
Returns a PopupMediaListModel of PopupMedia objects that define images and charts displayed in the pop-up window.
void MediaPopupElement::setDescription (const QString &description)
Sets the description to description.
See also description.
void MediaPopupElement::setTitle (const QString &title)
Sets the title to title.
See also title.
QString MediaPopupElement::title() const
Returns an optional string value indicating what the element represents.
See also setTitle().