556 Commits

Author SHA1 Message Date
Mathieu Pellerin
2626ad6130
[needs-docs][ui] UI/UX revamp of the 3D map configuration dialog (#39448) 2020-10-18 22:10:36 +07:00
Nyall Dawson
0a3f40a191 Allow error indicator colors to be controlled for code editor color scheme 2020-10-13 10:47:21 +10:00
Nyall Dawson
64bcee54a7 Proper icon for code editor settings 2020-10-05 13:24:46 +10:00
Nyall Dawson
194a5176ec Updated icon for Transformations tab 2020-09-23 14:13:35 +10:00
Nyall Dawson
f177263b8d Add icons for line placement 2020-08-18 11:09:18 +10:00
Martin Dobias
dbe1ef8aa2
Merge pull request #37685 from vcloarec/curveMapToolCapture
digitizing and splitting feature with curves
2020-08-03 22:41:04 +02:00
Nyall Dawson
b07e0a20d0 Split textured phong material class from basic phong material class 2020-08-03 16:34:10 +10:00
Nyall Dawson
4d5518531f Split simple line material out from phong material 2020-08-03 16:34:10 +10:00
Nyall Dawson
51cde6fbd2 [3d][FEATURE] Add CAD style ("Gooch") material for polygons/extruded lines
From the qt docs:

"The Gooch lighting model uses both color and brightness to help show the
curvature of 3D surfaces. This is often better than models such as Phong
that rely purely upon changes in brightness. In situations such as in CAD
and CAM applications where photorealism is not a goal, the Gooch shading
model in conjunction with some kind of silhouette edge inking is a popular
solution.

The Gooch lighting model is explained fully in the original Gooch paper.
The Gooch model mixes a diffuse object color with a user-provided cool
color and warm color to produce the end points of a color ramp that is
used to shade the object based upon the cosine of the angle between the
vector from the fragment to the light source and the fragment's normal
vector. Optionally, a specular highlight can be added on top. The
relative contributions to the cool and warm colors by the diffuse color
are controlled by the alpha and beta properties respecitvely."""

The TLDR: the shader works well for revealing 3d details of objects
which may otherwise be hidden due to the scene's lighting. Ultimately,
it's an easier material to work with as you don't need to worry
about setting up appropriate scene lighting in order to visualise features.
2020-08-03 16:34:10 +10:00
Nyall Dawson
d85228654b Add an icon in the 3d material combo box 2020-08-03 16:34:10 +10:00
vcloarec
fd81a2edfc add button in tool bar to switch between linear/circular digitizing 2020-07-29 12:49:44 -04:00
Peter Petrik
d9f18ccb9c
Fix spelling (#37849)
fix the spelling errors
2020-07-21 12:51:48 +02:00
Nyall Dawson
1135e40e20 Add vertical alignment options to QgsAlignmentComboBox 2020-07-13 06:00:05 +10:00
root676
9d079a72d3 add algorithm icon 2020-07-02 15:03:51 +10:00
Mickael Savinaud
a9eb7181e6 Fix OTB icon which is not render into QGIS Processing 2020-07-02 08:27:55 +10:00
Håvard Tveite
2a786aede2
[feature][processing] Random points in polygons C++ algorithm
Offers the same functionality as the Random points inside polygons
algorithm, and in addition it includes (possible to opt-out) the attributes
from the containing polygon and the ability to specify a seed for the random
number generator.

Could replace the Python algorithm Random points inside polygons, but
this C++ implementation only supports "Points count" ("number of points
for each feature") directly, while "Points density" is supported by allowing the
point count to be data defined (using the polygon area to calculate the
number of points).
2020-07-02 08:25:42 +10:00
Alexander Bruy
ccae627afe add increase/decrease gamma buttons to the raster toolbar 2020-06-30 15:41:57 +03:00
nirvn
fc57be607d [ui] Add a record icon and use it in the network logger panel 2020-06-27 18:54:22 +07:00
nirvn
d357a27c3d [georeferencer] QGis -> Qgis for file, variable, function name 2020-06-06 17:45:43 +07:00
Matthias Kuhn
38673f5a7f
Merge pull request #36200 from olivierdalang/self_snap
[feature] Snapping also snaps to the currently digitised feature
2020-05-26 14:54:26 +02:00
Nyall Dawson
17aef6e01d Replace an icon with svg version 2020-05-25 11:39:20 +10:00
Nyall Dawson
b131972213 Remove unused description dialog files 2020-05-25 11:39:20 +10:00
Nyall Dawson
985c6e0402 Cleanup georeferencer icons and move to standard icon locations 2020-05-25 11:39:20 +10:00
olivierdalang
66ebe34004 [feature][selfsnap] add snapping to currently digitized feature for capture tool 2020-05-21 21:58:18 +02:00
Nyall Dawson
737aded130 Icon 2020-05-19 04:35:34 +10:00
nirvn
ba5b4166da [FEATURE][temporal] Add off and fixed range modes to temporal navigation 2020-05-15 13:47:02 +07:00
Vincent Cloarec
838faf8a3f
[MESH][FEATURE] use only specified dataset group (#36334)
[MESH][FEATURE] Allow to select only specific subset of dataset groups in mesh layer tree 

This could be done in the mesh layer properties dialog in the source tab.
A new tree view displays all the available dataset groups from the data provider. The dataset groups can be checked/unckecked and renamed.
This widget provides also buttons to load extra dataset group from files, to expand/collpase the tree, to check/unchek all items and to reset to default from the provider (for now, only the original name).
Then only the checked dataset group will be displayed in the active dataset widget in renderer settings.
2020-05-14 09:56:48 +02:00
Denis Rouzaud
7e0c438b9c
enhance sorting capabilities in attribute table list/form view (#36199) 2020-05-06 06:45:22 +02:00
Clemens Raffler
096b80e444
[feature][processing] Complete random raster algorithm collection #2
This refactors and completes the recently added work on random number raster layer creation algorithms (see #35835) and reworks the single algorithm implementation proposed in #36065 to a base-algorithm solution which avoids duplicate code.

With the new algorithms aimed towards distribution based random number creation, QGIS reaches to the same level of functionality as current ArcGIS random raster creation tools. In total, the PR adds the following algorithms (normal and uniform raster layer creation algs are refactored to be in line the new naming scheme):

Create random raster layer (binomial distribution)
Create random raster layer (exponential distribution)
Create random raster layer (gamma distribution)
Create random raster layer (negative binomial distribution)
Create random raster layer (normal distribution)
Create random raster layer (poisson distribution)
Create random raster layer (uniform distribution)
2020-05-04 06:28:45 +10:00
root676
36d25f39df add normal raster and random raster icons 2020-04-20 11:01:01 +10:00
Alexander Bruy
498ca22831 add icon for adding vector tile layer action
use proper icon for vector tile nodes in the browser
2020-04-16 14:54:24 +03:00
Alexander Bruy
14b2422b97 also use new icon for XYZ node in Browser 2020-04-14 15:49:56 +03:00
Alexander Bruy
3dbcabae9b new icon for XYZ layers 2020-04-14 14:47:42 +03:00
root676
28e7b08536 add algorithm icon 2020-04-14 09:20:56 +10:00
root676
1aa87af57f fix intendation 2020-04-13 07:34:25 +10:00
root676
b9b7c4dbb9 [feature] add native Round raster algorithm 2020-04-13 07:34:25 +10:00
Mathieu Pellerin
c0a29051b4 [FEATURE][digitizing] Add avoid intersection/overlap mode
This commit adds a new avoid intersection mode setting when
digitizing new features. The three available modes are:
- allow intersections/overlaps
- avoid intersections/overlaps on active layer
- avoid intersectonss/overlaps on layers list

The third mode is what QGIS has had for a while, except
its UI/UX is a bit messy. The layers list is setup by
the user via the advanced snapping configuration widgets,
but isn't connected at all with whether snapping is
enabled / disabled.

This new approach makes it explicit to user whether
newly-added features might be clipped or not, and
if so by which layer(s).

Finally, the new 'avoid intersections/overlaps on
active layer' is likely a far more useful behavior
than having a list of layers (for e.g., you might
be digitizing on a layer that can't have overlap
with itself but is fine to overlap with another
layer, the latter also in need of avoid overlap
_with itself_).
2020-04-10 13:42:07 +07:00
obrix
b484caee81 Add global config for snapping limit on scale (with action and icon to enable). Also use 0.0 for disabling value and display NULL to be more explicit. 2020-04-07 09:27:08 +02:00
Nyall Dawson
632448c447 [FEATURE][layouts] New item type for marker symbols
Allows marker symbols to be placed directly on layouts, eg.
for manually placing markers over a map item or for creation
of advanced custom legends
2020-04-05 14:23:22 +10:00
Matthias Kuhn
c6621a9faf
Merge pull request #35413 from suricactus/layer_toggle
FIX #33874 Turn on/off ALL selected layers with "Space" button
2020-04-03 11:41:53 +02:00
Martin Dobias
53075848ce
Merge pull request #35341 from wonder-sk/vector-tile-layer
[FEATURE] Vector tile layer - part 1
2020-04-02 16:06:30 +02:00
Håvard Tveite
c774ade88f
[FEATURE][processing] Add "random points on lines" algorithm
The Random points on lines algorithm supplements the existing "Random points along line" algorithm, and will prove to be more useful to the majority of users than the "original".

Features:

The points are distributed randomly over the lines based on "along the line" distance, meaning that the distribution of the points will be flat over the length of the line (each place on the feature has the same probability of being "hit"). 

The Random points along line, on the other hand, uses a line segment based approach, meaning that the density will depend on the segment length (short segments will have a higher point density than longer ones).
2020-03-31 08:55:47 +10:00
Nyall Dawson
4aef9ab81b [FEATURE] Inbuilt network logging tool
This tool, which is available from the new F12 "dev tools" panel,
is a native port of @rduivenvoorde's network logger plugin.

It shows a list of ongoing and completed network requests, along
with a whole load of useful detail like request and reply status,
headers, errors, SSL configuration errors, timeouts, cache status,
etc.

Also has loads of polish and useful capabilities, such as the ability
to filter requests by URL substrings and status, and you can right-click
requests to open the URL in a browser or copy them as a cURL command.
2020-03-30 16:54:21 +10:00
Ivan Ivanov
7c9cd0b893 Distinguish between toggle all and toggle independently 2020-03-30 07:37:43 +03:00
Martin Dobias
5ec1890643 Moved to proper QgsMapLayer subclass + icon + optional tile borders 2020-03-27 12:08:40 +01:00
Nyall Dawson
41fb4df77f [processing] Move iterate button to c++ 2020-03-25 09:42:17 +10:00
Ivan Ivanov
452ca91190 Add an action to deselect features only from the current layer 2020-03-18 13:26:47 +10:00
Samweli
712230fc84 changed pause button to use pause icon instead of a stop icon 2020-03-13 08:31:40 +10:00
Samweli
8e48ab6cb7 updated icons used in the temporal navigation buttons 2020-03-13 08:31:40 +10:00
Samweli
99129fe4a8 updates on the temporal controller navigation logic 2020-03-12 20:06:25 +10:00