- Closes https://hub.qgis.org/issues/14378
- Adds new virtual methods in QgsDataProvider(): enterUpdateMode() and leaveUpdateMode()
and implement them in the OGR provider. Limited to shapefiles and tabfiles
- Implements QgsOGRProvider:reloadData()
- Robustify OGR provider methods so they don't crash if dataset re-opening fails.
features to edit menu
Workflow:
- enter edit mode, select multiple features
- select Edit -> Modify Attributes of Selected Features
- edit attributes using feature form, click OK or Cancel
The attribute action dialog had some UX flaws that an action was edited
in the same dialog as the action list lives. When changing the active
icon without applying changes, all changes have been lost. This fixes
this behavior by using a separate dialog to change action properties.
The original name was not representative for the scope of the class
and misleading at best.
The class manages actions for a given layer and it's not a single action
like the former name suggested.
There is a typedef introduced to keep it in the API until we can remove
it with QGIS 3.
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)
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.
Usually QObjects must subclass and override methods like focusOutEvent
to handle focus events. Using this class as an event filter avoids
the need to subclass objects and the focus events can be directly
caught using the emitted signals.
This brings the behaviour of the freehand select into line with
the select by rectangle tool, which allows clicks without drag to
select a single feature.
(fix#14747)