24517 Commits

Author SHA1 Message Date
Martin Dobias
0a7ddfa170 Fix potential crash when adding a group 2014-09-05 18:42:05 +07:00
Martin Dobias
86b4fcc7be Fix QgsLayerTreeModel naming conventions and update Python bindings
I was using a mixture of terms 'symbology items' and 'legend nodes' for the same thing which was confusing
2014-09-05 18:33:55 +07:00
Martin Dobias
854730bb59 Fix #11126 (Make up/down buttons work also for layer tree nodes) 2014-09-05 17:39:11 +07:00
Martin Dobias
e2f1ceb741 Respect the overridden layer name in composer legend also in rendered legend 2014-09-05 16:49:56 +07:00
Martin Dobias
36467e9ded If layer is in editing mode, show the pencil icon instead of embedded legend icon 2014-09-05 15:02:11 +07:00
Martin Dobias
5efcbef815 Keep a bit of spacing in layer tree dock widget 2014-09-05 14:50:37 +07:00
Martin Dobias
fd5669cf83 Fix #11143 (remove visibility groups after removal of a layer) 2014-09-05 14:44:52 +07:00
Martin Dobias
0abcf6ea0a [FEATURE] Toolbar for layer tree specific actions 2014-09-05 14:22:14 +07:00
Martin Dobias
4cac2f75bd Visibility groups: also record visibility states of renderer categories (legend nodes) into groups
Visibility of a layer is not stored within the map layer, but visibility
of renderer categories (which turn into legend nodes) is stored inside renderer and
that one in turn inside map layer. This fact may result in surprising behavior
when change of visibility group for a composer map will affect other composer maps (and main canvas).
The only way to overcome the problem would be to have the possibility to use multiple renderers with one layer.
2014-09-05 11:28:08 +07:00
Nyall Dawson
4baaad6850 Fix crash when trying to edit color ramp with black start/end colors 2014-09-05 10:08:50 +10:00
Larry Shaffer
f4ba53750d Fix Mac build 2014-09-04 17:00:59 -06:00
Juergen E. Fischer
962b6d13ae postgres provider: don't warn, when queries return 'numeric' constants 2014-09-04 23:50:40 +02:00
Juergen E. Fischer
8037585973 fix warnings 2014-09-04 23:20:36 +02:00
Martin Dobias
1f8659cbb1 [FEATURE] Access to visibility groups in map composer 2014-09-04 20:07:20 +07:00
Martin Dobias
e3c2711309 [FEATURE] Visibility groups of map layers in layer tree
New toolbar button allows quick changes between the groups of layers that should be visible.
Also features a simple way for management of the groups (add/remove)
2014-09-04 20:07:20 +07:00
Sandro Santilli
dd78876636 Allow loading pgraster tables with non-default raster field name
Before this change you could only load tables where the raster
field was named "rast".
2014-09-04 13:14:39 +02:00
Sandro Santilli
e91141cb2a Allow loading PostGIS Rasters from partially configured connections
Partially configured connection are those for which an hostname
or username or port etc. are not specified, relying on libpq defaults.

