86 Commits

Author SHA1 Message Date
Nyall Dawson
334ea504db Add help for project_color function 2015-08-22 19:01:42 +10:00
Nyall Dawson
2a951ec945 Add some missing expression group help 2015-08-22 19:01:42 +10:00
Nyall Dawson
6487f1716c Add help text for variables 2015-08-22 19:01:42 +10:00
Matthias Kuhn
de2b6a9688 Add function help for IF expression
Fix #13015
2015-07-13 08:45:23 +02:00
Nyall Dawson
7b18f67662 Include NULL in expression builder available functions list 2015-07-08 16:14:15 +10:00
Nyall Dawson
feb3bee858 Add a bunch of optimised fuzzy string matching algorithms.
A new QgsStringUtils class has been added containing some
common fuzzy matching algorithms, including Levenshtein edit
distance and Soundex. These can be used for finding "similar"
strings in a table.

Expression functions for these algorithms have also been
added to a new "Fuzzy Matching" group.
2015-06-27 11:51:56 +10:00
Tomáš Pospíšek
0af69ed9fb Add pertinent example for 'LIKE' operator
The usage examples for the 'LIKE' operator are not really pertinent. The proposed change adds an example that actually illustrates the usual usage of the 'LIKE' operator.
2015-06-03 12:51:04 +02:00
Nyall Dawson
bae9cea4f9 Add missing files from 96db1bd 2015-05-03 21:09:47 +10:00
Nyall Dawson
96db1bdb7e Allow expression functions to include 0 length parameter lists
This change allows for some cleanups to the built in expression
functions, by making it possible to differentiate variables
(eg $feature) from functions which don't require parameters
(eg uuid(), now()... ). Also adds aliases for uuid(), now(), and
pi().
2015-05-03 20:57:37 +10:00
Nyall Dawson
bd9e02be95 Add alias support for expression functions
Standardise naming of all internal functions to lowercase with
underscore convention. Add aliases for old names to avoid
breakage.
2015-05-03 20:57:36 +10:00
Juergen E. Fischer
bdcbeb19ad fix format_date example (fixes #12016) 2015-01-20 21:17:18 +01:00
Juergen E. Fischer
8d20272748 function help fixes 2015-01-09 19:49:01 +01:00
Juergen E. Fischer
b52fff303f avoid duplicate function help entry 2015-01-09 19:33:22 +01:00
rldhont
a0ffad2532 [FEATURE] Add get and transform geometry in Expression
In version 2.6, new keywords has been added to Expression :
* $currentfeature - returns the current feature
* $atlasfeature - returns the atlas feature
* getFeature - gets a matching feature from a layer

But I think, Expression lacks a few keywords :
* geometry - returns the feature's geometry
* transform -  returns the transformed geometry

These new keywords can be used with getFeature for some geometry tests like
 intersects, crosses, contains, etc

Tests has been added to geometry and transform in Expression
2015-01-02 12:02:55 +01:00
Nathan Woodrow
f8a838d5c5 Fix #11308 - Add missing IN operator 2014-10-04 22:05:07 +10:00
Marco Hugentobler
dab5ff95ff Add function help for getFeature 2014-09-02 16:21:45 +02:00
Nyall Dawson
9abeeb64e6 [FEATURE] New $atlasfeature expression function for returning the current atlas feature. Also clean up the expression groups and move some unrelated functions out of the 'Record' group. 2014-07-10 15:52:48 +10:00
Nyall Dawson
1e39db6a0f [FEATURE] New expression functions for $currentfeature (returns current feature) and 'attribute' (returns value stored in specified field within a feature) 2014-07-10 14:10:44 +10:00
Juergen E. Fischer
df19f65445 expressions: add help for $uuid (fixes #10094) 2014-06-22 04:23:39 +02:00
Juergen E. Fischer
8cd467bea2 generate context_help and function_help in the same order 2014-06-20 14:22:42 +02:00
cdavila
a70c865b62 Remove duplicated line 2014-06-17 09:01:16 +02:00
cdavila
8c7b6717c9 Fix wrong reference to geometries in sintax
Geometry a was repeated and geometry was missing
2014-06-17 08:44:56 +02:00
Nathan Woodrow
3499a390d6 Fix #8756 - Update function help for colour functions 2014-05-18 23:28:55 +10:00
Nyall Dawson
2ce741678f Add expression functions for bounding box (bounds), bounding box width & height (bounds_width/bounds_height), and min/max x/y coordinates (xmin/xmax/ymin/ymax) 2014-05-18 21:53:00 +10:00
Werner Macho
9864bfc11b adding function help for atlasid and atlasgeometry
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-04-10 12:01:18 +02:00
Juergen E. Fischer
efabcdfc99 german translation update and translation string fixes 2014-03-11 11:46:46 +01:00
Mathieu Pellerin (nirvn)
5105f5f93e [expression] fix function help following argument ordering shift 2014-02-21 18:43:20 +07:00
Mathieu Pellerin (nirvn)
1c5228cca8 [expression] made wordwrap delimiter string an optional 3rd argument 2014-02-21 18:43:12 +07:00
Mathieu Pellerin (nirvn)
d1c61a02c1 [expression] rework the wordwrap to allow for maximum / minimum line length to wrap, fix test and add two more 2014-02-21 18:43:02 +07:00
Mathieu Pellerin (nirvn)
3cfee81259 [expression] add wordwrap function help file 2014-02-21 18:42:56 +07:00
Salvatore Larosa
f70e403b71 add help for bbox function 2014-02-09 19:08:19 +01:00
Nyall Dawson
c45bf504e7 Implement $map variable, which returns the current composer map item id where the map is being drawn, or 'canvas' if the map is being drawn in the main QGIS window. Partly implements #9288. 2014-01-05 13:25:37 +11:00
Tomas
688952d56a Fix function example explanation 2013-11-27 20:02:32 +02:00
Juergen E. Fischer
0f82df1ef2 ILIKE function help fix and german translation update 2013-10-20 23:18:13 +02:00
Juergen E. Fischer
e41857169b german translation update and some function help fixes 2013-09-15 19:21:58 +02:00
astroidex
1670a27423 new help texts for operators 2013-09-15 17:12:57 +02:00
astroidex
6ec9e75ca1 added help for confexHull function 2013-09-15 16:21:17 +02:00
astroidex
f51dfc52f6 added new help files for geometry functions 2013-09-15 16:18:02 +02:00
astroidex
81d00d35fb added new help files for geometry functions 2013-09-15 16:06:08 +02:00
astroidex
6adc8746e9 added new help files for geometry functions 2013-09-15 16:00:28 +02:00
Robert Szczepanek
cf6ad67743 [function help] In strpos() needle is string, not number 2013-09-05 00:27:00 -04:00
Werner Macho
6937e4f913 changes to make function help look the same 2013-08-24 09:06:03 +02:00
Nyall Dawson
2087de1060 Add note that non-greedy regular expressions are not supported to function help 2013-08-09 07:31:26 +10:00
Juergen E. Fischer
1e0b9c217d expression builder widget: hide sample buttons and context menu, when no layer is set (fixes #6802)
wfs source select: rename slots to avoid autoconnect warning
attribute table: remove stale connect
2013-06-30 15:02:14 +02:00
Juergen E. Fischer
c6a4bb86aa context_help/function_help:
- remove en_US postfix
- remove translated files (translation were moved to ts files earlier)
- remove unused jQuery (python help doesn't use it anymore)
- change expression label in QgsQueryBuilder and add context help (partly fixes
  #8129)
2013-06-21 23:59:40 +02:00
Juergen E. Fischer
cdd7e9f1c6 - recover japanese translations lost in 4b76600
- german translation fix
2013-05-15 08:33:47 +02:00
Juergen E. Fischer
4b766003e0 - integrate function_help and context_help to translation files
- add some german function help updates
- update helpviewer to show help passed into stdin from qgis
2013-05-15 01:35:03 +02:00
nyalldawson
10acbe017e Add clamp and scale_exp functions 2013-05-13 22:28:00 +10:00
Juergen E. Fischer
27183d9add add to german function help 2013-05-13 15:29:54 +02:00
Nathan Woodrow
e7f8326b83 Change -> to &rarr; in function help 2013-05-13 21:50:07 +10:00