57185 Commits

Author SHA1 Message Date
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
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
Denis Rouzaud
9b55eb2cbe
Merge pull request #31460 from nyalldawson/travis_t
Partially revert 596ffd06
2019-08-28 11:14:50 +02:00
Juergen E. Fischer
74abbaac9c osgeo4w: update nightly after proj-dev 6.2 update 2019-08-28 11:08:12 +02:00
Denis Rouzaud
b4635f53ed
fix condition 2019-08-28 10:34:54 +02:00
Denis Rouzaud
8467b7f506
fix order 2019-08-28 10:04:58 +02:00
Denis Rouzaud
8bc4052a11
option to add compiled resources to executable 2019-08-28 09:56:04 +02:00
nirvn
9ce283a222 [themes] Fix removed default QWidget text color 2019-08-28 14:26:13 +07:00
Denis Rouzaud
f453793d19
fix test name 2019-08-28 09:13:51 +02:00
Denis Rouzaud
a58d7845e3
use AUTORCC 2019-08-28 09:11:38 +02:00
Denis Rouzaud
4d61b76c45 fix return values when identifier values have not been initiliazed 2019-08-28 08:14:02 +02:00
Denis Rouzaud
bd0fb2b506 fix additional fields edition in attribute table and form 2019-08-28 08:14:02 +02:00
nirvn
f262ab54b3 [themes] Properly style the calendar widget 2019-08-28 11:14:09 +07:00
Nyall Dawson
377b4d7dc8 Unit tests for dynamic grid interval 2019-08-28 14:12:28 +10:00
Nyall Dawson
7560155de7 Fix layout map grid annotations sometimes incorrectly show as
geographic text
2019-08-28 14:12:28 +10:00
Nyall Dawson
1e409fcee4 [FEATURE][layouts] Add "fit segment size" mode for map grid interval
Like the existing scalebar setting of the same name, this allows
users to set a page-size-based range for map grid intervals. The
grid interval will be dynamically calculated based on the map
extent and scale to pick the largest possible "pretty" interval
which results in grid sizes inside the desired range.
2019-08-28 14:12:28 +10:00
Nyall Dawson
e0411e608d Refactor out scalebar code for calculating pretty interval sizes
into reusable function
2019-08-28 14:12:28 +10:00
Nyall Dawson
b90529b4c2 UI and API setup for dynamically calculated grid intervals 2019-08-28 14:12:28 +10:00
Nyall Dawson
88c66b805f Unit tests for data defined grid 2019-08-28 14:12:28 +10:00
Nyall Dawson
6607057212 Fix grid annotation positions were not accounting for grid frame width 2019-08-28 14:12:28 +10:00
Nyall Dawson
e6a93e25c6 Add missing data defined properties 2019-08-28 14:12:28 +10:00
Nyall Dawson
0900831c8a Use map expression context as basis for map grid expression context
Allows use of map related variables like @map_scale, @map_extent_width,
etc in layout map grid data defined expressions
2019-08-28 14:12:28 +10:00
Nyall Dawson
2d45eb5c70 [needs-docs][layouts] Move grid "enabled" check box to grid properties
panel

Allows it to sit next to the corresponding data defined button
2019-08-28 14:12:28 +10:00
Nyall Dawson
658cb0c740 [FEATURE][layouts] Data defined control over grid properties
Adds data defined control over layout map grid:
- enabled state
- interval X/Y
- offset X/Y
- frame size and margin
- annotation distance from frame
- cross size
- frame line thickness

Fixes #30246, fixes #27737
2019-08-28 14:12:28 +10:00
Nyall Dawson
228eb3fecc Partially revert 596ffd06
Just to see if this is throwing off Travis...
2019-08-28 12:47:53 +10:00