An item contained within FloorFilterController::facilities. This class wraps a FloorFacility
for easy manipulation/inspection within an AbstractItemModel. More...
Header: | #include <FloorFilterFacilityItem> |
Inherits: | QObject |
Properties
- modelId : const QString
- name : const QString
- parentSiteName : const QString
Public Functions
FloorFilterFacilityItem(QObject *parent = nullptr) | |
FloorFilterFacilityItem(Esri::ArcGISRuntime::FloorFacility *floorFacility, QObject *parent = nullptr) | |
virtual | ~FloorFilterFacilityItem() override |
Esri::ArcGISRuntime::FloorFacility * | floorFacility() const |
QString | modelId() const |
QString | name() const |
QString | parentSiteId() const |
QString | parentSiteName() const |
void | setFloorFacility(Esri::ArcGISRuntime::FloorFacility *floorFacility) |
Signals
void | floorFacilityChanged() |
Detailed Description
Property Documentation
[read-only]
modelId : const QString
Returns the facilityId
from the wrapped item.
Access functions:
QString | modelId() const |
Notifier signal:
void | floorFacilityChanged() |
[read-only]
name : const QString
Returns the name from the wrapped item.
Access functions:
QString | name() const |
Notifier signal:
void | floorFacilityChanged() |
[read-only]
parentSiteName : const QString
Returns the name of the parent site.
Access functions:
QString | parentSiteName() const |
Notifier signal:
void | floorFacilityChanged() |
Member Function Documentation
[invokable]
FloorFilterFacilityItem::FloorFilterFacilityItem (QObject *parent = nullptr)
Constructs a new empty FloorFilterFacilityItem object with a given parent.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[invokable]
FloorFilterFacilityItem::FloorFilterFacilityItem (Esri::ArcGISRuntime::FloorFacility *floorFacility , QObject *parent = nullptr)
Constructs a new empty FloorFilterFacilityItem object with a given parent and floorFacility to wrap.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[override virtual]
FloorFilterFacilityItem::~FloorFilterFacilityItem ()
Destructor.
Esri::ArcGISRuntime::FloorFacility *FloorFilterFacilityItem::floorFacility () const
Returns the currently wrapped floorFacility
.
See also setFloorFacility().
[signal]
void FloorFilterFacilityItem::floorFacilityChanged ()
Signal emitted when the wrapped floorFacility changes.
Note: Notifier signal for property modelId. Notifier signal for property name. Notifier signal for property parentSiteId. Notifier signal for property parentSiteName.
QString FloorFilterFacilityItem::parentSiteId () const
Returns the id of the parent site.
Note: Getter function for property parentSiteId.
void FloorFilterFacilityItem::setFloorFacility (Esri::ArcGISRuntime::FloorFacility *floorFacility )
Change the underlying wrapped item to floorFacility.
See also floorFacility().