26810 Commits

Author SHA1 Message Date
Nyall Dawson
eb4d8c76b7 Fix docs for QgsProjectionSelectionWidget 2015-04-30 07:05:56 +10:00
Nyall Dawson
721d9f5908 Formatting and code cleanups for QgsScaleExpression 2015-04-30 06:28:05 +10:00
vmora
70b91b6302 Add QgsScaleExpression subclass for sized based expressions 2015-04-30 06:27:59 +10:00
Matthias Kuhn
9b56618907 Fix startup crash when python is not available 2015-04-29 21:42:21 +02:00
Radim Blazek
4c2844e723 browser properties path/uri without spaces wrap 2015-04-29 21:14:01 +02:00
Radim Blazek
4645dd750d [GRASS] tools window made dockable 2015-04-29 16:37:05 +02:00
Radim Blazek
0ed89fc098 [FEATURE][browser] optional properties widget 2015-04-29 12:15:35 +02:00
Denis Rouzaud
a1dd7e8f8f add a new tool bar for user input
rotation map tool now uses it instead of message bar
the idea of the user input toolbar can change (fixes crash when closing user input in message bar)
2015-04-29 11:16:58 +02:00
Matthias Kuhn
06180fe34d Reimplement QgsNetworkContentFetcher test with a local server
Reduces false alarms in unit tests due to network problems
2015-04-29 09:50:59 +02:00
Nyall Dawson
96576aa2d0 Fix typos 2015-04-29 10:37:33 +10:00
alexbruy
96143d5653 Merge pull request #2017 from rldhont/processing_remove_print_from_help
[processing] removing print statement from help method
2015-04-28 19:47:30 +03:00
rldhont
f7e46ee59a Removing print from help method
I found a print in ModelerAlgorithm help method that causes some trouble
 for PyWPS-QGIS-Processing. I removed it.
2015-04-28 18:30:48 +02:00
Matthias Kuhn
c2fb5e19e2 Revert "Streamline singleton behavior"
This reverts commit b4a85471978b59b129c0299dfd14c1af00fef743.

The template based approach was not cross-platform friendly. When
cross-compiling for Android it caused a new instance of every singleton per
shared library.

Mostly using the magic statics pattern instead now:
See http://stackoverflow.com/a/11711991/2319028

Important things to remember for crash on exit:

 * QgsNetworkAccessManager needs to die before QApplication
 * QgsMapLayerRegistry needs to be emptied before QgsProviderRegistry goes away

And finally:
DON'T USE SINGLETONS!
They are for "one and only one" and not for "happens to be only one" situations.
2015-04-28 17:41:39 +02:00
Denis Rouzaud
96560c89b9 allow numerical input in rotation map tool
* use a combo box to set the angle
* allow snapping to angles (directly enabled when shift + click)
* uses click-click behavior
* rotation anchor is defined on CTRL+click and not on mouse move (TODO: snapping for anchor placement)
2015-04-28 15:04:40 +02:00
Matthias Kuhn
15c1dbc438 Merge pull request #2014 from elpaso/hidpi-improvements
Hidpi improvements
2015-04-28 10:43:23 +02:00
elpaso
3c22aff0b0 Fix usability issue in attributetable
The height of rows is too small to see its
contents on hidpi screens
2015-04-28 10:19:55 +02:00
elpaso
d1fa2448b9 Fix usability issue in statusbar
The height of scale and coordinates is too small to see its
contents on hidpi screens
2015-04-28 09:42:25 +02:00
volaya
9f2c544bff [processing] fixed rendering styles dialog
fixes #12583
2015-04-28 09:30:28 +02:00
volaya
55108ae709 [processing] enabled inut checks for field calculator algorithm
fixes #12586
2015-04-28 09:19:58 +02:00
volaya
295014647f [processing] fixed saga split rgb for 2.1.4 2015-04-28 08:57:57 +02:00
volaya
8ac22c5f30 [processing] fixed wrong creation of error message in script algorithm 2015-04-28 08:44:41 +02:00
Matthias Kuhn
288b242aa9 Merge pull request #1966 from olivierdalang/show_selected_features_ALL_IF_NO_SEL
Filter the attribute table only by selection if there is one

