48755 Commits

Author SHA1 Message Date
nirvn
48d897f91a [dbmanager] rename tree label to providers for clarity 2018-07-02 12:51:44 +07:00
nirvn
7e8ec00c9b [dbmanager] vectorize icons to fix toolbar in hidpi context 2018-07-02 12:51:44 +07:00
nirvn
7cb80a2308 Rename mActionDraw.svg to more appropriate mActionRefresh.svg
(in doing so, rename current mActionRefresh.svg to mActionReload.svg)
2018-07-02 12:51:44 +07:00
Juergen E. Fischer
ac63b8e16e Translation fix 2018-07-02 02:47:09 +02:00
Nyall Dawson
ead18fc488 [processing] Fix managled paths in history which contain '\' chars 2018-07-02 10:23:01 +10:00
Juergen E. Fischer
5f88ba4cfd db manager: fix syntax error in oracle plugin 2018-07-01 21:41:27 +02:00
Matthias Kuhn
7d38ba0c5a Improve link to python doc 2018-07-01 06:34:12 -05:00
Matthias Kuhn
45fdd0fb31 Add documentation for @qgsfunction 2018-07-01 06:31:26 -05:00
Matthias Kuhn
4d5eb49f1c Add test for qgsfunction.handlesnull 2018-07-01 06:17:25 -05:00
Juergen E. Fischer
9eb8e79aab * update appdata on release
* remove unused splash & banner templates
2018-07-01 12:04:26 +02:00
Matthias Kuhn
60730abba7 Add missing import 2018-06-30 09:40:13 -05:00
Matthias Kuhn
773138cf57 Add handlesnull parameter to @qgsfunction
Up to date it was not possible to create a function that handles NULL values with the
@qgsfunction decorator. As soon as any parameter was NULL, the return value would also
be NULL.

Example of a function that returns a value now with a NULL paramter and would have returned NULL before

```
@qgsfunction(args=-1, group='Custom', handlesnull=True)
def mean_value(vals, feature, parent):
    valid_vals = [val for val in vals if val != NULL]
    return sum(valid_vals)/len(valid_vals)
```

[FEATURE]
2018-06-30 09:40:13 -05:00
Martin Dobias
7b751cbc9f [3d] Increase the range of camera tilt from [0-80] degrees to [0-180]
Previously the changing camera's pitch (tilting the view) would stop
when the camera view is nearly parallel with the horizon. Now it will
be also possible to look up.

Let's see how this will work - we can always switch back in case of problems.
2018-06-30 15:06:14 +02:00
Hugo Mercier
4dbae688f2 Add a test for rule based labeling without setting 2018-06-30 12:43:50 +02:00
Hugo Mercier
831d1b1e9e Use smart pointers to handle mSettings and mFilter 2018-06-30 12:43:44 +02:00
Martin Dobias
78491a6611 [3d] Fixes camera movement when it is looking from further away
At around ~70km distance of camera from terrain the updates of camera
view centers didn't work correctly and the whole view got locked,
unable to pan camera around until zoomed closer. The reason is that
QVector3D::unproject() has "is fuzzy zero" tolerance too high (1e-5)
and was returning incorrect vectors.

