Class QfCogoExecutor
A COGO operation exeuctor object allowing for property-driven access to COGO operations.
#include <qfcogoexecutor.h>
Inherits the following classes: QObject
Public Properties
| Type | Name |
|---|---|
| property bool | isReady |
| property QgsQuickMapSettings * | mapSettings |
| property QString | name |
| property QVariantMap | parameterValues |
| property QList< QfCogoParameter > | parameters |
| property QfRubberbandModel * | rubberbandModel |
| property QList< QfCogoVisualGuide > | visualGuides |
Public Signals
| Type | Name |
|---|---|
| signal void | isReadyChanged |
| signal void | mapSettingsChanged |
| signal void | nameChanged |
| signal void | parameterValuesChanged |
| signal void | parametersChanged |
| signal void | rubberbandModelChanged |
| signal void | visualGuidesChanged |
Public Functions
| Type | Name |
|---|---|
| QfCogoExecutor (QObject * parent=nullptr) |
|
| Q_INVOKABLE bool | execute () |
| bool | isReady () const |
| QgsQuickMapSettings * | mapSettings () const |
| QString | name () const |
| QVariantMap | parameterValues () const |
| QList< QfCogoParameter > | parameters () const |
| QfRubberbandModel * | rubberbandModel () const |
| void | setMapSettings (QgsQuickMapSettings * mapSettings) |
| void | setName (const QString & name) |
| void | setParameterValues (const QVariantMap & parameterValues) |
| void | setRubberbandModel (QfRubberbandModel * rubberbandModel) |
| QList< QfCogoVisualGuide > | visualGuides () const |
Public Properties Documentation
property isReady [1/2]
bool QfCogoExecutor::isReady;
COGO operation paired with the parameters' readiness to be executed.
property mapSettings [1/2]
QgsQuickMapSettings * QfCogoExecutor::mapSettings;
The map settings used when generating visual guides.
property name [1/2]
QString QfCogoExecutor::name;
The name of the COGO operation to be executed.
property parameterValues [1/2]
QVariantMap QfCogoExecutor::parameterValues;
The map of parameter values to be used when executing the COGO operation.
property parameters [1/2]
QList<QfCogoParameter> QfCogoExecutor::parameters;
The list of parameters of the COGO operation to be executed.
property rubberbandModel [1/2]
QfRubberbandModel * QfCogoExecutor::rubberbandModel;
The rubberband model to be used when executing the COGO operation.
property visualGuides [1/2]
QList<QfCogoVisualGuide> QfCogoExecutor::visualGuides;
The visual guides returned by the COGO operation paired with the parameters.
Public Signals Documentation
signal isReadyChanged
void QfCogoExecutor::isReadyChanged;
COGO operation paired with the parameters' readiness to be executed.
signal mapSettingsChanged
void QfCogoExecutor::mapSettingsChanged;
The map settings used when generating visual guides.
signal nameChanged
void QfCogoExecutor::nameChanged;
The name of the COGO operation to be executed.
signal parameterValuesChanged
void QfCogoExecutor::parameterValuesChanged;
signal parametersChanged
void QfCogoExecutor::parametersChanged;
The list of parameters of the COGO operation to be executed.
signal rubberbandModelChanged
void QfCogoExecutor::rubberbandModelChanged;
The rubberband model to be used when executing the COGO operation.
signal visualGuidesChanged
void QfCogoExecutor::visualGuidesChanged;
The visual guides returned by the COGO operation paired with the parameters.
Public Functions Documentation
function QfCogoExecutor
explicit QfCogoExecutor::QfCogoExecutor (
QObject * parent=nullptr
)
function execute
Q_INVOKABLE bool QfCogoExecutor::execute ()
Executes the COGO operation.
function isReady [2/2]
inline bool QfCogoExecutor::isReady () const
COGO operation paired with the parameters' readiness to be executed.
function mapSettings [2/2]
inline QgsQuickMapSettings * QfCogoExecutor::mapSettings () const
The map settings used when generating visual guides.
function name [2/2]
inline QString QfCogoExecutor::name () const
The name of the COGO operation to be executed.
function parameterValues [2/2]
inline QVariantMap QfCogoExecutor::parameterValues () const
The map of parameter values to be used when executing the COGO operation.
function parameters [2/2]
inline QList< QfCogoParameter > QfCogoExecutor::parameters () const
The list of parameters of the COGO operation to be executed.
function rubberbandModel [2/2]
inline QfRubberbandModel * QfCogoExecutor::rubberbandModel () const
The rubberband model to be used when executing the COGO operation.
function setMapSettings
void QfCogoExecutor::setMapSettings (
QgsQuickMapSettings * mapSettings
)
The map settings used when generating visual guides.
function setName
void QfCogoExecutor::setName (
const QString & name
)
The name of the COGO operation to be executed.
function setParameterValues
void QfCogoExecutor::setParameterValues (
const QVariantMap & parameterValues
)
The map of parameter values to be used when executing the COGO operation.
function setRubberbandModel
void QfCogoExecutor::setRubberbandModel (
QfRubberbandModel * rubberbandModel
)
The rubberband model to be used when executing the COGO operation.
function visualGuides [2/2]
QList< QfCogoVisualGuide > QfCogoExecutor::visualGuides () const
The visual guides returned by the COGO operation paired with the parameters.
The documentation for this class was generated from the following file src/core/cogo/qfcogoexecutor.h