mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Add actionVertexToolActiveLayer to iface
This commit is contained in:
parent
daab33c4d7
commit
e4e0948a3d
@ -414,9 +414,21 @@ Returns the native Delete Ring action.
|
||||
%Docstring
|
||||
Returns the native Delete Part action.
|
||||
%End
|
||||
|
||||
virtual QAction *actionVertexTool() = 0;
|
||||
%Docstring
|
||||
Returns the native Vertex Tool action.
|
||||
Returns the native "Vertex Tool for All Layers" action.
|
||||
|
||||
.. seealso:: :py:func:`actionVertexToolActiveLayer`
|
||||
%End
|
||||
|
||||
virtual QAction *actionVertexToolActiveLayer() = 0;
|
||||
%Docstring
|
||||
Returns the native "Vertex Tool for Active Layer" action.
|
||||
|
||||
.. seealso:: :py:func:`actionVertexTool`
|
||||
|
||||
.. versionadded:: 3.6
|
||||
%End
|
||||
|
||||
virtual QAction *actionPan() = 0;
|
||||
|
@ -452,6 +452,7 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
|
||||
QAction *actionDeleteRing() { return mActionDeleteRing; }
|
||||
QAction *actionDeletePart() { return mActionDeletePart; }
|
||||
QAction *actionVertexTool() { return mActionVertexTool; }
|
||||
QAction *actionVertexToolActiveLayer() { return mActionVertexToolActiveLayer; }
|
||||
QAction *actionSnappingOptions() { return mActionSnappingOptions; }
|
||||
QAction *actionOffsetCurve() { return mActionOffsetCurve; }
|
||||
QAction *actionPan() { return mActionPan; }
|
||||
|
@ -611,6 +611,7 @@ QAction *QgisAppInterface::actionSimplifyFeature() { return qgis->actionSimplify
|
||||
QAction *QgisAppInterface::actionDeleteRing() { return qgis->actionDeleteRing(); }
|
||||
QAction *QgisAppInterface::actionDeletePart() { return qgis->actionDeletePart(); }
|
||||
QAction *QgisAppInterface::actionVertexTool() { return qgis->actionVertexTool(); }
|
||||
QAction *QgisAppInterface::actionVertexToolActiveLayer() { return qgis->actionVertexToolActiveLayer(); }
|
||||
|
||||
QAction *QgisAppInterface::actionPan() { return qgis->actionPan(); }
|
||||
QAction *QgisAppInterface::actionPanToSelected() { return qgis->actionPanToSelected(); }
|
||||
|
@ -197,6 +197,7 @@ class APP_EXPORT QgisAppInterface : public QgisInterface
|
||||
QAction *actionDeleteRing() override;
|
||||
QAction *actionDeletePart() override;
|
||||
QAction *actionVertexTool() override;
|
||||
QAction *actionVertexToolActiveLayer() override;
|
||||
QAction *actionPan() override;
|
||||
QAction *actionPanToSelected() override;
|
||||
QAction *actionZoomIn() override;
|
||||
|
@ -395,9 +395,20 @@ class GUI_EXPORT QgisInterface : public QObject
|
||||
virtual QAction *actionDeleteRing() = 0;
|
||||
//! Returns the native Delete Part action.
|
||||
virtual QAction *actionDeletePart() = 0;
|
||||
//! Returns the native Vertex Tool action.
|
||||
|
||||
/**
|
||||
* Returns the native "Vertex Tool for All Layers" action.
|
||||
* \see actionVertexToolActiveLayer()
|
||||
*/
|
||||
virtual QAction *actionVertexTool() = 0;
|
||||
|
||||
/**
|
||||
* Returns the native "Vertex Tool for Active Layer" action.
|
||||
* \see actionVertexTool()
|
||||
* \since QGIS 3.6
|
||||
*/
|
||||
virtual QAction *actionVertexToolActiveLayer() = 0;
|
||||
|
||||
// View menu actions
|
||||
//! Returns the native pan action. Call trigger() on it to set the default pan map tool.
|
||||
virtual QAction *actionPan() = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user