57230 Commits

Author SHA1 Message Date
Denis Rouzaud
734e99e1e0 add classification methods to API docs 2019-09-02 10:16:21 +02:00
Denis Rouzaud
0cb0f6ef7a do not use a pointer 2019-09-02 09:48:33 +02:00
Denis Rouzaud
68a9ea5d70 move src/core/symbology/classification to src/core/classification 2019-09-02 09:46:40 +02:00
Denis Rouzaud
d58be2814d missing SIP_FACTORY, addMethod returns bool, and minor fixes 2019-09-02 09:40:34 +02:00
Denis Rouzaud
7f98f79bd7 exclude QgsGraduatedSymbolRenderer::Mode from API docs 2019-09-02 09:40:34 +02:00
Denis Rouzaud
c20e3a1475 make variables private, correclty initalize label format 2019-08-31 10:53:03 +02:00
Denis Rouzaud
d10f8ce2a0 a bit more API doc 2019-08-31 10:31:50 +02:00
Denis Rouzaud
b7fe71d774 fix cloning of standard deviation method 2019-08-31 10:17:32 +02:00
Denis Rouzaud
f55dd95531 fix enum doc 2019-08-31 09:50:38 +02:00
Denis Rouzaud
8792c4954d fix missing lower bound in ranges 2019-08-30 16:41:39 +02:00
Denis Rouzaud
b6278aeb25 correctly set method when updating classes 2019-08-30 15:36:19 +02:00
Denis Rouzaud
ac1ce4f4ed better naming of methods and API documentation 2019-08-30 15:35:53 +02:00
Denis Rouzaud
b580242aef fix deprecated methods and remove leftovers 2019-08-30 13:12:43 +02:00
Denis Rouzaud
41495058d1 run sipify 2019-08-30 12:45:37 +02:00
Denis Rouzaud
9ae54eaafa fix deprecated methods in tests 2019-08-30 12:45:37 +02:00
Denis Rouzaud
e4c775663d complete CMakeLists.txt 2019-08-30 12:45:37 +02:00
Denis Rouzaud
e2967b7b37 modification to UI
use an editable combobox instead of a spin or combobox
2019-08-30 12:45:27 +02:00
Denis Rouzaud
fa7850bff1 refactor QgsGraduatedSymbolRendererWidget (gui) 2019-08-30 12:45:26 +02:00
Denis Rouzaud
38f62f2276 refactor QgsGraduatedSymbolRenderer (core) 2019-08-30 12:45:26 +02:00
Denis Rouzaud
68e24ad27e add different implementations of classification methods 2019-08-30 12:45:26 +02:00
Denis Rouzaud
c637a17b65 add classification methods registry 2019-08-30 12:45:25 +02:00
Denis Rouzaud
dbcd8875cd add QgsClassificationMethod
an abstract class for classification methods
2019-08-30 12:45:11 +02:00
nirvn
692d05ba23 [clipboard] Fix copying of string attributes containing new lines and tabs characters 2019-08-30 12:29:12 +07:00
signedav
0c906bf9d9
Merge pull request #31349 from signedav/stored-expressions
Stored filter expressions
2019-08-29 20:28:50 +02:00
Nyall Dawson
0e3a4478d9 Add missing transfer annotation (#31482) 2019-08-29 20:12:23 +02:00
Denis Rouzaud
c1e8cf8f19
fix sipify 2019-08-29 18:26:12 +02:00
Sandro Santilli
ffad801fad Add test for custom bbox in postgresql provider
See #18107
2019-08-29 17:47:25 +02:00
Sandro Santilli
d921c20f58 Add support for "bbox" URI parameter in PostgreSQL provider
.. and use it from TopoViewer DBManager plugin

Closes #18107
2019-08-29 17:47:25 +02:00
Sandro Santilli
81146a639d [tests] Load postgis_raster extension when available, and needed 2019-08-29 17:47:25 +02:00
Denis Rouzaud
903784a95c
[sipify] handle deprecation of enums 2019-08-29 17:24:39 +02:00
Sandro Santilli
8cc683061c Update TopoViewer layer style templates
From 1.9 version to 2.18 version

Closes #31471
2019-08-29 16:36:55 +02:00
Denis Rouzaud
d610d0c69b
[sipify] handle Q_DECL_DEPRECATED in class declarations (#31489) 2019-08-29 15:36:07 +02:00
Nyall Dawson
80d77b4788 [FEATURE] Add make_line expression function variant which accepts
an array of points

Allows creation of lines from variable numbers of points, and
from sequences from aggregates/dynamically generated sequences

Fixes #31268
2019-08-29 19:33:43 +10:00
Nyall Dawson
36173d7c40 [FEATURE] New expression function "collect_geometries"
Collects a set of geometries into a multi-part geometry object.
Geometry parts can either be specified as seperate arguments to the
function, or (more flexibly), as an array of geometry parts.

This allows geometries to be generated using iterator based approaches,
such as transforming an array generated using generate_series, e.g:

  collect_geometries(
    array_foreach(
      generate_series( 0, 330, 30),
      project($geometry, .2, radians(@element))
    )
  )

Gives a nice radial effect of points surrounding the central feature
point when used as a MultiPoint geometry generator
2019-08-29 19:33:43 +10:00
nirvn
a3ebe6a855 [postgresql] Fix crash when testing a connection fails 2019-08-29 16:12:53 +07:00
Denis Rouzaud
2a9f215f98
fix missing SIP_OUT (#31470) 2019-08-29 10:38:03 +02:00
Denis Rouzaud
11f1d0d7cb
Merge pull request #31414 from 3nids/rel_ref_wid_comp_keys
use composite keys in relation reference widget
2019-08-29 10:36:52 +02:00
Denis Rouzaud
ee6f8c580c const correctness, fix deprecated methods,
qVariantListIsNull returns true for an empty list
2019-08-29 10:31:55 +02:00
David Signer
75fa58e83e docs and style and set parent of mStoredExpressionManager to the layer 2019-08-29 09:08:53 +02:00
David Signer
e89ebf1b69 proper use of category tags - use of all tag as default in filtering 2019-08-29 08:26:28 +02:00
David Signer
272d022dbc sip include 2019-08-29 08:26:28 +02:00
David Signer
8c9f643e0b - removed the modes from QgsStoredExpressionManager and do the categorization over category tags
- use QStrings instead of QUuids in QgsStoredExpression
- docs, style and beautifications
2019-08-29 08:26:28 +02:00
David Signer
d081cd9a92 some tests for QgsStoredExpressionManager 2019-08-29 08:26:28 +02:00
David Signer
a75fbc2f65 no constructor in QgsStoredExpression because it leaded to issues with compiling sip
dialoges for stored filter expressions contains labels and expression line edit
2019-08-29 08:24:15 +02:00
David Signer
ae17985581 make proper constructor 2019-08-29 08:24:15 +02:00
David Signer
4813ade649 wait 300 ms before update stored expression button after text changed on filter query line edit
more comments and clean up
2019-08-29 08:24:15 +02:00
David Signer
1c44192929 functionality to save and update stored expressions 2019-08-29 08:24:15 +02:00
David Signer
150418bc44 listening on triggered instead of toggled, because triggered is happening on click and not on setChecked etc. 2019-08-29 08:24:15 +02:00
David Signer
ffa41cb814 descriptive name for mStoredFilterExpressions to make a difference to future QgsStoredExpression objects 2019-08-29 08:24:15 +02:00
David Signer
8e70d7e999 remove unused functions - but having issue when toggling the storeExpressionButton (fires Actions every time) 2019-08-29 08:24:15 +02:00