766 Commits

Author SHA1 Message Date
Matthias Kuhn
24b8dcc692
Use a hidden setting for activating geomtery resolution 2019-03-18 13:23:30 +01:00
Matthias Kuhn
ab530e4b04
Merge pull request #9495 from m-kuhn/default-enable-geometry-checks
Make default geometry checks configurable via settings [needs-docs]
2019-03-14 08:46:18 +01:00
Matthias Kuhn
1645799788
Make default geometry checks configurable via settings [needs-docs] 2019-03-13 07:23:26 +01:00
nirvn
b97ef936be [expression] Negative index support to point_n(), angle_at_vertex(), distance_to_vertex() functions 2019-03-13 11:20:04 +07:00
nirvn
f83990f44f [themes] Fix missing visual hint for disabled tabs 2019-03-12 15:07:15 +07:00
nirvn
334ae0ca4f [themes] Restrict QPushButton min-width to raster calculator dialog 2019-03-01 14:20:00 +07:00
Nyall Dawson
fb324f3e43 srs.db add Australian entries
insert into tbl_datum_transform VALUES (8447,100020,4283,7844,9615, 'GDA94_GDA2020_conformal_and_distortion.gsb', null, null, null, null,null, null, 'Conformal + Distortion: includes regional distortion',null,1,0,2575);

insert into tbl_datum_transform VALUES (8446,100021,4283,7844,9615, 'GDA94_GDA2020_conformal.gsb', null, null, null, null,null, null, 'Conformal: predominantly plate tectonic motion (~1.8m NNE)',null,1,0,2575);

insert into tbl_datum_transform VALUES (1804,100022,4203,4283,9615, 'National_84_02_07_01.gsb', null, null, null, null,null, null, 'Full coverage two-way transformation file in those states that originally adopted AGD84 - West Australia, South Australia, Queensland',null,1,0,2576);

insert into tbl_datum_transform VALUES (1803,100023,4202,4283,9615, 'A66_National_13_09_01.gsb', null, null, null, null,null, null, 'Full national coverage two-way transformation file',null,1,0,2575);
2019-02-26 12:49:02 +10:00
Nyall Dawson
db1a1929a4 [FEATURE][expressions] Simplified variant of "attribute" function
This adds a second variant for the existing "attribute" function.
The current function requires both a target feature and attribute
name to be specified, while the NEW variant just uses the current
feature.

E.g.

NEW:

attribute( 'name' ) -> returns the value stored in 'name' attribute
for the current feature

EXISTING:

attribute( @atlas_feature, 'name' ) -> returns value stored in 'name'
attribute for the current atlas feature

