QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Public Slots | Public Member Functions | List of all members
QgsAdvancedDigitizingFloater Class Reference

The QgsAdvancedDigitizingFloater class is widget that floats next to the mouse pointer, and allow interaction with the AdvancedDigitizing feature. More...

#include <qgsadvanceddigitizingfloater.h>

Inheritance diagram for QgsAdvancedDigitizingFloater:
Inheritance graph
[legend]

Public Slots

void setActive (bool active)
 Set whether the floater should be active or not. More...
 

Public Member Functions

 QgsAdvancedDigitizingFloater (QgsMapCanvas *canvas, QgsAdvancedDigitizingDockWidget *cadDockWidget)
 Create an advanced digitizing floater widget. More...
 
bool active ()
 Whether the floater is active or not. More...
 

Detailed Description

The QgsAdvancedDigitizingFloater class is widget that floats next to the mouse pointer, and allow interaction with the AdvancedDigitizing feature.

It proxies display and actions to QgsMapToolAdvancedDigitizingDockWidget.

Note
This class is a technology preview and unstable API.
Since
QGIS 3.8

Definition at line 38 of file qgsadvanceddigitizingfloater.h.

Constructor & Destructor Documentation

◆ QgsAdvancedDigitizingFloater()

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

Create an advanced digitizing floater widget.

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

Definition at line 26 of file qgsadvanceddigitizingfloater.cpp.

Member Function Documentation

◆ active()

bool QgsAdvancedDigitizingFloater::active ( )

Whether the floater is active or not.

Note that the floater may be active but not visible (e.g. if the mouse is not over the canvas).

Since
QGIS 3.8

Definition at line 124 of file qgsadvanceddigitizingfloater.cpp.

◆ setActive

void QgsAdvancedDigitizingFloater::setActive ( bool  active)
slot

Set whether the floater should be active or not.

Note that the floater may be active but not visible (e.g. if the mouse is not over the canvas).

Parameters
active
Since
QGIS 3.8

Definition at line 129 of file qgsadvanceddigitizingfloater.cpp.


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