3780 Commits

Author SHA1 Message Date
Alexander Bruy
8502d11f11 [processing] remove selection before running Select by location algorithm (fix #10873) 2014-09-15 11:38:45 +03:00
Martin Dobias
dc63b44af6 Fix build error with SIP (4.15.5) 2014-09-15 11:09:15 +07:00
Juergen E. Fischer
05c4522a63 fix build on PyQt <4.9.5 2014-09-14 23:31:01 +02:00
Martin Dobias
c3db6d0988 Merge pull request #1556 from leyan/convertToRuleBasedSymbology
[FEATURE] Keep renderer settings when changing renderer type (where it is possible)
2014-09-13 17:58:45 +07:00
Juergen E. Fischer
17669b5861 fix and sync QgsAttributeEditorContext sip bindings 2014-09-13 10:55:36 +02:00
Martin Dobias
ffcd07b066 Joins: optionally use just a subset of fields from joined layer 2014-09-13 14:27:52 +07:00
Nyall Dawson
b44ef92b02 Default names for colors when adding to schemes 2014-09-13 08:41:11 +10:00
Nathan Woodrow
380baa2f0c Simplify python console init text 2014-09-12 21:24:17 +10:00
Matthias Kuhn
b1a2bef1fc [relation widgets] General update
* Improve speed (lazy loading)
 * Loop detection for circular dependencies (Fix #10850)
 * Some memory leaks fixed
 * More const-correctness
 * Fix the attribute editor context
2014-09-12 09:30:39 +02:00
Martin Dobias
1a7dfa1a6b [FEATURE] display rule-based renderer legend in a pseudo-tree (in layer tree model/view) 2014-09-12 11:40:15 +07:00
Martin Dobias
fba5c5a656 Move triggerRepaint() to QgsMapLayer, use it instead of deprecated clearCacheImage() 2014-09-11 23:52:21 +07:00
Nyall Dawson
e9d7b520db Support dragging colors from QgsColorPreviewWidget 2014-09-11 21:56:48 +10:00
Nyall Dawson
c4c58ab342 Accept dropped colors on color widgets 2014-09-11 21:11:04 +10:00
Denis Rouzaud
c3bf02b42a [SIP] add missing activated/deactivated signals for map tools 2014-09-11 10:41:02 +02:00
Jürgen Fischer
6151459518 Merge pull request #1577 from RossGammon/master
Description: Fix qreal VS double issues.
2014-09-10 23:22:41 +02:00
Juergen E. Fischer
890f921e06 fix #11110 2014-09-10 22:27:48 +02:00
Martin Dobias
071a5ec0c5 Fix #10912 (joined attributes are not correctly propagated in nested joins)
This commit makes QgsVectorLayerJoinBuffer listen to changes in fields
of joined vector layers in order to update the cache and inform parent layer
2014-09-09 20:17:51 +07:00
Leyan
9931dde90a refactor to a more general convertFromRenderer function 2014-09-09 19:55:21 +08:00
Jürgen Fischer
47613da521 Merge pull request #1578 from alexbruy/layer-submenu
move all "Add Layer" actions to submenu
2014-09-09 13:47:46 +02:00
Leyan
11d159cd85 Add factory annotation and use clone for rule based renderer 2014-09-09 19:47:28 +08:00
Leyan
45dfd53b4a add sip 2014-09-09 19:47:28 +08:00
Nyall Dawson
b9fc2b51d9 Add a bunch of useful interactive color widgets to GUI, including
color wheels, ramps, boxes, and text edits.
2014-09-09 21:31:43 +10:00
Alexander Bruy
62a2308aba move "Add Layer..." buttons to submenu 2014-09-06 16:31:21 +03:00
Juergen E. Fischer
6583365892 fix metasearch typo (followup 5cb7d357) 2014-09-06 14:01:04 +02:00
Juergen E. Fischer
5cb7d357bb fix metasearch syntax error 2014-09-06 13:59:01 +02:00
Ross Gammon
79b3a8f889 Description: Fix qreal VS double issues.
This patch tries to fix qreal VS double issues for ARM

 There are two seperate issues, the first is trivial just a typecast on
 a const.

 The second is however less-trivial and needs to be checked
 before merging. sip doesn't seem to like the type
 QVector<double> on platforms where qreal is float but changing
 the type to qreal may have knock-on impacts on the native code.

 QGIS Issue: http://hub.qgis.org/issues/11148
 Debian Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760535

Author: Peter Michael Green <plugwash@debian.org>
2014-09-05 20:51:13 +02:00
Tom Kralidis
86987b5b22 Merge pull request #1575 from geopython/MetaSearch-0.3.1
Meta search 0.3.1
2014-09-05 08:29:23 -04: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
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
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
Tom Kralidis
3eb6e7ca3f merge back ef0e7d09168d43b0529a1f819108a4741c7e9e75 2014-09-03 10:49:25 -04: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
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
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
Denis Rouzaud
f97d5e319e [custom widgets] adds filter line edit 2014-09-02 15:15:16 +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
Denis Rouzaud
5b1a516f2e more flag operators declaration in SIP, better use of flags in data defined button 2014-09-01 10:51:06 +02:00
Denis Rouzaud
8a65115100 [SIP] add missing operator for flags 2014-09-01 10:40:37 +02:00
Denis Rouzaud
252dc377a4 [map layer actions] action for group of features, rename availability to target (flags), only emit signal for defined target"
Conflicts:
	src/gui/qgsmaplayeractionregistry.cpp
	src/gui/qgsmaplayeractionregistry.h
2014-09-01 08:22:23 +02:00
Nyall Dawson
b5835972bb [composer] Add zoomToExtent for QgsComposerMap, allows easily fitting a set extent into the map item without altering the item's shape 2014-09-01 16:05:27 +10:00
Martin Dobias
dd78f099ab Fix doxygen warnings, fix missing bindings 2014-09-01 11:05:51 +07:00
Martin Dobias
d994e0a1b3 Fix #11006 (wrong size of symbols in print composer legend if map units are used) 2014-09-01 10:10:38 +07:00
Martin Dobias
216ecab1fc More Python wrapper updates + fixes 2014-09-01 10:10:37 +07:00