Nyall Dawson
8c8be007b9
Remove redundant setLayer slots from QgsField(ComboBox|ExpressionWidget)
...
and switch uses of remaining slot to new style connects
2016-11-22 08:25:57 +10:00
Matthias Kuhn
22dc096692
Enable WFS test with a fix to prevent crash on exit ( #3774 )
...
* Revert "Disable failing PyQgsOfflineEditingWFS test"
This reverts commit 33ee514b5dfdc1b57558cb9007df5b455a59fc17.
* Let lifetime of layers be controlled by QGIS
2016-11-21 22:07:52 +01:00
Nyall Dawson
ee710771e7
Merge pull request #3789 from nirvn/style_import_export_imp
...
[style manager] imporve import and export experience, save symbols' tags & favorite flag
2016-11-21 12:30:43 +10:00
Nyall Dawson
eda412d98c
Fix ui build warning
2016-11-21 10:40:04 +10:00
Nyall Dawson
6d0e8e62f0
Make max canvas scale 1600% ( fix #15861 )
...
Max canvas sacle should be a multiple of 2 so that zooming in
to the max and then back out again results in 100% zoom option.
Additionally, make the min/max zoom level not come from QSettings
as these aren't exposed anywhere
2016-11-21 10:38:26 +10:00
Nyall Dawson
22706036db
Merge pull request #3788 from nyalldawson/rel_dialog
...
Add relation dialog improvements
2016-11-21 08:56:07 +10:00
nirvn
2260780402
[style manager] decrease font size and add name & tags tooltip
...
for the import/export symbol preview list
2016-11-20 10:20:54 +07:00
nirvn
cc985c2318
use temporary memory db for style tests (avoids clash with default symbols)
2016-11-20 10:20:54 +07:00
nirvn
19368cfbee
[style manager] inform users of successful import
2016-11-20 10:20:54 +07:00
nirvn
08f8ca7ebd
[FEATURE][style manager] import/export of symbols' tags
...
and favorite flag
2016-11-20 10:20:40 +07:00
nirvn
a958c8a798
[style] add createMemoryDB() to QgsStyle to create temporary db
2016-11-19 16:04:03 +07:00
Nyall Dawson
b4533cdec0
Use standard map layer and field combo boxes in relation add dialog
2016-11-19 16:04:11 +10:00
Nyall Dawson
cac8de5b1f
Swap order of layers in relation add dialog
...
Make parent layer come before child layer
2016-11-19 15:51:15 +10:00
Mathieu Pellerin
9679b6a68a
[style dock] add minimum height to svg image list ( #3786 )
2016-11-19 13:45:24 +10:00
Alexander Bruy
f70a3b9e1d
[processing] move custom parameter definition inside corresponding
...
algorithm
2016-11-18 10:22:26 +02:00
Nyall Dawson
fc18fd98cc
Merge pull request #3778 from nirvn/style_manager_ui_imp
...
[style manager] improve UI
2016-11-18 17:46:22 +10:00
nirvn
8fcf8345bd
tests for two additional QgsStyle functions: tag() & symbolHasTag()
2016-11-18 14:14:16 +07:00
nirvn
5f3ba72547
[style manager] sort displayed symbols, insure tags are added only once
2016-11-18 14:14:16 +07:00
Alexander Bruy
72b4e72f05
Merge pull request #3783 from nyalldawson/create_attribute_index
...
[FEATURE][processing] Create attribute index algorithm
2016-11-18 09:13:41 +02:00
nirvn
13a0e48a26
[style manager] improve UI
...
- create a dedicated set of buttons for addition of tags and smartgroups
to make those actions more visible as well as getting rid of th need to
select a tag/smartgroup to create those (turns out to be quite confusing
for newcomers)
- move UI elements around, regroup {add,remove,edit} symbol buttons to
harmonize with other parts of QGIS; the elements' placement feels much
more natural now
2016-11-18 10:15:40 +07:00
Nyall Dawson
5e1a69fc88
[FEATURE][processing] Create attribute index algorithm
...
Allows creation of an index on an attribute in a layer for faster
attribute based filtering
Support depends on the underlying data provider for the layer
2016-11-18 10:56:02 +10:00
Nyall Dawson
263ba81c70
Fix ui build warnings
2016-11-18 08:06:53 +10:00
Matthias Kuhn
5f8fd2b4ae
Fix some leftover faulty attribute scopes
2016-11-17 15:02:35 +01:00
Matthias Kuhn
ebcfa72632
Add a simple layer scoped action example
2016-11-17 14:53:01 +01:00
Matthias Kuhn
10db74571f
Fix attribute table actions
2016-11-17 14:44:12 +01:00
Werner Macho
bf43d3d3cb
typo change Ctl to Ctrl
...
writing convention
2016-11-17 13:51:45 +01:00
Werner Macho
aea577009b
typo fix
...
small typo fix
2016-11-17 12:25:55 +01:00
Matthias Kuhn
1ffdadd75c
[travis] Preload libSegFault to debug crashes
2016-11-17 09:32:44 +01:00
Nyall Dawson
6b6896bf5b
Merge pull request #3777 from nirvn/symbols_preview_padding
...
[symbology] add padding value for symbol/coloramp preview
2016-11-17 15:28:45 +10:00
nirvn
a8a05ba751
[symbology] add padding value for symbol/coloramp preview
2016-11-17 11:43:53 +07:00
Nyall Dawson
24ffa15ecf
[FEATURE][processing] Extract by attribute can extract for null/notnull values
...
Adds support for filtering where an attribute value is null or not null
2016-11-17 13:09:23 +10:00
Nyall Dawson
fb8b931a8e
[processing] Fix error with field widget wrapper
2016-11-17 13:09:23 +10:00
Nyall Dawson
e624518e00
Merge pull request #3755 from nirvn/style_manager_upgrade
...
[FEATURE] Style management re-work and upgrade
2016-11-17 12:40:52 +10:00
Nyall Dawson
964ecfd743
Fix build
2016-11-17 09:04:19 +10:00
Nyall Dawson
089b663996
Show layer path tooltips in QgsMapLayerComboBox
...
Handy for differentiating between multiple layers with the
same name
2016-11-17 09:04:19 +10:00
Nyall Dawson
1da400a99d
Rename enum values for consistency
2016-11-17 09:04:19 +10:00
Nyall Dawson
fc65334a60
[processing] Add file picker to vector/raster/table parameters
...
in modeller
Makes it obvious that users can set an algorithm vector/raster/
table input to a fixed table
2016-11-17 09:04:19 +10:00
Nyall Dawson
f78f2a05c6
[processing] Use native QGIS map layer combobox
...
Switches the custom map layer combo box used in the run algorithm
dialog across to the standard QGIS map layer combo box
2016-11-17 09:04:19 +10:00
Nyall Dawson
5c3aea33b8
Allow filtering QgsMapLayerComboBox by data provider
2016-11-17 09:04:19 +10:00
Nyall Dawson
9ee7873572
Allow showing additional items in QgsMapLayerComboBox
...
These may represent additional layers such as layers which
are not included in the map layer registry, or paths to
layers which have not yet been loaded into QGIS.
2016-11-17 09:04:19 +10:00
Nyall Dawson
ec49341f85
Allow showing CRS in QgsMapLayerComboBox
2016-11-17 09:04:19 +10:00
Nyall Dawson
959f97f682
Allow not set choice in QgsMapLayerComboBox
2016-11-17 09:04:19 +10:00
Juergen E. Fischer
6638569074
oracle provider: allow switching workspaces through property
...
(cherry picked from commit 2dc448dfb8c568c20e69fc9e3955e5df63d9a880)
2016-11-16 23:53:21 +01:00
Matthias Kuhn
33ee514b5d
Disable failing PyQgsOfflineEditingWFS test
2016-11-16 15:05:37 +01:00
Nyall Dawson
af016cfb94
Don't use auto generated widgets for fields with provider default
...
value clause
Using auto widgets may cause the default value clause to be mangled,
eg by converting it to a number
2016-11-16 14:19:24 +01:00
Nyall Dawson
60bbd09339
Avoid double-evaluating postgres default values
2016-11-16 14:19:24 +01:00
Nyall Dawson
249c8dca20
Prioritise provider default literals over reused values when
...
creating a new feature
2016-11-16 14:19:24 +01:00
Nyall Dawson
631bd48aa0
Port remaining map tools, paste features, offline editing
...
to use new constraint/default clause handling methods
2016-11-16 14:19:24 +01:00
Nyall Dawson
091f488985
Make sure primary keys are always marked with a unique, not null
...
constraint for all providers
2016-11-16 14:19:24 +01:00
Nyall Dawson
b5864cd432
[FEATURE] Improve handling of defaults (inc provider default clauses,
...
literal defaults, and qgis expression defaults) and automatically
handle unique value constraints on layers
Add a new method QgsVectorLayerUtils::createFeature which returns
a new feature which includes all relevant defaults. Any fields
with unique value constraints will be guaranteed to have a value
which is unique for the field.
Currently only in use by the split feature tool.
Sponsored by Canton of Zug and the QGEP project
2016-11-16 14:19:24 +01:00