5085 Commits

Author SHA1 Message Date
Matthias Kuhn
5f19dff783 Merge pull request #2175 from anitagraser/patch-8
Change resolution parameter defaults to floats
2015-09-09 18:30:58 +02: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
Matthias Kuhn
93e9204b43 Add test for rulebased renderer else rule 2015-09-08 17:03:21 +02:00
pcav
72665e035e Fix for SAGA 2.2.0 in Processing - thanks Giovanni 2015-09-08 16:23:03 +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
94badce431 Avoid use of QString("") 2015-09-08 06:55:13 +10:00
Alessandro Pasotti
3043f7f960 Merge pull request #2296 from elpaso/qgsserver-return-pair
QgsServer handleRequest now returns QPair of QByteArray with headers and body
2015-09-07 18:05:28 +02:00
elpaso
f56054f049 Re-formatted typecode 2015-09-07 17:10:34 +02: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
9e57e3d7ea Add ability to set expression context variables for map canvas 2015-09-07 20:24:56 +10:00
elpaso
33cbe22096 Convert to type works for QPair of QByteArray 2015-09-07 09:57:32 +02:00
Juergen E. Fischer
53c84915e9 indentation update 2015-09-06 01:24:09 +02:00
elpaso
a9f2acc57e [SERVER] QgsRequestHandler now returns a QPair
Much simpler GUI with a single method for all
cases. handleRequest now returns both headers and
body in a QPair.
Python binding returns a tuple of QByteArray.
2015-09-05 23:20:30 +02: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
Giuseppe Sucameli
eea81e81c5 [DBManager] remove layers from QgsMapLayerRegistry once refreshing a table, previewing a different layer or closing the DBManager main window (fix #12938) 2015-09-04 23:52:23 +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
Giuseppe Sucameli
13e1959f4d [DBManager] "Drop existing table" option in Import vector dialog is now named "Replace existing table" (fix #12961) 2015-09-04 00:45:32 +02:00
Giuseppe Sucameli
80a13e3852 [DBManager] fix add new SL/GPKG connection from "New connection" context menu entry 2015-09-04 00:32:49 +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
Giuseppe Sucameli
03916d549a [DBManager] add SL/Geopackage connection by drag&drop (follow b11f67b4f5), improve GPKG support:
- recognize tables with geometry,
- load GPGK layers to canvas from context menu,
- disable table editing
2015-09-03 01:22:54 +02:00
Giuseppe Sucameli
71afc9adc7 [DBManager] do not add new connection per drag&drop (partially revert 8b2bbcd) 2015-09-03 01:20:19 +02: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
ac6c32421e Coverity uninitialized member fixes 2015-08-28 13:06:34 +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
Juergen E. Fischer
05b8a985a5 indentation update 2015-08-25 20:04:50 +02: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
Giuseppe Sucameli
fdb0d20677 [DBManager] get default pk, geom and srid values from input layer to set default options in import vector dialog 2015-08-25 02:39:19 +02:00
Giuseppe Sucameli
a2ce73aec0 [DBManager] retrieve and store columns not null value when editing table (fix #13089) 2015-08-25 00:46:28 +02:00
mhugent
5807875797 Merge pull request #2268 from mhugent/curve_capture_tool
Curve capture tool
2015-08-24 18:18:40 +02:00
Juergen E. Fischer
aa36491347 more unicoding (followup 697d2af) 2015-08-24 16:39:02 +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