3913 Commits

Author SHA1 Message Date
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
Martin Dobias
68ed52e963 API fixes, added missing python wrappers 2014-09-01 10:10:37 +07:00
Martin Dobias
ee3d67bcf3 Update Python bindings 2014-09-01 10:10:37 +07:00
Martin Dobias
e6c6aa2137 Layer tree model support replacement of layer tree + layer node handles removal of layer cleanly 2014-09-01 10:10:36 +07:00
Martin Dobias
0fc7fc7b07 New flag to disable checkboxes for legend nodes in layer tree model 2014-09-01 10:10:36 +07:00
Martin Dobias
89941f6b0a Moved QgsLayerTreeModelLegendNode (+derived classes) to a new file 2014-09-01 10:10:36 +07:00
Martin Dobias
6891aae19a Use QgsLayerTreeModel as a source of data for legend rendering instead of QgsLegendModel
This is work in progress, customization of legend is not working yet
2014-09-01 10:10:36 +07:00
Martin Dobias
372b7311a8 Fixed bugs with feature count, maintenance of QgsLegendSymbolItemV2 2014-09-01 10:10:36 +07:00
Martin Dobias
cf955822a6 Identify renderer's categories/rules by key instead of index 2014-09-01 10:10:35 +07:00
anitagraser
75b3464e1c check if value is None before trying to cast float
the tool used to fail when there were NULL values in the fields
2014-08-28 09:48:02 +02:00
Alexander Bruy
6130505c79 [processing] fix vector functions definitions 2014-08-28 09:33:05 +03:00
Sandro Mani
788575e5cd Update sip bindings, add method documentation 2014-08-25 22:31:23 +02:00
Tim Sutton
88b13e8985 Merge pull request #1561 from DelazJ/ProjSelector
Activate the help button in select projection Dialog
2014-08-25 16:53:03 +02:00
DelazJ
7b04eb4f5d Referencing Help button function 2014-08-25 16:07:13 +02:00
Nyall Dawson
7b84ccc9b1 [composer] Don't draw handles around locked items (fix #11059) 2014-08-25 22:58:42 +10:00
Tim Sutton
3892964490 Merge pull request #1549 from DelazJ/TableManager_GUI
Set 0 as default value of srid in DB_Manager dialogs (issue #7083)
2014-08-25 13:47:04 +02:00
Nyall Dawson
d70235ffbe [composer] Show selected items in bold in items tree panel (fix #11057) 2014-08-25 21:46:11 +10:00
Tim Sutton
ae25009c66 Merge pull request #1551 from DelazJ/FToolsAddNewLayerToMapCanvas
Put by default to on the "Add result layer to the map canvas" option when using fTools functions (issue #6642)
2014-08-25 13:40:00 +02:00
Nyall Dawson
4d1595ce79 [composer] Remove destructive 'Load from template' action, replace with
non-destructive 'Add items from template' action
2014-08-25 20:46:58 +10:00
Nyall Dawson
1f6dd8e5a7 Add an edit button for shapeburst and gradient color ramps 2014-08-25 20:31:12 +10:00
rldhont
324826e6d3 Bug #9797 Add a precision setting for GetFeatureInfo geometry attributes
Add precision to QgsGeometry method exportToWKT and use it in GetFeatureInfo
2014-08-22 13:45:52 +02:00