Martin Dobias
a36567a47a
Fix compilation error
2015-09-21 12:57:10 +08:00
Martin Dobias
d0fcc9557f
More labeling engine refactoring
...
- QgsPalLabeling now internally uses new engine
- label/diagram providers can hook into rendering loop to avoid extra feature loops
- map rendering uses the new engine instead of QgsPalLabeling
This code has been funded by Tuscany Region (Italy) - SITA (CIG: 63526840AE) and commissioned to Gis3W s.a.s.
2015-09-21 12:57:09 +08:00
Martin Dobias
8100495df6
Integrate new labeling engine into the map rendering
...
Now used instead of QgsPalLabeling for labels/diagrams
This code has been funded by Tuscany Region (Italy) - SITA (CIG: 63526840AE) and commissioned to Gis3W s.a.s.
2015-09-21 12:57:09 +08:00
Nyall Dawson
73d838fd81
[FEATURE] Add concentric ring placement mode for displacement renderer
2015-09-18 13:20:53 +10:00
Nyall Dawson
586d59a432
[FEATURE] Add option to map unit scaling for limiting size in mm
...
Previously only the option to limit the scale range of the scaling
was available. Now you can also choose to limit the corresponding
rendered size in mm.
2015-09-17 20:35:27 +10:00
Nyall Dawson
f0a2fc1925
QgsMapUnitScale fixes:
...
- add docs
- add missing SIP bindings
- remove unnecessary cast from double->float->double
- add unit tests
2015-09-17 20:35:00 +10:00
Nyall Dawson
5a9d932d9c
[FEATURE] Allow tolerance in mm/pixels for displacement renderer
2015-09-16 17:11:32 +10:00
mhugent
8640c13002
Merge pull request #2298 from nyalldawson/fix_13099
...
Fix #13099 - removal of geometries using node tool
2015-09-11 16:57:23 +02:00
Nyall Dawson
390ea4e9ba
Sort variables in variable editor
2015-09-11 17:11:48 +10:00
Nyall Dawson
910cb01698
Fix broken QgsFeatureStore::setFields method
...
Was setting fields only on temporary copies of the features, not
the stored features themselves
2015-09-09 19:17:40 +10:00
Nyall Dawson
285c1d3ee1
Fix doxygen warning
2015-09-09 17:46:36 +10:00
Nyall Dawson
806da2d385
Fix QgsGeometry::insertVertex and deleteVertex compatibility with
...
<2.10 API and multipoint geometries
Also fix a crash in QgsGeometryCollection::removeGeometry
2015-09-09 16:11:09 +10:00
Matthias Kuhn
93e9204b43
Add test for rulebased renderer else rule
2015-09-08 17:03:21 +02:00
Nyall Dawson
fe9461be05
Add methods for retrieving extra parameters from symbol render
2015-09-08 22:08:18 +10:00
Nyall Dawson
bd2d78cea9
Ensure that select atlas variables are shown in expression builder
...
...even when they don't currently have a value assigned. This helps
users know which variables will be available in certain contexts.
2015-09-08 17:31:52 +10:00
Nyall Dawson
e8c3afa398
[FEATURE][composer] Custom format for grid annotations ( fix #9292 )
...
Allows composer map grid annotations in custom formats which are
evaluated using QgsExpressions. Made possible through the use
of Expression Contexts(tm)!
2015-09-08 17:31:34 +10:00
Nyall Dawson
97096e2d6b
Deprecate QgsExpression special column methods
2015-09-07 20:24:57 +10:00
Nyall Dawson
829ff50200
Expose map settings (rotation, scale) through expression contexts
2015-09-07 20:24:56 +10:00
Nyall Dawson
9133538a74
[FEATURE][composer] Advanced customisation of cell background color
...
for attribute tables
This allows users to set differing colors for alternating rows and
columns, first/last row/column and header row. Fixes #5131 .
Sponsored by Ville de Morges
2015-09-05 22:06:31 +10:00
Nyall Dawson
1c079ead02
Expression context fixes:
...
- Fix python API break in QgsExpression::Function
- Add convenience methods for retrieving feature/fields from a
context
2015-09-05 22:03:16 +10:00
mhugent
86115435f5
Merge pull request #2290 from mhugent/geometry_marker
...
Geometry marker
2015-09-05 09:12:06 +02:00
Marco Hugentobler
8e1a19a9cc
Documentation
2015-09-04 17:23:41 +02:00
Marco Hugentobler
56316ddcad
Consider curved geometries in marker line symbol layer
2015-09-04 14:53:06 +02:00
Nyall Dawson
096d46464d
Allow setting expression context for symbol widgets and dialogs
...
This means that symbol selectors can be aware of the correct variable
scope and values for both populating expression builder widgets and
for symbol previews.
2015-09-03 22:46:37 +10:00
Nyall Dawson
166e5bf9eb
[composer] Make some set symbol methods clone symbol, nicer API
...
for PyQGIS (fix #13304 )
2015-09-03 22:46:21 +10:00
Matthias Kuhn
ce1f657893
rule based renderer: skip else rule for disabled items
2015-09-02 07:57:47 +02:00
Nyall Dawson
8ce9930f4a
Fix leak in add map tool
2015-09-01 16:07:10 +10:00
Nyall Dawson
d7ab102daf
Fix some leaks in symbology widgets
2015-09-01 16:06:35 +10:00
Nathan Woodrow
46139d6591
Fix icon loading for themes
2015-08-31 21:16:19 +10:00
Matthias Kuhn
1e6f673a23
Update email address
2015-08-30 13:00:15 +02:00
Matthias Kuhn
aeeca48ac9
Provide a public API for invalidating connections.
...
QgsVectorDataProvider::forceReload() is the virtual method. It is implemented
in the OGR provider.
See here for reference:
http://gis.stackexchange.com/questions/159950/make-a-qgis-layer-update-from-a-changed-data-source
2015-08-29 20:50:58 +02:00
Matthias Kuhn
0099f2293c
Remove const from return-by-value functions
2015-08-28 16:52:11 +02:00
Nathan Woodrow
da3f7beeb0
Add UI theme support.
...
- Add dark theme (Night Mapping)
- Themes loaded from resources\themes and ~\.qgis2\themes
- Themes need folder + style.qss
2015-08-28 21:29:06 +10:00
Nyall Dawson
87022a4efd
Add mode for drawing just label rects for debugging
...
Sponsored by City of Uster
2015-08-28 11:01:46 +10:00
Nyall Dawson
e04f4018d1
Fix warnings
2015-08-26 06:52:02 +10:00
Nathan Woodrow
9094575b80
Merge branch 'master' of https://github.com/qgis/QGIS
...
Conflicts:
src/gui/attributetable/qgsfieldconditionalformatwidget.cpp
2015-08-25 22:45:05 +10:00
Nyall Dawson
24b8405d58
Ensure standard expressions functions are deleted on exit
...
(Avoids a lot of LeakSanitiser noise)
2015-08-25 21:40:32 +10:00
Nathan Woodrow
01d635a9ae
Merge remote-tracking branch 'origin'
2015-08-25 21:39:52 +10:00
Nathan Woodrow
2f60a5f85c
[Conditional Styles] Better defaults
...
Add QgsConditionalLayerStyles to hold row and field styles
2015-08-25 21:08:55 +10:00
mhugent
5807875797
Merge pull request #2268 from mhugent/curve_capture_tool
...
Curve capture tool
2015-08-24 18:18:40 +02:00
Nathan Woodrow
83115cd16a
Merge row style support for attribute table
...
Conflicts:
python/core/qgsconditionalstyle.sip
python/core/qgsfielduiproperties.sip
src/core/qgsfielduiproperties.cpp
src/core/qgsfielduiproperties.h
src/gui/attributetable/qgsattributetablemodel.cpp
src/ui/qgsfieldconditionalformatwidget.ui
tests/src/python/test_qgsconditionalstyle.py
2015-08-23 12:35:29 +10:00
Nathan Woodrow
b87073e146
Refresh attribute table for row styles. Tests
2015-08-23 10:53:03 +10:00
Juergen E. Fischer
b39055b39c
indentation update (now including autopep8)
2015-08-22 14:29:41 +02:00
Juergen E. Fischer
93d45a0452
fix translation string
2015-08-22 14:12:29 +02:00
Nyall Dawson
4bf8b131e3
Port conditional styles to expression contexts
2015-08-22 19:01:43 +10:00
Nyall Dawson
85bda6c05f
Add method for highlighting variables in the expression builder
2015-08-22 19:01:42 +10:00
Nyall Dawson
f74db81b9a
Hide contextual functions from builder unless provided by context
2015-08-22 19:01:42 +10:00
Nyall Dawson
6487f1716c
Add help text for variables
2015-08-22 19:01:42 +10:00
Nyall Dawson
a7d8519c7f
Ensure context is available to builders from data defined buttons
2015-08-22 19:01:42 +10:00
Nyall Dawson
bfc8f56ad4
Display variables and functions from contexts in expression builder
2015-08-22 19:01:42 +10:00