This commit also adds a routine for ray-plane intersection which
isn't used in the end, but may be useful at some point later for
simplified ray vs terrain tile tests.
2018-06-30 11:15:17 +02:00
nirvn
b315fbce8d [spatialite provider][dbmanager] hide a few more tables 2018-06-30 15:43:31 +07:00
nirvn
af322fbd63 [dbmanager] hide more spatialite tables by default 2018-06-30 15:43:31 +07:00
nirvn
570f3c86c3 [dbmanager] rename QGIS layers to Project layers for the virtual layer connection 2018-06-30 15:43:31 +07:00
nirvn
86547eb5fc [dbmanager] add connection icon
this harmonizes display with that of the browser panel
2018-06-30 15:43:31 +07:00
Nyall Dawson
9d8202b66a [dbmanager] Fix exception on older Qt builds
Fixes #19309
2018-06-30 18:35:38 +10:00
Nyall Dawson
e883993f9a Formatting 2018-06-30 09:24:38 +10:00
Nyall Dawson
a012770ce1 Use a proper color button, fix width widget in gps panel 2018-06-30 09:24:38 +10:00
Nyall Dawson
6f9c956ad1 Avoid nan values in gps info panel 2018-06-30 09:24:38 +10:00
Nyall Dawson
2beee20f2a Save/restore GPS interval settings 2018-06-30 09:24:38 +10:00
Nyall Dawson
a8d933e91d [needs-docs] More appropriate icon for gps panel info tab 2018-06-30 09:24:38 +10:00
Nyall Dawson
eb0e434af7 Fix windows build 2018-06-30 09:24:38 +10:00
Nyall Dawson
c7dff9ac75 Autoraise icons 2018-06-30 09:24:38 +10:00
Nyall Dawson
d549b09075 Add icon for track reset button 2018-06-30 09:24:38 +10:00
Nyall Dawson
67b8a94b36 More GPS widget layout work 2018-06-30 09:24:38 +10:00
Nyall Dawson
40b838d571 Avoid complex editable combobox logic 2018-06-30 09:24:38 +10:00
Nyall Dawson
2d810fa52d Rework GPS dock UI layout for UX consistency 2018-06-30 09:24:38 +10:00
Nyall Dawson
4442da21b2 Formatting 2018-06-30 09:24:38 +10:00
Nyall Dawson
2f67bccb54 Fix build 2018-06-30 09:24:38 +10:00
Nyall Dawson
5ec617366b Revert changes to gmath.h 2018-06-30 09:24:38 +10:00
rossia
53dbca2a35 [FEATURE] GPS acquisition interval and distance threshold options
Adds an acquisition interval parameter and a distance threshold
parameter to the gps plugin in order to keep the cursor still when
the receiver is in static conditions.
2018-06-30 09:24:38 +10:00
Alessandro Pasotti
13a727c954 Add preview for locale settings 2018-06-29 16:48:43 +02:00
Håvard Tveite
a756fb1034 Fix parameter type for the BUFFER parameter of the Voronoi polygons alg
Fixes #19294
2018-06-29 23:02:03 +10:00
Alessandro Pasotti
9976fc2631 Add options to override locale and number group sep. 2018-06-29 14:52:18 +02:00
Matthias Kuhn
edaaaec2b1
Merge pull request #7331 from nyalldawson/no_sipify_diff
Avoid prepare-commit script leaving temporary .diff files
2018-06-29 13:31:30 +02:00
Martin Dobias
e35ec2dccb Prevent going up when rotating camera with ctrl and reaching pitch limits 2018-06-29 13:04:10 +02:00
Martin Dobias
e073a4cbb8 Fix compilation error on Fedora 2018-06-29 12:10:20 +02:00
Hugo Mercier
cd39798b4d Fix access to rule settings 2018-06-29 11:51:04 +02:00
Martin Dobias
569db8e069
Merge pull request #7045 from PeterPetrik/qgs-quick-position_and_transformer
[feature] [qgsquick] Add PositionKit, PositionMarker and CoordinateTransformer
2018-06-29 09:08:35 +02:00
Denis Rouzaud
7a68002619
leave comment for SIP version 2018-06-29 09:01:57 +02:00
nirvn
46246f622d [needs-docs][dbmanager] harmonize icons 2018-06-29 11:56:37 +07:00
Nyall Dawson
18dbf03179 Fix build warnings due to differing virtual method signatures 2018-06-29 14:37:23 +10:00
nirvn
63d0317d5e [ui] when toggling panel visibility (ctrl+tab), do not hide floating tabified panels 2018-06-29 10:09:18 +07:00
Nyall Dawson
36cfaac8af Even more descriptive error 2018-06-29 10:46:09 +10:00
Marco Bernasocchi
96764beff2 more informative error message 2018-06-29 10:46:09 +10:00