A child table that allows custom editing of features of a particular subtype. More...
Member Function Documentation[explicit]
SubtypeSubtable::SubtypeSubtable(const Esri::ArcGISRuntime::FeatureSubtype &subtype, QObject *parent = nullptr)
Creates a new subtype table object.
See also subtype and ArcGISFeatureTable::featureSubtypes.
QFuture<void> SubtypeSubtable::addFeatureAsync(Esri::ArcGISRuntime::ArcGISFeature *feature)Adds a feature to the table.
Use allowsEditing to determine if this operation is allowed.
This method returns a QFuture for the asynchronous operation. Use future.then() to continue processing when the operation completes. Use future.onFailed() to handle exceptions of type ErrorException.
See Working with QFuture for further details.
bool SubtypeSubtable::allowsEditing() constReturns true
if editing is allowed for this subtype, when editing is supported; false
, otherwise.
Indicates whether a client should allow feature editing for this subtype. When you set this value to true
, editing is allowed on the subtype only if the ArcGIS data source also supports editing.
See also setAllowsEditing() and FeatureTable::isEditable.
Esri::ArcGISRuntime::ArcGISFeature *SubtypeSubtable::createFeature(QObject *parent = nullptr) constReturns a new feature based on subtype with an optional parent.
Esri::ArcGISRuntime::ArcGISFeature *SubtypeSubtable::createFeature(const Esri::ArcGISRuntime::FeatureTemplate &featureTemplate, QObject *parent = nullptr) constReturns a new feature based on the provided feature template from featureTemplates.
Deletes a feature from the table.
Use allowsEditing to determine if this operation is allowed.
This method returns a QFuture for the asynchronous operation. Use future.then() to continue processing when the operation completes. Use future.onFailed() to handle exceptions of type ErrorException.
See Working with QFuture for further details.
[override virtual, since Esri::ArcGISRuntime 200.8]
Esri::ArcGISRuntime::FeatureFormDefinition *SubtypeSubtable::featureFormDefinition() const
Reimplements: FeatureFormSource::featureFormDefinition() const.
Defines and returns the user interface to display when editing a feature in this layer or table.
This is nullptr
if an error occurs or if the table does not have an associated feature form definition.
This function was introduced in Esri::ArcGISRuntime 200.8.
QList<Esri::ArcGISRuntime::FeatureTemplate> SubtypeSubtable::featureTemplates() constReturns the collection of FeatureTemplate objects applicable to this subtype.
A collection of templates that can be used to create new features of subtype with default attribute values and a specified mode for creating its geometry.
See also FeatureTemplate and createFeature(const Esri::ArcGISRuntime::FeatureTemplate&, QObject*).
[override virtual]
bool SubtypeSubtable::isPopupEnabled() const
Reimplements: PopupSource::isPopupEnabled() const.
Returns a flag indicating whether the PopupDefinition defined on the PopupSource is enable / disable.
Will return false
if an error occurs.
Returns a user-friendly name that can be displayed in the UI (for example, in a Table of Contents).
The default value is FeatureSubtype::name.
See also setName().
[override virtual]
Esri::ArcGISRuntime::PopupDefinition *SubtypeSubtable::popupDefinition() const
Reimplements: PopupSource::popupDefinition() const.
Returns the pop-up definition.
The PopupDefinition associated with the popup source. A nullptr
if an error occurs or if the popup source is not associated with a pop-up definition.
See also setPopupDefinition().
QFuture<Esri::ArcGISRuntime::FeatureQueryResult *> SubtypeSubtable::queryFeaturesAsync(const Esri::ArcGISRuntime::QueryParameters ¶meters, QObject *parent = nullptr)Submits a query against the table with results filtered by this subtype.
This method returns a QFuture for the asynchronous operation. Use future.then() to continue processing when the operation completes. Use future.onFailed() to handle exceptions of type ErrorException.
See Working with QFuture for further details.
void SubtypeSubtable::setAllowsEditing(bool allowsEditing)Sets allowsEditing to allowsEditing.
See also allowsEditing.
void SubtypeSubtable::setName(const QString &name)Sets the name to name.
See also name.
[override virtual]
void SubtypeSubtable::setPopupDefinition(Esri::ArcGISRuntime::PopupDefinition *popupDefinition)
Reimplements: PopupSource::setPopupDefinition(Esri::ArcGISRuntime::PopupDefinition *popupDefinition).
Sets the popupDefinition to popupDefinition.
See also popupDefinition.
[override virtual]
void SubtypeSubtable::setPopupEnabled(bool popupEnabled)
Reimplements: PopupSource::setPopupEnabled(bool popupEnabled).
Sets the popupEnabled to popupEnabled.
See also isPopupEnabled.
Esri::ArcGISRuntime::FeatureSubtype SubtypeSubtable::subtype() constReturns the subtype in the ArcGIS data source that this table represents.
QFuture<void> SubtypeSubtable::updateFeatureAsync(Esri::ArcGISRuntime::ArcGISFeature *feature)Updates a feature in the table.
Use allowsEditing to determine if this operation is allowed.
This method returns a QFuture for the asynchronous operation. Use future.then() to continue processing when the operation completes. Use future.onFailed() to handle exceptions of type ErrorException.
See Working with QFuture for further details.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4