1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-04-05 00:05:32 -04:00

34262 Commits

Author SHA1 Message Date
Nyall Dawson
cb313761ca Remove unused QgsProvider(Count|ExtentCalc)Event classes 2016-08-23 10:03:52 +10:00
Denis Rouzaud
3251eced69 run astyle 2016-08-22 10:15:47 +02:00
Tim Sutton
c47b4ca995 Spatialise error message fix ()
* Fixed issue where opening an invalid spatialite db fails and gives and poor warning message

* Fix formatting
2016-08-22 08:34:07 +02:00
Nyall Dawson
5a41748b86 [browser] Correctly refresh postgres schemas when dropping tables 2016-08-22 14:39:28 +10:00
Martin Dobias
26dd13063e [FEATURE] Drag'n'drop layers from layer tree view to browser dock
Makes it easy to e.g. store your temporary layers in PostGIS
2016-08-22 10:38:10 +08:00
Nyall Dawson
b101510c84 Merge pull request from nyalldawson/expression_line_edit
Expression line edit widget
2016-08-22 09:42:30 +10:00
Nyall Dawson
c468a0471c Use QgsExpressionLineEdit for geometry generator expression
The full expression builder widget is too large to fit
comfortable in the geometry generator setting widget,
especially when used in layer styling dock mode.
2016-08-22 08:39:33 +10:00
Nyall Dawson
ae3d6e7697 Remove minimum size from QgsCodeEditor (seems unnecessary) 2016-08-22 08:39:33 +10:00
Nyall Dawson
8f4ca47b70 New QgsExpressionLineEdit widget
Consists of a filter line edit + button to open expression builder

This widget is a bit like the existing QgsFieldExpressionWidget,
but for cases where a combo box does not make sense. Eg, when
no fields are available for the expression to use.

It also has an optional multiline mode, which allows it to be
used in place of the full-blown QgsExpressionBuilderWidget when
space is a problem.
2016-08-22 08:39:33 +10:00
Nyall Dawson
86feb6d376 Indentation 2016-08-22 07:42:27 +10:00
Nyall Dawson
77750ada98 Merge pull request from nyalldawson/line_locate_point
Linear referencing functions
2016-08-22 06:25:44 +10:00
Matthias Kuhn
f64adb9675 Merge pull request from medspx/PyQtQFileDialogFix
[PyQt] Add a lib2to3 custom fix to handle QFileDialog methods in PyQt5
2016-08-21 13:42:26 +02:00
Nyall Dawson
e110ba7d54 [FEATURE] Add linear referencing functions to expression engine
Adds new functions
- line_interpolate_point: interpolates a point by a given distance
along a linestring geometry
- line_locate_point: returns the distance along a linestring to
the closest position on the linestring to a given point
2016-08-21 20:59:57 +10:00
Nyall Dawson
409dfdf539 [FEATURE] Expose GEOS linear referencing function to QgsGeometry
Adds a new QgsGeometry::lineLocatePoint() function for
retrieving the distance along a linestring to the nearest
position on the linestring to a given point.
2016-08-21 20:48:54 +10:00
Médéric RIBREUX
ee87b0dbc9 [PyQt] Add a lib2to3 custom fix to handle QFileDialog methods in PyQt5 2016-08-21 10:35:32 +02:00
Even Rouault
1df8474795 [arcgisrest] Fix compilation issue with QgsDebugMsg not being defined 2016-08-21 00:57:17 +02:00
Matthias Kuhn
0725191cc0 Fix server compilation 2016-08-20 14:27:01 +02:00
Matthias Kuhn
1dd74e423a Followup 1fda77c: Don't reference private headers in public ones 2016-08-20 13:16:39 +02:00
Nyall Dawson
6214dc11e2 Disable PyQgsOfflineEditingWFS test on Travis
The test regularly fails on unrelated commits.

Possible the test should be reworked to reuse the server
launching routines from the labeling server test, which
seem more robust and work consistently across platforms
2016-08-20 06:36:13 +10:00
Matthias Kuhn
bcae877fab Fix doxygen 2016-08-19 16:53:54 +02:00
Matthias Kuhn
30b032ce4a Small doc fix 2016-08-19 16:37:35 +02:00
Matthias Kuhn
11c626d8e1 Add readOnly property to QgsVectorLayer 2016-08-19 16:36:57 +02:00
Matthias Kuhn
1fda77c798 Private headers should not be installed 2016-08-19 16:06:39 +02:00
Matthias Kuhn
9050cc14d4 Add == and != operator to QgsFeature and add QML bindings 2016-08-19 16:05:41 +02:00
Matthias Kuhn
6ae2daa145 Respect the "showLabel" flag on attribute editor elements 2016-08-19 14:50:22 +02:00
Matthias Kuhn
1bd26f75a5 [feature] Allow controlling labels for individual edit widgets
In the drag and drop designer, a double click on an item will allow
controlling if the label should be shown for each item individually.

Fix 
2016-08-19 14:50:21 +02:00
Matthias Kuhn
e30ff62419 Improve wording
Fix 
2016-08-19 10:11:49 +02:00
Matthias Kuhn
9c4761c9be Sort values in chained filter comboboxes (relation reference)
Fix 
2016-08-19 10:11:49 +02:00
Matthias Kuhn
48445e7484 Hide invalid constraints label when it's unused
Fix 
2016-08-19 10:11:48 +02:00
Matthias Kuhn
c46767106e Merge pull request from m-kuhn/editformconfig-refactor
Refactor edit form config
2016-08-19 09:53:39 +02:00
Matthias Kuhn
fd4fe83641 Doxymentation and sip bindings 2016-08-19 09:03:07 +02:00
Matthias Kuhn
633c1a3bbf Create a default tab layout if none is configured 2016-08-19 09:03:07 +02:00
Matthias Kuhn
5c20f0782a Cleanup QgsEditFormConfig
* It's now implicitly shared, meaning that changes to the config
   can be supervised and a signal is sent from QgsVectorLayer and
   there is no risk of elements suddenly being deleted.
 * Remove a bunch of methods that were in QgsVectorLayer for legacy
   reasons.
2016-08-19 09:03:07 +02:00
Juergen E. Fischer
72cbff918f dxf export: avoid symbology scale 0 (fixes )
(cherry picked from commit 0a07fee15297e18a73b63f194f5aeecffd76800c)
2016-08-18 18:36:36 +02:00
Matthias Kuhn
54fb32d0f5 [travis] Allow failing mac osx builds
Seems to be a (temporary?) problem with sip in homebrew
2016-08-18 07:12:48 +02:00
Harrissou Sant-anna
db94d34a5d Remove mention of "panning" in the title as the frame is only about zooming ()
Unless the "zoom factor" option in the frame applies also to panning (or an upcoming option will refer to it), mentioning panning in the title sounds erroneous.
The other option that refered to panning has been removed from 2.14 to 2.16.
2016-08-17 18:07:50 +02:00
Matthias Kuhn
2233cc1197 Replace obsolete QString::toAscii with QString::toLatin1 2016-08-17 17:18:52 +02:00
Matthias Kuhn
0269d05369 [travis] Explicitly install missing homebrew deps 2016-08-17 12:00:12 +02:00
Nyall Dawson
58ef3c75bb Add missing doc 2016-08-17 15:34:55 +10:00
Matthias Kuhn
af0947826b Add isNumeric and QML bindings to QgsField 2016-08-17 07:16:19 +02:00
Frits van Veen
34e2bea246 'Using perimeter (curved)' labels on polygon layers will now respect 'Show upside-down labels' setting. 2016-08-17 14:43:23 +10:00
Nyall Dawson
d6b419ab18 Simplify handling of composer data defined buttons 2016-08-17 10:56:51 +10:00
Nyall Dawson
eb5cc0c731 Add method to reset vector layer for data defined button 2016-08-17 10:56:51 +10:00
Nyall Dawson
b349eb8a98 Fix some missing autoupdates for raster psuedo color widget 2016-08-17 10:56:51 +10:00
Nyall Dawson
34ebe124ff Don't crash raster shader with nan or inf values (fix ) 2016-08-17 10:56:51 +10:00
Nyall Dawson
5e80bf5825 Avoid warning 2016-08-17 10:08:04 +10:00
Nyall Dawson
f5b171597a Merge pull request from nyalldawson/single_sided
Single sided buffers
2016-08-17 07:40:53 +10:00
Nyall Dawson
d193574ba7 Fix doxygen warning 2016-08-17 06:44:04 +10:00
Nyall Dawson
989d9864c5 [FEATURE][processing] New algorithm for single sided buffers 2016-08-17 06:44:04 +10:00
Nyall Dawson
298d047125 [FEATURE] Expression functions for offset_curve and single_sided_buffer
Especially useful with geometry generators!
2016-08-17 06:43:02 +10:00