16#ifndef QGSADVANCEDDIGITIZINGFLOATER
17#define QGSADVANCEDDIGITIZINGFLOATER
19#include "ui_qgsadvanceddigitizingfloaterbase.h"
55 CommonAngleSnapping = 1 << 6,
131 void changeX(
const QString &text );
132 void changeY(
const QString &text );
133 void changeZ(
const QString &text );
134 void changeM(
const QString &text );
135 void changeCommonAngleSnapping(
double angle );
136 void changeDistance(
const QString &text );
137 void changeAngle(
const QString &text );
138 void changeBearing(
const QString &text );
139 void changeLockX(
bool locked );
140 void changeLockY(
bool locked );
141 void changeLockZ(
bool locked );
142 void changeLockM(
bool locked );
143 void changeLockDistance(
bool locked );
144 void changeLockAngle(
bool locked );
145 void changeRelativeX(
bool relative );
146 void changeRelativeY(
bool relative );
147 void changeRelativeZ(
bool relative );
148 void changeRelativeM(
bool relative );
150 void changeRelativeAngle(
bool relative );
156 void focusOnDistance();
157 void enabledChangedX(
bool enabled );
158 void enabledChangedY(
bool enabled );
159 void enabledChangedZ(
bool enabled );
160 void enabledChangedM(
bool enabled );
161 void enabledChangedAngle(
bool enabled );
162 void enabledChangedDistance(
bool enabled );
163 void enabledCommonAngleSnapping(
bool enabled );
164 void enabledChangedBearing(
bool enabled );
171 QPointer<QgsAdvancedDigitizingDockWidget> mCadDockWidget;
177 bool eventFilter( QObject *obj, QEvent *event )
override SIP_FORCE;
183 void updatePos(
const QPoint &pos );
188 void hideIfDisabled();
191 bool mActive =
false;
QgsAdvancedDigitizingFloater(QgsMapCanvas *canvas, QgsAdvancedDigitizingDockWidget *cadDockWidget)
Create an advanced digitizing floater widget.
void setItemVisibility(const QgsAdvancedDigitizingFloater::FloaterItem &item, bool visible)
Set whether the floater item should be visible or not.
FloaterItem
Available floater items.
bool itemVisibility(const QgsAdvancedDigitizingFloater::FloaterItem &item) const
Returns true if the floater item visibility setting is enabled.
void setActive(bool active)
Set whether the floater should be active or not.
void enabledChangedWeight(bool enabled)
Shows or hides the weight widget in the floater for NURBSCurve.
void focusOnWeight()
Requests focus on the weight input field for NURBSCurve.
void changeWeight(const QString &text)
Updates the weight value displayed in the floater for NURBSCurve.
QFlags< FloaterItem > FloaterItems
bool active()
Whether the floater is active or not.
Map canvas is a class for displaying all GIS data types on a canvas.
#define SIP_ENUM_BASETYPE(type)