It's just a faster shorthand version!
2019-02-23 05:20:52 +10:00
Mathieu Pellerin
7599d4f8d5
[expression] Add try() function to provide a way to detect and handle
expressions which can intermittently fail.
2019-02-20 06:27:43 +07:00
Etienne Trimaille
06fab90981 add some optional flags in make_polygon expression 2019-02-20 05:41:26 +10:00
Mathieu Pellerin
5297d83cb5 [themes] Slightly adjust padding of push buttons to match tool buttons 2019-02-19 18:49:18 +07:00
nirvn
1e431f20b2 [themes] Add minimum width for QPushButton widgets (fix tiny raster calc. buttons) 2019-02-13 12:55:37 +07:00
nirvn
e41ff7b745 [themes] Fix missing focus hint for slider widgets 2019-02-11 11:34:17 +07:00
nirvn
d1e5d6ef24 [themes] Fix style of line edit within combo box 2019-02-11 11:28:54 +07:00
nirvn
0647188566 [themes] Properly style table/list view headers 2019-02-11 11:14:06 +07:00
nirvn
b080ab548b [themes] Scroll bar handle can go MIA, add minimum width/height 2019-02-11 10:25:55 +07:00
Mathieu Pellerin
3ae5038d7f [themes] Properly style widget focus 2019-02-09 15:36:34 +07:00
Mathieu Pellerin
bfbb75ae2b [themes] Fix background color issue within group boxes 2019-02-09 13:03:42 +07:00
Mathieu Pellerin
7c50ed9b7e [themes] Properly size width of icon-only labeling/mesh tab bar 2019-02-09 11:13:42 +07:00
nirvn
fc6695ab9b [themes] Harmonize padding of combobox widgets 2019-02-08 12:12:18 +07:00
nirvn
669d72aa29 [themes] Add padding for icons in combo box's drop down lists 2019-02-08 11:05:46 +07:00
nirvn
5fc0726bfa [themes] Properly style editable combobox in disabled state 2019-02-08 10:54:38 +07:00
Juergen E. Fischer
2bed7ab001 fix substr help (fixes #21192) 2019-02-07 11:17:57 +01:00
nirvn
aec05a7288 [themes] Insure groupbox checkbox indicator size equals that of normal checkbox 2019-02-07 10:53:56 +07:00
nirvn
87a1cb55c7 [themes] Properly style autoRaise state in Night Mapping 2019-02-06 17:57:37 +07:00
nirvn
c1e62ed2f9 [themes] Properly style autoRaise state in Blend of Gray 2019-02-06 17:56:48 +07:00
nirvn
fc238a7236 [themes] Better style tool buttons in the tab bar for Blend of Gray 2019-02-06 17:27:33 +07:00
Nyall Dawson
a97ce698e4 Allow maximum number of entries to show in relation reference widget
to be configurable via an advanced setting configuration option

In some circumstances 100 is not enough
2019-02-05 19:38:38 +11:00
nirvn
c62a4ae012 [themes] Get rid of the check mark in combo box drop down lists 2019-02-05 14:01:27 +07:00
Alessandro Pasotti
109fcc0abc
Merge pull request #9070 from elpaso/bugfix-21121-opencl-16bit-raster
Fix hillshade renderer with data type != Float32 [opencl]
2019-02-04 11:01:56 +01:00
Mathieu Pellerin
3f63c9caed Last weaks to blend of gray prior to its initial release 2019-02-03 13:08:39 +07:00
Alessandro Pasotti
1aef9cfa49 [opencl] Fix hillshade renderer with 16bit rasters
Fixes #21121
2019-02-02 10:53:11 +01:00
nirvn
b0b196a97c [themes] Improve styling of message bar scrollbar for Night Mapping 2019-01-24 10:37:07 +07:00
nirvn
002c9e1415 [themes] Improve styling of message bar scrollbar for Blend of Gray 2019-01-24 10:36:55 +07:00
Mathieu Pellerin
263c4c2a50 [themes] Fix selection color of the attribute table view widget 2019-01-23 19:42:10 +07:00
Mathieu Pellerin
9068f3c9a4 [themes] Fix selection text for various widgets 2019-01-23 19:06:18 +07:00
Matthias Kuhn
008dfeed40 Rename json functions to postgres names 2019-01-18 17:45:12 +07:00
Matthias Kuhn
fc548795a8 Add function docs for load_json and write_json 2019-01-18 17:45:12 +07:00
Mathieu Pellerin
689d4f7653 Ship better default polygon symbols using outline's simple line when appropriate 2019-01-17 13:34:32 +07:00
lbartoletti
aaede28b43 [feature] Add expression for square by diagonal and rectangle from 3 points
With the new class QgsQuadrilateral, we can add expressions to create a square by a diagonal and rectangles by 3 points
2019-01-17 03:42:20 +11:00
Mathieu Pellerin
63a3445521
[themes] Allow styling of SQL/python/expression/HTML code editors (#8860) 2019-01-15 20:04:52 +07:00
Mathieu Pellerin
6957009f8b [themes] Fix the processing modeler's rendering on dark backgrounds 2019-01-15 12:24:50 +07:00
Mathieu Pellerin
61252f8cce [themes] Additional fixes for Blend of Gray
- better welcome page (et cie) disabled text
- improve tree view item hover color to avoid masking
  drop indicator when drag 'n dropping
2019-01-15 09:48:07 +07:00
Mathieu Pellerin
aafd84812e [themes] Last round of theme fix (hopefully)
- improve progress bar size and look
- remove hard coded border color for progress bar
- fix plugin manager checkbox for blend of gray
2019-01-12 16:56:53 +07:00
Mathieu Pellerin
add1f96fcc [themes] Add pressed state for tool/push buttons in Night Mapping 2019-01-12 16:10:47 +07:00
Mathieu Pellerin
ee110345f6 [themes] Add pressed state for tool/push buttons in Blend of Gray 2019-01-12 16:10:35 +07:00
Mathieu Pellerin
8a80eeb259 [themes] Fix a few more issues with Night Mapping
- provide a visual feedback for checked menu actions
- improve scrollbar styling
- fix broken vertical slider
2019-01-12 12:05:03 +07:00
Mathieu Pellerin
495b768726 [themes] Fix a few more issues with Blend of Gray
- provide a visual feedback for checked menu actions
- improve scrollbar styling
- fix broken vertical slider
2019-01-12 12:04:42 +07:00
Matthias Kuhn
5962afdf21
Improve expression documentation for sqlite_fetch_and_increment 2019-01-11 10:53:17 +01:00
Matthias Kuhn
d3b4c7d83a
Add cached mode to sqlite_fetch_and_increment for transactions 2019-01-10 10:35:24 +01:00