Nyall Dawson
917263a9a3
Allow setting project for QgsExpressionBuilderWidget
...
(still defaults to QgsProject::instance())
2017-07-31 08:18:09 +10:00
Nyall Dawson
e79bf3fb94
Add some unit tests for QgsExpressionBuilderWidget
2017-07-31 08:08:18 +10:00
Denis Rouzaud
563e7c17fc
sipify gui part 3
2017-05-24 14:49:28 +02:00
Denis Rouzaud
85f3b81b55
remove double spaces in sip files
...
fix indentation
2017-05-03 08:02:14 +02:00
Denis Rouzaud
7d459149c7
[sip] align missing bits and replace nullptr by 0
2017-05-02 08:09:53 +02:00
Denis Rouzaud
93971d5ed3
[sip] align pointer and reference in blacklisted files
...
this will facilitate sip diff checking
2017-05-01 17:49:43 +02:00
Denis Rouzaud
0a63d1f2c2
[spellcheck] properly look into various cases and add more fixes"
2017-01-16 16:39:20 +01:00
Nyall Dawson
b5480633e4
Standardise names for static variables
...
All non-const variables are prefixed with "s", all const
statics are ALL_CAPS
2017-01-14 16:40:24 +10:00
Harrissou Sant-anna
ef85cdcf83
Replace "eg" by "e.g." or "for example"
2016-12-30 00:03:22 +01:00
Matthias Kuhn
febcabb0da
Make using recent expressions API simpler and add doxygen comment
2016-07-07 16:39:13 +02:00
Matthias Kuhn
9080aa1988
Don't require a parent for QgsExpressionBuilderWidget
2016-05-16 11:16:13 +02:00
Juergen E. Fischer
a90be95f7b
sip sync
2016-02-14 03:50:49 +01:00
Nathan Woodrow
8c86aab0f4
[Expressions] Redesign expression function editor.
...
Add auto save
2015-11-04 21:27:00 +10:00
Nyall Dawson
c49b5b777f
Change a lot of arguments to const references in core/gui
...
Rationale:
- there was a lot of large objects passed by value, so potentially
there's a speed bump from this
- even for implicitly shared classes like QString/QList there's still
a (small) cost for copying the objects when there's no reason to
- it's the right thing to do!
2015-10-07 12:02:04 +11:00
Salvatore Larosa
d493a69069
[FEATURE] allow filtering for field values in expression widget
2015-09-25 07:45:26 +02:00
Nyall Dawson
d7b74748c8
Fix filtering of highlighted variables
2015-08-22 19:01:43 +10:00
Nyall Dawson
440926bbc4
Sort functions and variables in expression builder
2015-08-22 19:01:42 +10:00
Nyall Dawson
85bda6c05f
Add method for highlighting variables in the expression builder
2015-08-22 19:01:42 +10:00
Nyall Dawson
bfc8f56ad4
Display variables and functions from contexts in expression builder
2015-08-22 19:01:42 +10:00
Nyall Dawson
0ea638cbc0
Followup f4e356b
2015-06-27 14:11:44 +10:00
Sandro Mani
f4e356bcef
Add QgsExpressionBuilderWidget::loadFieldsAndValues
2015-06-27 13:34:56 +10:00
Nyall Dawson
3c71498c3e
Add some missing /TransferThis/ to sip bindings for QObject parents
2015-02-18 17:35:47 +11:00
Juergen E. Fischer
93e22264c3
header install update
2015-01-16 15:49:24 +01:00
Nathan Woodrow
59162bc178
[FEATURE] Function editor for expression widget.
...
Allows for adding on the fly functions to the expression engine.
Functions are saved in qgis2\python\expressions.
New qgis.user module in Python.
The qgis.user.expressions package points to the qgis2\python\expressions
package in the users home
2015-01-16 19:43:47 +10:00
Juergen E. Fischer
9ceb5ceab6
sip sync
2014-11-21 01:17:21 +01:00
Juergen E. Fischer
74e7314c36
update sip bindings II
2014-01-27 09:22:53 +01:00
Juergen E. Fischer
e0907b0f0a
more spelling fixes
2013-05-03 21:39:28 +02:00
Martin Dobias
9317ffd89a
Merge remote-tracking branch 'origin/master' into new_vector_api
...
Also disabled mapserver until compilation is fixed.
Fixed tests.
Conflicts:
src/app/legend/qgslegendlayer.cpp
src/app/qgsattributedialog.cpp
src/app/qgsattributedialog.h
src/app/qgslabelpropertydialog.cpp
src/app/qgsmaptoollabel.cpp
src/app/qgsvectorlayerproperties.cpp
src/core/CMakeLists.txt
src/core/composer/qgsatlascomposition.cpp
src/core/qgsexpression.cpp
src/core/qgspallabeling.cpp
src/core/qgsvectorlayer.cpp
src/core/qgsvectorlayer.h
src/core/qgsvectorlayerimport.cpp
src/mapserver/qgsprojectparser.cpp
src/mapserver/qgswfsserver.cpp
src/mapserver/qgswfsserver.h
src/mapserver/qgswmsserver.cpp
src/providers/postgres/qgspostgresprovider.cpp
src/providers/spatialite/qgsspatialiteprovider.h
tests/src/core/testqgsexpression.cpp
tests/src/python/test_qgsmemoryprovider.py
2012-12-18 01:35:06 +01:00
Magnus Homann
194d94c5ed
Using QgsProject settings instead, not fully tested
2012-11-25 11:33:38 +01:00
Martin Dobias
51122d263a
Store attributes and fields in vectors instead of maps
2012-10-20 22:19:55 +02:00
Juergen E. Fischer
f3cb57b1eb
SIP bindings update:
...
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00