20 Commits

Author SHA1 Message Date
Nyall Dawson
49b426d951 Make doxygen_space script convert multiline //! comments
Because:
- the /** format is much more prevalent throughout QGIS
- sipify works correctly with /**
2017-10-06 07:55:52 +10:00
Martin Dobias
878dfddd3b Refactor CAD editing alignment logic to new QgsCadUtils class 2017-10-03 17:01:54 +02:00
Martin Dobias
f938b60f12 Handle mouse events of adv.digitizing map tools in the map tool base class 2017-09-10 16:34:13 +02:00
Martin Dobias
22ad67295b More advanced digitizing dock widget cleanups
- CaptureMode enum has been moved back to QgsMapToolCapture where it belongs
- map tools that need clearing of CAD points do so explicitly when needed
2017-09-10 16:34:13 +02:00
Martin Dobias
2f8afc02ab Remove some workarounds for advanced digitizing from node tool 2017-09-10 16:34:13 +02:00
Martin Dobias
0be0a4e30c Always use snapping configuration from the project in adv.digitizing dock
It was slightly confusing to have another override for snapping while it is possible
to configure "no snapping" or "all layers" snapping mode in project anyway.
And with the nice snapping toolbar it can be also done very quickly.
2017-08-16 14:37:19 +02:00
Matthias Kuhn
a9d7630a69 Rename QgsPointV2 to QgsPoint and QgsPoint to QgsPointXY
Because 3D coordinates should be the default.

References https://github.com/qgis/qgis3.0_api/issues/36
2017-06-02 19:53:37 +02:00
raymondnijssen
dce5b59fcb sipified qgsadvanceddigitizingdockwidget 2017-05-01 11:20:39 +02:00
Denis Rouzaud
0a63d1f2c2 [spellcheck] properly look into various cases and add more fixes" 2017-01-16 16:39:20 +01:00
Nyall Dawson
231f6af0e1 Don't return const references to implicitly shared Qt classes
Instead return the inexpensive copies. Should provide extra safety
against issues like #14822

(refs #14822)
2017-01-14 15:53:45 +10:00
Denis Rouzaud
6c74e4ea5d spelling fixes 2017-01-12 22:01:50 +01:00
Denis Rouzaud
99ed790820 rename enum to avoid confusion 2016-08-12 11:04:29 +02:00
Denis Rouzaud
af1fee525a Move feature now benefits from Advanced Digitizing
QgsMapToolMoveFeature now inherits QgsMapToolAdvancedDigitizing
this allows to specify distance, angles, complex and multiple moves at once
it is now a click and click operation (similarly to the rotate feature map tool): so it can be cancelled once enabled with the right click
2016-08-11 08:06:43 +02:00
Matthias Kuhn
f84584c6ad Fix header 2016-06-07 13:46:40 +02:00
ThomasG77
e4a1b3f8ad Remove reference to renamed QgsAdvancedDigitizingDock in API doc 2016-06-07 13:46:40 +02:00
Nyall Dawson
3a543e4fb8 Doxygen fixes 2016-05-02 21:50:40 +10:00
Nyall Dawson
e53cb6ef3c [FEATURE][cad] Implement "repeating" locking mode for constraints
When enabled, repeating locks are not automatically cleared when
a new point is added. They are handy when the same constraint
must be repeated for multiple points (eg adding vertices
which are always 50 meters apart)

(fix #12605)
2016-05-02 21:50:40 +10:00
Nyall Dawson
bd305885c2 [cad] update constraint when user changes values in widgets while
constraint is locked

The previous behaviour was that the constraint had to be "relocked"
if the user manually altered the constraint value in the text
widgets. Now users can edit the constraint value after already
locking the constraint.
2016-05-02 21:50:40 +10:00
Juergen E. Fischer
a90be95f7b sip sync 2016-02-14 03:50:49 +01:00
Matthias Kuhn
3831668f2e Sip bindings for editing and cad map tools 2015-09-11 12:02:25 +02:00