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
David Signer
32ebab2c9c
on textchange update the actions
2019-08-29 08:24:15 +02:00
David Signer
e44b34cfc1
use of struct instead of QPair and use Uuid instead of name as identification
2019-08-29 08:24:15 +02:00
David Signer
8633cb67d2
stored expression icons to 'bookmark' expressions
2019-08-29 08:24:15 +02:00
David Signer
4dbff2bf8e
stored filter expression saving part
2019-08-29 08:24:15 +02:00
David Signer
15509b3209
improve gui for stored filter expressions
2019-08-29 08:24:15 +02:00
David Signer
d11f4e6b76
remove expression functionality identified by name
2019-08-29 08:24:15 +02:00
David Signer
7f93ac6e14
menu basics including stored filter expression
2019-08-29 08:24:15 +02:00
David Signer
e44d54842a
stored expressions comments
2019-08-29 08:24:15 +02:00
David Signer
aec08c7dcc
read write storedexpressions
2019-08-29 08:24:15 +02:00
David Signer
5c38b4bdc8
stored expression base class with read write methods
2019-08-29 08:24:15 +02:00
Denis Rouzaud
93a82f883a
use composite keys in relation reference widget wrapper
2019-08-29 08:17:00 +02:00
Denis Rouzaud
c8f16fc955
use composite keys in relation reference widget
2019-08-29 08:17:00 +02:00
Nyall Dawson
19231331ba
Actually properly revert cmake test changes
2019-08-29 15:16:16 +10:00
Nyall Dawson
aefca0f579
Indentation
2019-08-29 13:18:58 +10:00
Nyall Dawson
4ec0ed3d19
Improve help text for size/offset properties
...
Refs #31444
2019-08-29 13:18:58 +10:00
Nyall Dawson
ddbb1b175f
[FEATURE] Allow array values as a valid result for data defined offset
...
or size properties
Previously only string values of the format 'x,y' would be permitted. But
I've seen MANY bug reports and questions about this, so also allow
arrays of doubles as a valid result. E.g. "array(3,5)". In any case, it's
just nicer.
Fixes #31444
2019-08-29 13:18:58 +10:00
Nyall Dawson
60e2b70ee3
Rework layout picture test to avoid need for image resources
2019-08-29 11:03:47 +10:00
Nyall Dawson
12dae94d66
Revert changes to core test cmake configuration
2019-08-29 11:03:47 +10:00
Borys Jurgiel
6d0ba46404
Add a context menu to the QgsMessageLogViewer's tab bar, so all unwanted tabs can be closed at once
2019-08-29 09:17:01 +10:00
Ismail Sunni
c0da9057eb
Fix un-changed cursor when switching between 3d tool.
2019-08-28 18:34:38 +03:00
Denis Rouzaud
a3e5275cb7
replace deprecated QString::null by QString() ( #31466 )
2019-08-28 15:20:03 +02:00
Denis Rouzaud
44acec6b8a
move QgsRenderRange and QgsRendererRangeLabelFormat to their own file ( #31464 )
2019-08-28 14:22:07 +02:00