14 Commits

Author SHA1 Message Date
Alessandro Pasotti
5d720fbb5f Enum class for ColumnDataIndex + constraints 2020-04-03 21:21:14 +10:00
Denis Rouzaud
ed7c73fb3f add init methods for clarity 2020-03-26 14:55:50 +01:00
Denis Rouzaud
6e55bd5ea5
use Q_ENUM macro in QgsFileWidget (#34665)
this will allow configuring properly the custom widget
2020-02-25 22:48:27 +01:00
Nyall Dawson
dac7259b46 [needs-docs] Rework new project CRS handling
The previous approach was severely broken, because the default
CRS for new projects setting was ignored as soon as a layer
was added to the project.

Instead, refine the setting to add options
- "Use CRS from first layer added": same as previous behavior,
the project CRS is set to match the first layer added to a new
project
- "Use a default CRS": CRS for a new project is set to a preset
default CRS, and is left unchanged when adding layers to the
project

Also update qgis_global_settings.ini to reflect these changes.

Fixes #27516
2019-05-30 06:28:32 +10:00
Denis Rouzaud
f680466bf7 [FEATURE] add toolbar in attribute table to browse feature list
arrows allow browsing the feature list in the attribute table in form view
the current edited feature can be highlighted and the map canvas automatically panned or zoomed
2019-05-15 06:52:08 -05:00
Denis Rouzaud
60682885c0
Small tweak to enum Python docs (#9631)
original credits to @nyalldawson
2019-03-26 14:00:37 -05:00
Denis Rouzaud
38c2d4a03d fix dox for unnested enums 2019-03-24 21:40:33 -05:00
Denis Rouzaud
375a0aa253 create scope based enum for QgsMapLayer::LayerType >> QgsMapLayerType
the enum is moved out of the class
this will allow forward declaration more easily since the enum is not nested in the class
2019-03-24 21:40:33 -05:00
Denis Rouzaud
0e5c91234f add missing new line 2019-03-08 12:00:02 +01:00
Denis Rouzaud
20883c9532 run sipify 2019-03-07 21:07:53 +01:00
signedav
b3e4755e2e Enum Mode in QgsAttributeEditorContext
instead of QgsAttributeForm - because it's used on places not including QgsAttributeForm
now it's able to use @form_mode in expressions of containers and QML widgets
2018-09-11 12:14:20 +02:00
Nyall Dawson
69ab3c9e0c Start on history item 2018-07-16 11:38:13 +10:00
Denis Rouzaud
164f662dc0 fix sipify and run 2018-06-03 11:07:09 -08:00
Denis Rouzaud
e5b02cd2a8 use dedicated files for auto additions 2018-06-03 11:07:09 -08:00