-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[advanced digitizing] Add circles intersection digitizing tool
- Loading branch information
Showing
17 changed files
with
787 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 84 additions & 0 deletions
84
python/PyQt6/gui/auto_generated/qgsadvanceddigitizingtools.sip.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/qgsadvanceddigitizingtools.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
|
||
class QgsAdvancedDigitizingTool : QWidget | ||
{ | ||
%Docstring(signature="appended") | ||
An abstract class for advanced digitizing tools. | ||
|
||
.. versionadded:: 3.40 | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsadvanceddigitizingtools.h" | ||
%End | ||
public: | ||
|
||
explicit QgsAdvancedDigitizingTool( QgsMapCanvas *canvas, QgsAdvancedDigitizingDockWidget *cadDockWidget ); | ||
%Docstring | ||
The advanced digitizing tool constructor. | ||
|
||
:param canvas: The map canvas on which the widget operates | ||
:param cadDockWidget: The cadDockWidget to which the floater belongs | ||
%End | ||
|
||
QgsMapCanvas *mapCanvas() const; | ||
%Docstring | ||
Returns the map canvas associated with the tool. | ||
%End | ||
|
||
QgsAdvancedDigitizingDockWidget *cadDockWidget() const; | ||
%Docstring | ||
Returns the advanced digitizing widget associated with the tool. | ||
%End | ||
|
||
virtual void paint( QPainter *painter ); | ||
%Docstring | ||
Paints tool content onto the advanced digitizing canvas item. | ||
%End | ||
|
||
virtual bool canvasPressEvent( QgsMapMouseEvent *event ); | ||
%Docstring | ||
Handles canvas press event. If ``True`` is returned, the tool will have | ||
blocked the event for propagating. | ||
%End | ||
|
||
virtual bool canvasMoveEvent( QgsMapMouseEvent *event ); | ||
%Docstring | ||
Handles canvas press move. If ``True`` is returned, the tool will have | ||
blocked the event for propagating. | ||
%End | ||
|
||
virtual bool canvasReleaseEvent( QgsMapMouseEvent *event ); | ||
%Docstring | ||
Handles canvas release event. If ``True`` is returned, the tool will have | ||
blocked the event for propagating. | ||
%End | ||
|
||
signals: | ||
|
||
void paintRequested(); | ||
%Docstring | ||
Requests a new painting event to the advanced digitizing canvas item. | ||
%End | ||
|
||
}; | ||
|
||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/qgsadvanceddigitizingtools.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 84 additions & 0 deletions
84
python/gui/auto_generated/qgsadvanceddigitizingtools.sip.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/qgsadvanceddigitizingtools.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
|
||
class QgsAdvancedDigitizingTool : QWidget | ||
{ | ||
%Docstring(signature="appended") | ||
An abstract class for advanced digitizing tools. | ||
|
||
.. versionadded:: 3.40 | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsadvanceddigitizingtools.h" | ||
%End | ||
public: | ||
|
||
explicit QgsAdvancedDigitizingTool( QgsMapCanvas *canvas, QgsAdvancedDigitizingDockWidget *cadDockWidget ); | ||
%Docstring | ||
The advanced digitizing tool constructor. | ||
|
||
:param canvas: The map canvas on which the widget operates | ||
:param cadDockWidget: The cadDockWidget to which the floater belongs | ||
%End | ||
|
||
QgsMapCanvas *mapCanvas() const; | ||
%Docstring | ||
Returns the map canvas associated with the tool. | ||
%End | ||
|
||
QgsAdvancedDigitizingDockWidget *cadDockWidget() const; | ||
%Docstring | ||
Returns the advanced digitizing widget associated with the tool. | ||
%End | ||
|
||
virtual void paint( QPainter *painter ); | ||
%Docstring | ||
Paints tool content onto the advanced digitizing canvas item. | ||
%End | ||
|
||
virtual bool canvasPressEvent( QgsMapMouseEvent *event ); | ||
%Docstring | ||
Handles canvas press event. If ``True`` is returned, the tool will have | ||
blocked the event for propagating. | ||
%End | ||
|
||
virtual bool canvasMoveEvent( QgsMapMouseEvent *event ); | ||
%Docstring | ||
Handles canvas press move. If ``True`` is returned, the tool will have | ||
blocked the event for propagating. | ||
%End | ||
|
||
virtual bool canvasReleaseEvent( QgsMapMouseEvent *event ); | ||
%Docstring | ||
Handles canvas release event. If ``True`` is returned, the tool will have | ||
blocked the event for propagating. | ||
%End | ||
|
||
signals: | ||
|
||
void paintRequested(); | ||
%Docstring | ||
Requests a new painting event to the advanced digitizing canvas item. | ||
%End | ||
|
||
}; | ||
|
||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/qgsadvanceddigitizingtools.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.