It was already fixed for geometries but rasters needed more love.
See #9037.
2014-09-04 12:36:59 +02:00
Nyall Dawson
f14ad55a82 [composer] Add some missing sync groups for group boxes 2014-09-04 09:45:10 +10:00
Nyall Dawson
7819949e87 Ensure top of QgsCollapsibleGroupBox is visible after expand. Previous
behaviour was to scroll to center of group box for long group boxes,
which is confusing for users.
2014-09-04 09:45:10 +10:00
Juergen E. Fischer
224411be58 fix windows build 2014-09-04 01:44:23 +02:00
Tom Kralidis
3eb6e7ca3f merge back ef0e7d09168d43b0529a1f819108a4741c7e9e75 2014-09-03 10:49:25 -04:00
Marco Hugentobler
ffcc4d8dcf Add unit tests for geometry import (wkt,wkb,geos) 2014-09-03 16:36:05 +02:00
Tom Kralidis
fb5e07d3a5 remove code 2014-09-03 08:46:29 -04:00
Tom Kralidis
d6df3a93f3 update MetaSearch to 0.3.1 2014-09-03 08:43:11 -04:00
Nyall Dawson
b52d4f3a24 [composer] Fix failing grid tests 2014-09-03 22:10:39 +10:00
Nyall Dawson
c9e5341af4 [composer] Add some python tests for QgsComposerMapGrid
(sponsored by NIWA, New Zealand)
2014-09-03 21:23:57 +10:00
Nyall Dawson
1b773165f2 [composer] Update sip bindings, add missing sip bindings for
QgsComposerMapGrid (sponsored by NIWA, New Zealand)
2014-09-03 21:22:29 +10:00
Nyall Dawson
6adab880da [composer] Clean up map grid API, fix bug with grids not rearranging
correctly (sponsored by NIWA, New Zealand)
2014-09-03 21:21:21 +10:00
Nyall Dawson
4eeb81880b [composer] Deprecate a bunch of map grid calls (sponsored
by NIWA, New Zealand)
2014-09-03 21:09:29 +10:00
Nyall Dawson
f68b2586b9 [composer] Improvements to grid annotation string formatting (sponsored
by NIWA, New Zealand):
- Don't show directional suffix for 0 or 180 latitudes or 180 longitudes
- Add padded coordinate modes
- Fix precision errors causing minutes/seconds > 60
- Wraparound longitudes to restrict them to the -180 to 180 degree range
2014-09-03 20:40:30 +10:00
Nyall Dawson
8c091bbda5 [composer] Fix N/S and E/W are reversed in grid annotation strings
(sponsored by NIWA, New Zealand)
2014-09-03 20:39:42 +10:00
Nyall Dawson
52c519e64e [composer] Add simple line border frame style for composer map
grids (sponsored by NIWA, New Zealand)
2014-09-03 20:38:51 +10:00
Nyall Dawson
1e113d68df [composer] Some small tweaks to grid defaults and ui (sponsored
by NIWA, New Zealand)
2014-09-03 20:22:27 +10:00
Nyall Dawson
53fa30f1bb [FEATURE][composer] Add tick styles for frames. Options include
drawing ticks only inside the map frame, drawing ticks outside
the frame, or drawing ticks both inside and outside the frame.
(fix #6954) (Sponsored by NIWA, New Zealand)
2014-09-03 20:04:44 +10:00
Nyall Dawson
8544185985 [composer] Add tests for grids on specific sides (sponsored by
NIWA, New Zealand)
2014-09-03 19:55:40 +10:00
Nyall Dawson
48e1411e26 [composer] Remove raster layer from composer grid tests (sponsored
by NIWA, New Zealand)
2014-09-03 19:54:29 +10:00
Nyall Dawson
a433d4cdd7 [FEATURE][composer] Add options for controlling which sides of
the map a grid frame is drawn (sponsored by NIWA, New Zealand)
2014-09-03 19:48:37 +10:00
Nyall Dawson
dc27e13ed3 [FEATURE][composer] New frame/annotations only grid style. Selecting
this style causes only the frame and annotations to be drawn, with no
grid lines or other markings over the map. (Sponsored by NIWA, New
Zealand)
2014-09-03 19:40:49 +10:00
Nyall Dawson
dc5f94d47b [composer] Split composer map grid tests from composer map tests
(sponsored by NIWA, New Zealand)
2014-09-03 19:40:42 +10:00
Juergen E. Fischer
9af4efd325 german translation update 2014-09-02 18:37:11 +02:00
Jürgen Fischer
c5bcbaf4d9 Merge pull request #1574 from mhugent/getFeatureExpression
Get feature expression
2014-09-02 17:20:33 +02:00
Marco Hugentobler
dab5ff95ff Add function help for getFeature 2014-09-02 16:21:45 +02:00
Denis Rouzaud
f97d5e319e [custom widgets] adds filter line edit 2014-09-02 15:15:16 +02:00
Marco Hugentobler
478e40be00 [FEATURE]: Add getFeature function in Expression 2014-09-02 13:20:32 +02:00
Nyall Dawson
a64e7b134c More const correctness, fix crash with atlas 2014-09-02 19:31:43 +10:00
Nyall Dawson
14abd459ac Merge pull request #1572 from jef-n/store-blend-mode
Save blendmode/composition mode in project file
2014-09-02 19:27:18 +10:00
Juergen E. Fischer
6d4dee914e Save blendmode/composition mode in project file 2014-09-02 10:31:03 +02:00
Denis Rouzaud
368755a51a fix sorting of map layer combo box and more const correctness 2014-09-02 08:10:32 +02:00
Denis Rouzaud
665866f1a6 more const correctness 2014-09-01 16:55:18 +02:00
Denis Rouzaud
5c5deec4a0 SIP file for new date time edit 2014-09-01 15:39:26 +02:00