QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsAdvancedDigitizingCirclesIntersectionTool Class Reference

A advanced digitizing tools to handle the selection of a point at the intersection of two circles. More...

#include <qgsadvanceddigitizingtools.h>

Inheritance diagram for QgsAdvancedDigitizingCirclesIntersectionTool:
Inheritance graph
[legend]

Public Member Functions

 QgsAdvancedDigitizingCirclesIntersectionTool (QgsMapCanvas *canvas, QgsAdvancedDigitizingDockWidget *cadDockWidget)
 The advanced digitizing's circles intersection tool constructor.
 
 ~QgsAdvancedDigitizingCirclesIntersectionTool ()
 
void canvasMoveEvent (QgsMapMouseEvent *event) override
 Handles canvas press move.
 
void canvasReleaseEvent (QgsMapMouseEvent *event) override
 Handles canvas release event.
 
QWidget * createWidget () override
 Returns a widget to control the tool.
 
void paint (QPainter *painter) override
 Paints tool content onto the advanced digitizing canvas item.
 
- Public Member Functions inherited from QgsAdvancedDigitizingTool
 QgsAdvancedDigitizingTool (QgsMapCanvas *canvas, QgsAdvancedDigitizingDockWidget *cadDockWidget)
 The advanced digitizing tool constructor.
 
QgsAdvancedDigitizingDockWidgetcadDockWidget () const
 Returns the advanced digitizing widget associated with the tool.
 
virtual void canvasPressEvent (QgsMapMouseEvent *event)
 Handles canvas press event.
 
QgsMapCanvasmapCanvas () const
 Returns the map canvas associated with the tool.
 

Additional Inherited Members

- Signals inherited from QgsAdvancedDigitizingTool
void paintRequested ()
 Requests a new painting event to the advanced digitizing canvas item.
 
- Protected Attributes inherited from QgsAdvancedDigitizingTool
QPointer< QgsAdvancedDigitizingDockWidgetmCadDockWidget
 
QgsMapCanvasmMapCanvas = nullptr
 

Detailed Description

A advanced digitizing tools to handle the selection of a point at the intersection of two circles.

Since
QGIS 3.40

Definition at line 120 of file qgsadvanceddigitizingtools.h.

Constructor & Destructor Documentation

◆ QgsAdvancedDigitizingCirclesIntersectionTool()

QgsAdvancedDigitizingCirclesIntersectionTool::QgsAdvancedDigitizingCirclesIntersectionTool ( QgsMapCanvas canvas,
QgsAdvancedDigitizingDockWidget cadDockWidget 
)
explicit

The advanced digitizing's circles intersection tool constructor.

Parameters
canvasThe map canvas on which the widget operates
cadDockWidgetThe cadDockWidget to which the floater belongs

Definition at line 33 of file qgsadvanceddigitizingtools.cpp.

◆ ~QgsAdvancedDigitizingCirclesIntersectionTool()

QgsAdvancedDigitizingCirclesIntersectionTool::~QgsAdvancedDigitizingCirclesIntersectionTool ( )

Definition at line 38 of file qgsadvanceddigitizingtools.cpp.

Member Function Documentation

◆ canvasMoveEvent()

void QgsAdvancedDigitizingCirclesIntersectionTool::canvasMoveEvent ( QgsMapMouseEvent event)
overridevirtual

Handles canvas press move.

Note
To stop propagation, set the event's accepted property to false.

Reimplemented from QgsAdvancedDigitizingTool.

Definition at line 207 of file qgsadvanceddigitizingtools.cpp.

◆ canvasReleaseEvent()

void QgsAdvancedDigitizingCirclesIntersectionTool::canvasReleaseEvent ( QgsMapMouseEvent event)
overridevirtual

Handles canvas release event.

Note
To stop propagation, set the event's accepted property to false.

Reimplemented from QgsAdvancedDigitizingTool.

Definition at line 231 of file qgsadvanceddigitizingtools.cpp.

◆ createWidget()

QWidget * QgsAdvancedDigitizingCirclesIntersectionTool::createWidget ( )
overridevirtual

Returns a widget to control the tool.

Note
The caller gets the ownership.

Reimplemented from QgsAdvancedDigitizingTool.

Definition at line 46 of file qgsadvanceddigitizingtools.cpp.

◆ paint()

void QgsAdvancedDigitizingCirclesIntersectionTool::paint ( QPainter *  painter)
overridevirtual

Paints tool content onto the advanced digitizing canvas item.

Reimplemented from QgsAdvancedDigitizingTool.

Definition at line 303 of file qgsadvanceddigitizingtools.cpp.


The documentation for this class was generated from the following files: