24710 Commits

Author SHA1 Message Date
Martin Dobias
ad8093e182 Do not use partially checked state of legend nodes when layer is not visible
This is slightly confusing, moreover in some styles the items are not immediately
updated, producing a weird effect when hovering mouse over legend nodes.
http://www.youtube.com/watch?v=HNDE1Xp5UZA&feature=youtu.be
2014-09-10 13:04:06 +07:00
Martin Dobias
e96ff4aac8 Fix #11169 (toggling symbol visibility does not trigger refresh)
This could have happened when the same project was reloaded, then map canvas
failed to clear itself and some connections to repaintRequested were broken
2014-09-10 12:55:34 +07:00
Martin Dobias
edd64c4912 Make rule-based renderer rule keys persistent
So they can be used for visibility groups - before they got assigned new keys
on every instantiation of Rule
2014-09-10 12:53:59 +07:00
Martin Dobias
95f4a30e7b Fix #11143 take 3 (cannot remove visibility groups)
Now we also handle rules that are not valid anymore
2014-09-10 12:05:35 +07:00
Martin Dobias
4ef67ca449 Fix emitting of currentLayerChanged() signal
Use layer ID instead of persistent index to remember last layer.
Persistent index will get invalid during removal of layers and
the signal was not emitted when current index got invalid (none).

This was causing a crash in GPS information widget
2014-09-10 11:28:39 +07:00
Juergen E. Fischer
7fe45db70c mssql provider: fix filter type interpretation (fixes #11076) 2014-09-09 20:44:05 +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
Juergen E. Fischer
1df01c0a26 german translation update 2014-09-09 15:11:36 +02: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
4c51956b89 use previous renderer if possible, instead of last applied renderer 2014-09-09 19:47:28 +08:00
Leyan
45dfd53b4a add sip 2014-09-09 19:47:28 +08:00
Leyan
85172491f3 creation of a convertToRuleBasedRenderer() function 2014-09-09 19:46:55 +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
Martin Dobias
c04127eccd Fix #11143 (cannot remove visibility group) take two 2014-09-08 18:58:02 +07:00
Martin Dobias
a4c8c51b11 Getting closer to the perfection: a bit of spacing for 'layers' toolbar (like browser) 2014-09-08 18:58:02 +07:00
Nyall Dawson
3af6dbc4e1 [composer] Fix flip of N/S and E/W coordinates when using reprojected grids 2014-09-08 20:59:13 +10:00
Nyall Dawson
2317f67451 [composer] Use proper prime and double prime symbols for grid annotations
(because good typography and cartography go hand in hand..!)
2014-09-08 19:53:59 +10:00
Martin Dobias
7ee05afd36 Doxygen: do not add "Definition at line N of XYZ.cpp" to each method
This is another tweak meant to declutter the generated documentation
2014-09-08 12:31:17 +07:00
Martin Dobias
a4ce7fc82e Doxygen: Do not show private members, referenced by/references relations
This change should help to make the API docs less cluttered.
The above mentioned pieces of information are not very useful for people reading docs - and core developers have their IDEs for checking references.
2014-09-08 10:05:42 +07:00
Martin Dobias
429133738f Fix #11146 (rule check state not saved) 2014-09-07 10:33:04 +07:00
Alexander Bruy
e0376977f8 put Oracle GeoRaster plugin button to new submenu 2014-09-06 16:53:40 +03:00
Alexander Bruy
62a2308aba move "Add Layer..." buttons to submenu 2014-09-06 16:31:21 +03:00
Juergen E. Fischer
bd3f593ec6 german translation update 2014-09-06 14:21:36 +02: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
Martin Dobias
f17b600efd Remove some superfluous empty vertical space from browser dock widget 2014-09-06 14:45:51 +07:00
Martin Dobias
07f1f4a838 Fix yesterday's changes to currentGroupNode() (fixes addition of groups) 2014-09-06 14:28:47 +07:00
Martin Dobias
8d598d4df1 Do not create collaboration diagrams in doxygen docs
The diagrams do not really add much value and do not highlight the important concepts
of classes, confusing the user and making things looks more complicated than they are
2014-09-06 14:09:15 +07:00
Martin Dobias
c4546171ff Start of doxygen page about API breaks 2014-09-06 14:06:48 +07: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
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
Leyan
340d4178ee Automatic update of label and neighboring ranges boundaries 2014-09-04 23:07:53 +08: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