Larry Shaffer
9bb32357c7
Update finding QCA OSSL plugin for Qt5 and C++11
2016-11-20 15:30:12 -07:00
Larry Shaffer
74dfd1f4b0
Check for Qt5-specific version of Mac qca framework
2016-11-20 15:30:12 -07:00
Larry Shaffer
e9fa3e0488
Check for Qt5 subdirectory in PYQT5_SIP_DIR
2016-11-20 15:30:12 -07:00
Larry Shaffer
4c2725b069
Use Qt5 non-OpenSSL define in testing for SSL support
2016-11-20 15:30:12 -07: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
Nyall Dawson
95271c869b
Fix clearing constraints
2016-11-16 14:19:24 +01:00
Nyall Dawson
747097d43d
New method QgsVectorLayerUtils::createUniqueValue
...
Returns a new unique attribute value for a layer. For numeric
fields this is the max attribute value + 1, for strings we
attempt to create a unique value by append _1, _2, etc to either
a specified 'seed' value, or failing that to the end of the
value of that field from the first feature in the layer.
2016-11-16 14:19:24 +01:00
Nyall Dawson
4682eaf6eb
Add QgsVectorLayer::uniqueStringsMatching() to retrieve
...
a list of unique strings matching a substring for a field
2016-11-16 14:19:24 +01:00
Nyall Dawson
3242321aa9
[FEATURE] Add method to get list of unique strings matching
...
a substring from a vector data provider
Base implementation iterates through all features, but
providers can override with optimised versions. Native
implementations for postgres, spatialite and OGR included.
2016-11-16 14:19:24 +01:00
volaya
ff691a6bc4
Merge pull request #3747 from nyalldawson/num_input
...
[processing] Restore spin box widget for number inputs outside modeller
2016-11-16 13:59:25 +01:00
Juergen E. Fischer
582a56d85c
fix f2e3d53 indentation
2016-11-16 13:09:08 +01:00
Juergen E. Fischer
f2e3d5308d
oracle provider: fix retrieval of column comments for geometryless tables ( fixes #15853 )
...
(cherry picked from commit a62fdb085d741da898f2bbb048c33b58aee9d630)
2016-11-16 11:54:31 +01:00
nirvn
b32a719798
[symbology] draw effect(s) when rendering preview icon
2016-11-16 11:22:06 +01:00
Matthias Kuhn
f5f2850679
More api break documentation
2016-11-16 09:33:19 +01:00