mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-01 00:05:25 -04:00
Remove initialization when it's already in header
This commit is contained in:
parent
08bbc90c9d
commit
442341f995
@ -26,7 +26,6 @@
|
|||||||
QgsMapToolAddCircle::QgsMapToolAddCircle( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode )
|
QgsMapToolAddCircle::QgsMapToolAddCircle( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode )
|
||||||
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget(), mode )
|
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget(), mode )
|
||||||
, mParentTool( parentTool )
|
, mParentTool( parentTool )
|
||||||
, mTempRubberBand( nullptr )
|
|
||||||
, mCircle( QgsCircle() )
|
, mCircle( QgsCircle() )
|
||||||
{
|
{
|
||||||
clean();
|
clean();
|
||||||
|
@ -46,7 +46,7 @@ class QgsMapToolAddCircle: public QgsMapToolCapture
|
|||||||
/** The parent map tool, e.g. the add feature tool.
|
/** The parent map tool, e.g. the add feature tool.
|
||||||
* Completed circle will be added to this tool by calling its addCurve() method.
|
* Completed circle will be added to this tool by calling its addCurve() method.
|
||||||
* */
|
* */
|
||||||
QgsMapToolCapture *mParentTool = nullptr;
|
QgsMapToolCapture *mParentTool;
|
||||||
//! Circle points (in map coordinates)
|
//! Circle points (in map coordinates)
|
||||||
QgsPointSequence mPoints;
|
QgsPointSequence mPoints;
|
||||||
//! The rubberband to show the circular string currently working on
|
//! The rubberband to show the circular string currently working on
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
QgsMapToolAddEllipse::QgsMapToolAddEllipse( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode )
|
QgsMapToolAddEllipse::QgsMapToolAddEllipse( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode )
|
||||||
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget(), mode )
|
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget(), mode )
|
||||||
, mParentTool( parentTool )
|
, mParentTool( parentTool )
|
||||||
, mTempRubberBand( nullptr )
|
|
||||||
, mEllipse( QgsEllipse() )
|
, mEllipse( QgsEllipse() )
|
||||||
{
|
{
|
||||||
clean();
|
clean();
|
||||||
|
@ -41,7 +41,7 @@ class QgsMapToolAddEllipse: public QgsMapToolCapture
|
|||||||
/** The parent map tool, e.g. the add feature tool.
|
/** The parent map tool, e.g. the add feature tool.
|
||||||
* Completed ellipse will be added to this tool by calling its toLineString() method.
|
* Completed ellipse will be added to this tool by calling its toLineString() method.
|
||||||
* */
|
* */
|
||||||
QgsMapToolCapture *mParentTool = nullptr;
|
QgsMapToolCapture *mParentTool;
|
||||||
//! Ellipse points (in map coordinates)
|
//! Ellipse points (in map coordinates)
|
||||||
QgsPointSequence mPoints;
|
QgsPointSequence mPoints;
|
||||||
//! The rubberband to show the ellipse currently working on
|
//! The rubberband to show the ellipse currently working on
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
QgsMapToolAddRectangle::QgsMapToolAddRectangle( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode )
|
QgsMapToolAddRectangle::QgsMapToolAddRectangle( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode )
|
||||||
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget(), mode )
|
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget(), mode )
|
||||||
, mParentTool( parentTool )
|
, mParentTool( parentTool )
|
||||||
, mTempRubberBand( nullptr )
|
|
||||||
, mRectangle( QgsRectangle() )
|
, mRectangle( QgsRectangle() )
|
||||||
{
|
{
|
||||||
clean();
|
clean();
|
||||||
|
@ -44,7 +44,7 @@ class QgsMapToolAddRectangle: public QgsMapToolCapture
|
|||||||
/** The parent map tool, e.g. the add feature tool.
|
/** The parent map tool, e.g. the add feature tool.
|
||||||
* Completed regular shape will be added to this tool by calling its addCurve() method.
|
* Completed regular shape will be added to this tool by calling its addCurve() method.
|
||||||
* */
|
* */
|
||||||
QgsMapToolCapture *mParentTool = nullptr;
|
QgsMapToolCapture *mParentTool;
|
||||||
//! Regular Shape points (in map coordinates)
|
//! Regular Shape points (in map coordinates)
|
||||||
QgsPointSequence mPoints;
|
QgsPointSequence mPoints;
|
||||||
//! The rubberband to show the rectangle currently working on
|
//! The rubberband to show the rectangle currently working on
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
QgsMapToolAddRegularPolygon::QgsMapToolAddRegularPolygon( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode )
|
QgsMapToolAddRegularPolygon::QgsMapToolAddRegularPolygon( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode )
|
||||||
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget(), mode )
|
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget(), mode )
|
||||||
, mParentTool( parentTool )
|
, mParentTool( parentTool )
|
||||||
, mTempRubberBand( nullptr )
|
|
||||||
, mRegularPolygon( QgsRegularPolygon() )
|
, mRegularPolygon( QgsRegularPolygon() )
|
||||||
{
|
{
|
||||||
clean();
|
clean();
|
||||||
|
@ -36,7 +36,7 @@ class QgsMapToolAddRegularPolygon: public QgsMapToolCapture
|
|||||||
/** The parent map tool, e.g. the add feature tool.
|
/** The parent map tool, e.g. the add feature tool.
|
||||||
* Completed regular polygon will be added to this tool by calling its addCurve() method.
|
* Completed regular polygon will be added to this tool by calling its addCurve() method.
|
||||||
* */
|
* */
|
||||||
QgsMapToolCapture *mParentTool = nullptr;
|
QgsMapToolCapture *mParentTool;
|
||||||
//! Regular Shape points (in map coordinates)
|
//! Regular Shape points (in map coordinates)
|
||||||
QgsPointSequence mPoints;
|
QgsPointSequence mPoints;
|
||||||
//! The rubberband to show the regular polygon currently working on
|
//! The rubberband to show the regular polygon currently working on
|
||||||
|
Loading…
x
Reference in New Issue
Block a user