Defines which edit capabilities of the SketchEditor will be enabled or disabled. More...
Header: | #include <SketchEditConfiguration.h> |
Since: | Esri::ArcGISRuntime 100.12 |
Inherits: | Esri::ArcGISRuntime::Object |
This class was introduced in Esri::ArcGISRuntime 100.12.
Public Functions
SketchEditConfiguration(QObject *parent = nullptr) | |
virtual | ~SketchEditConfiguration() override |
bool | isAllowMove() const |
bool | isAllowPartSelection() const |
bool | isAllowVertexEditing() const |
bool | isRequireSelectionBeforeDrag() const |
bool | isShowMidVertices() const |
void | setAllowMove(bool allowMove) |
void | setAllowPartSelection(bool allowPartSelection) |
void | setAllowVertexEditing(bool allowVertexEditing) |
void | setRequireSelectionBeforeDrag(bool requireSelectionBeforeDrag) |
void | setShowMidVertices(bool showMidVertices) |
void | setVertexEditMode(Esri::ArcGISRuntime::SketchVertexEditMode vertexEditMode) |
Esri::ArcGISRuntime::SketchVertexEditMode | vertexEditMode() const |
Detailed Description
Member Function Documentation
SketchEditConfiguration::SketchEditConfiguration (QObject *parent = nullptr)
Default constructor.
- parent - The optional parent QObject.
[override virtual]
SketchEditConfiguration::~SketchEditConfiguration ()
Destructor.
bool SketchEditConfiguration::isAllowMove () const
Returns whether moving geometry is allowed.
bool SketchEditConfiguration::isAllowPartSelection () const
Returns whether selecting geometry is allowed.
bool SketchEditConfiguration::isAllowVertexEditing () const
Returns whether vertices are displayed and made available to edit.
bool SketchEditConfiguration::isRequireSelectionBeforeDrag () const
Returns whether selection of edit tool (i.e. vertex, scale, rotate, graphic) is required before it is dragged.
bool SketchEditConfiguration::isShowMidVertices () const
Returns whether the points between vertices are shown and made available to edit.
void SketchEditConfiguration::setAllowMove (bool allowMove )
Sets the allowMove to allowMove.
See also isAllowMove.
void SketchEditConfiguration::setAllowPartSelection (bool allowPartSelection )
Sets the allowPartSelection to allowPartSelection.
See also isAllowPartSelection.
void SketchEditConfiguration::setAllowVertexEditing (bool allowVertexEditing )
Sets the allowVertexEditing to allowVertexEditing.
See also isAllowVertexEditing.
void SketchEditConfiguration::setRequireSelectionBeforeDrag (bool requireSelectionBeforeDrag )
Sets the requireSelectionBeforeDrag to requireSelectionBeforeDrag.
See also isRequireSelectionBeforeDrag.
void SketchEditConfiguration::setShowMidVertices (bool showMidVertices )
Sets the showMidVertices to showMidVertices.
See also isShowMidVertices.
void SketchEditConfiguration::setVertexEditMode (Esri::ArcGISRuntime::SketchVertexEditMode vertexEditMode )
Sets the vertexEditMode to vertexEditMode.
See also vertexEditMode.
Esri::ArcGISRuntime::SketchVertexEditMode SketchEditConfiguration::vertexEditMode () const
Whether vertex location may also be updated by user interaction or just its selection state.
See also setVertexEditMode().