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(Esri::ArcGISRuntime::FloorFacility *floorFacility, QObject *parent = nullptr) | |
FloorFilterFacilityItem(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
modelId : const QString
Returns the facilityId
from the wrapped item.
Access functions:
QString | modelId() const |
Notifier signal:
void | floorFacilityChanged() |
name : const QString
Returns the name from the wrapped item.
Access functions:
QString | name() const |
Notifier signal:
void | floorFacilityChanged() |
parentSiteName : const QString
Returns the name of the parent site.
Access functions:
QString | parentSiteName() const |
Notifier signal:
void | floorFacilityChanged() |
Member Function Documentation
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.
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.
[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.
[override virtual]
FloorFilterFacilityItem::~FloorFilterFacilityItem ()
Destructor.
Esri::ArcGISRuntime::FloorFacility *FloorFilterFacilityItem::floorFacility () const
Returns the currently wrapped floorFacility
.
See also setFloorFacility().
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().