Fix #7541
2015-04-28 08:28:31 +02:00
vmora
0f35192f3f Add cropTransparent to QgsImageOperation, for cropping transparent
borders from around an image
2015-04-27 18:23:03 +10:00
vmora
6a8526f91c Add assistant support to QgsDataDefinedButton 2015-04-27 18:22:57 +10:00
vmora
cf3a712711 Move prettyBreaks calculation to QgsSymbolLayerV2Utils 2015-04-27 18:22:48 +10:00
vmora
0c5063fee6 Add method to create a QgsDataDefined from a string.
Automatically analyses to determine whether the string refers to
a column or is an expression.
2015-04-27 18:22:36 +10:00
vmora
d4319621a5 Add an isField test for QgsExpression
Checks whether expression consists of solely a field reference
2015-04-27 18:22:18 +10:00
alexbruy
ffeb61d549 Merge pull request #2008 from NaturalGIS/remove_grass_modules
[processing] remove r.mapcalculator from GRASS7 modules
2015-04-27 10:12:31 +03:00
alexbruy
09020dc136 Merge pull request #2005 from NaturalGIS/fix_grass7_v_to_rast_attribute
[processing] fix grass7 v.to.rast.attribute
2015-04-27 10:12:24 +03:00
alexbruy
5fe7f3d9fe Merge pull request #2004 from NaturalGIS/fix_grass7_slope_aspect
[processing] fix grass7 r.slope.aspect
2015-04-27 10:12:01 +03:00
alexbruy
b413271af7 Merge pull request #2009 from NaturalGIS/remove_grass_v_distance
[processing] remove v.distance as it can't work
2015-04-27 10:11:23 +03:00
Giovanni Manghi
b8dcb88101 remove v.distance as it can't work 2015-04-26 19:38:35 +01:00
Giovanni Manghi
f51941b79b remove r.mapcalculator from GRASS7 modules 2015-04-26 19:24:25 +01:00
Giovanni Manghi
80a65b9b1a fix python error when using path with special chars in Processing/GRASS 2015-04-26 12:48:22 +01:00
Juergen E. Fischer
102f6d3100 db manager: fix BaseError handing (fixes #12645) 2015-04-26 13:37:15 +02:00
Paolo Cavallini
c79dd9d15b Merge pull request #2006 from NaturalGIS/grass7_better_default_raster_resolution
better GRASS7 default raster resolution and fix r.composite
2015-04-26 13:22:47 +02:00
Paolo Cavallini
e7e027944e Update GrassAlgorithm.py
Better default cellsize for GRASS6
2015-04-26 12:58:54 +02:00
Giovanni Manghi
031f9a9fe9 better GRASS7 default raster resolution and fix r.composite 2015-04-26 11:33:03 +01:00
Giovanni Manghi
b3d8fc2be9 fix grass7 v.to.rast.attribute 2015-04-26 10:31:40 +01:00
Giovanni Manghi
ac2d817974 fix also grass7 r.aspect and re-adds r.slope 2015-04-26 10:25:49 +01:00
Giovanni Manghi
42f0aa287b fix grass7 r.slope.aspect 2015-04-26 10:08:02 +01:00
Matthias Kuhn
d0fea65863 Minimize installed travis dependencies 2015-04-24 14:55:47 +02:00
Sandro Santilli
0480cabfc9 Make QgsPointLocator discard geometries that cannot be projected
Fix #12634 (crash snapping in measure tool)
To be backported to 2.8 branch
2015-04-24 10:25:13 +02:00
Radim Blazek
876e54b50a [GRASS] use always forward slash as dir separator 2015-04-23 19:40:11 +02:00
Radim Blazek
95e5a4f341 QgsMimeDataUtils::encode fix (escape also backslash) 2015-04-23 19:38:38 +02:00
Radim Blazek
1ac4b25289 [GRASS] more tests 2015-04-23 19:04:42 +02:00
Juergen E. Fischer
bcb95137f0 Properly handle non matching number of WMS styles and layers in WMS provider (inspired by PR #2001) 2015-04-22 20:35:20 +02:00
Sandro Santilli
32cc6e0b87 Fix quoting of xfb-run invocation
Works For Me (Ubuntu 14.04.2)
2015-04-22 19:47:24 +02:00
Nyall Dawson
95a7fbc892 Followup b2ca7f, fix bad merge 2015-04-22 20:58:19 +10:00
Nyall Dawson
deba02f178 Improved placement for diagrams for line layers
Previously the diagrams would often be displaced from the line
(depending on the line orientation).
2015-04-22 18:18:16 +10:00