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 |
Public Functions
Media | |
virtual | ~ |
Q | description() const |
Esri | media() const |
void | set |
void | set |
Q | title() const |
Detailed Description
See also PopupElementType.
Member Function Documentation
[explicit]
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 noexcept]
MediaPopupElement::~MediaPopupElement ()
Destructor.
QString MediaPopupElement::description() const
Returns a string value describing the element in detail. Can be an empty string.
See also setDescription().
Esri::ArcGISRuntime::PopupMediaListModel *MediaPopupElement::media() const
Returns a QList 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 a string value indicating what the element represents. Can be an empty string.
See also setTitle().