Nyall Dawson
bfd37e1122
[sipify] Add return types for functions in docstrings
...
and change \return -> :return: in docystrings
2017-04-08 09:48:48 +10:00
Matthias Kuhn
58d2d6d7f9
sipify_all
2017-04-07 12:26:30 +02:00
Nyall Dawson
4eeacb8fdf
[sipify] Replace :: with . during doxygen->docstring conversion
...
e.g.
You can use QgsXmlUtils::writeVariant to save it to an XML document
->
You can use QgsXmlUtils.writeVariant to load it from an XML document
2017-04-05 10:32:27 +10:00
Nyall Dawson
9b3539ab07
Update sip files
2017-04-03 13:18:36 +10:00
Matthias Kuhn
beb185a72e
Update sipify to use the "\since" tag
2017-04-03 01:31:44 +02:00
Matthias Kuhn
50ca79ef43
Add some remaining \since tags
2017-04-03 01:28:50 +02:00
Matthias Kuhn
fb91ed7395
Use "\since" instead of "@note added in"
2017-04-03 01:06:33 +02:00
Matthias Kuhn
a609883cc0
Add %Feature support to sipify
2017-04-02 23:37:17 +02:00
Nyall Dawson
f044eeb597
Remove \brief from doxygen in sipify
2017-04-02 21:28:20 +10:00
Nyall Dawson
d3daf60020
Convert doxygen notes and version added to sphinx style in sipify
2017-04-02 20:52:50 +10:00
Nyall Dawson
28a57c8f95
Remove ingroup and class from doxygen when creating sip docstrings
2017-04-02 20:30:22 +10:00
Matthias Kuhn
5148b7accb
[sipify] Add name of source file to generated headers
2017-04-01 19:10:59 +02:00
Denis Rouzaud
15e4903890
sipify improvements
...
* add demo file and start a short doc
* fix some annotations
* do not display hidden line (SIP_SKIP, delete)
* use a defined var for SIP_SKIP
* remove constructor definition in header
* fix comment after method definition in header
* add a test for sipify itself
2017-03-30 15:13:01 +02:00
Denis Rouzaud
b0564becfd
also comment methods
...
fix comment starting on first line of block
2017-03-30 15:13:01 +02:00
Denis Rouzaud
7b08608f7f
sipify QgsVectorLayer, QgsFeature
2017-03-30 15:13:01 +02:00
Denis Rouzaud
ba6f736c02
remove comments from sipfiles (QgsVectorLayer and QgsFeature)
2017-03-30 15:13:01 +02:00
Nyall Dawson
0faf7c395f
Allow value fetching and histogram calculation to be canceled
2017-02-22 11:16:54 +10:00
Denis Rouzaud
7812d4fb17
remove the-prefix from source code
...
this might result in variables having the same name as some methods
2017-02-21 18:14:58 +01:00
Vincent Mora
77bf999094
Merge pull request #3905 from nextgis/25d_enhancement
...
[FEATURE] QGIS setting to choose default Z value
2017-02-13 09:11:27 +01:00
Nyall Dawson
4f7d9cddfe
Merge pull request #4064 from jgrocha/delete-style-from-db-provider-postgis
...
Delete style from db provider postgis
2017-02-06 08:34:24 +10:00
Jorge Gustavo Rocha
8b36ad5b90
Updated Qt connections to the new style qgis/QGIS-Enhancement-Proposals#77
...
Changed isDeleteStyleFromDBSupported to isDeleteStyleFromDbSupported
2017-02-05 19:35:47 +00:00
alisovenko
d780ba7593
Merged master fixed conflict.
2017-02-03 18:11:49 +03:00
Jorge Gustavo Rocha
738fbd455b
revert the SIP deleteStyleFromDatabase signature
2017-01-31 12:09:48 +00:00
Jorge Gustavo Rocha
e649280601
improve deleteStyleFromDatabase signature
2017-01-31 11:31:14 +00:00
Jorge Gustavo Rocha
8e989c1e38
improve deleteStyleFromDatabase signature
2017-01-31 10:46:49 +00:00
Martin Dobias
7683cfacd3
Rework vector joins so they do not use QgsProject::instance()
...
The basic idea is to split reading of XML definition and resolution of layer IDs into layers.
Also includes some cleanups in QgsProject and improvements in QgsVectorLayerJoinInfo.
2017-01-31 09:33:02 +08:00
Jorge Gustavo Rocha
6d6f288102
make deleteStyleFromDatabase consistent with other vectorlayer's methods
2017-01-30 23:48:20 +00:00
Nyall Dawson
6c7e2f1b87
Make QgsVectorLayer ctor default to ogr provider
2017-01-27 15:53:35 +10:00
Denis Rouzaud
b119744773
replace cancelling, cancelled and cancellation by canceling, canceled and cancelation, respectively ( #4000 )
...
* replace cancelling and cancelled by canceling and canceled, respectively
see https://github.com/qgis/qgis3_UIX_discussion/issues/19
* replace cancellation by cancelation
2017-01-16 22:27:14 +01:00
Denis Rouzaud
0a63d1f2c2
[spellcheck] properly look into various cases and add more fixes"
2017-01-16 16:39:20 +01:00
Denis Rouzaud
bf22cbfa9d
[spellcheck] fix case detection + some fixes
2017-01-16 10:56:42 +01:00
Nyall Dawson
231f6af0e1
Don't return const references to implicitly shared Qt classes
...
Instead return the inexpensive copies. Should provide extra safety
against issues like #14822
(refs #14822 )
2017-01-14 15:53:45 +10:00
Denis Rouzaud
6c74e4ea5d
spelling fixes
2017-01-12 22:01:50 +01:00
Denis Rouzaud
748be8de71
[spelling] replace behaviour by behavior
2017-01-11 11:35:19 +01:00
alisovenko
f8d70619db
Add SIP bindings
2017-01-11 09:51:38 +03:00
Harrissou Sant-anna
ef85cdcf83
Replace "eg" by "e.g." or "for example"
2016-12-30 00:03:22 +01:00
Matthias Kuhn
8b2ea98871
Add missing bindings
2016-12-20 01:20:08 +01:00
Harrissou Sant-anna
f9578bf60b
Replace selectedFeaturesIds by selectedFeatureIds
2016-12-07 00:19:11 +01:00
Nyall Dawson
6d0203d612
Change QgsVectorLayer::featureCount( QgsSymbol* symbol ) to instead
...
use a legend key string
Avoids crashes due to symbol pointer lifetime issues
2016-12-02 13:55:41 +10:00
Nyall Dawson
4682eaf6eb
Add QgsVectorLayer::uniqueStringsMatching() to retrieve
...
a list of unique strings matching a substring for a field
2016-11-16 14:19:24 +01:00
Nyall Dawson
4a5faa083f
Remove duplicate selectionChanged signal from QgsVectorLayer
...
If you don't want the extra info, just don't capture it...
2016-11-15 07:00:49 +10:00
arnaud.morvan@camptocamp.com
a8d9dea1fb
Add QgsExpressionContextGenerator inheritances in sip
2016-11-06 17:58:54 +01:00
Nyall Dawson
fac5bc0691
[FEATURE] Field constraints can be enforced or not
...
Non-enforced constraints just show a warning to the user, but
do not prevent committing the feature. Enforced constraints
block users from comitting non compliant features.
Any constraints detected by the provider are always
enforced.
2016-11-02 13:42:22 +10:00
Nyall Dawson
cb94b68d88
Move constraint handling to QgsFieldConstraints
...
Avoids cluttering QgsField API
2016-11-02 11:07:07 +10:00
Nyall Dawson
2500d75f5e
Move responsibility for storage of constraint expressions to QgsVectorLayer
2016-11-02 11:07:07 +10:00
Nyall Dawson
bd9f672aa7
Allow constraints to be added at a QgsVectorLayer level
2016-11-02 11:07:07 +10:00
Even Rouault
e237963274
SIP QgsVectorLayer: fix signatures for output parameter
...
saveStyleToDatabase() and getStyleFromDatabase() should define errMsg as
output parameter
And loadNamedStyle() also for theResultFlag.
2016-10-25 10:28:53 +02:00
Nyall Dawson
44289084e9
Optimise passing of variables by ref/value
2016-10-24 10:36:23 +10:00
rldhont
726bac5291
Last Redo [BUGFIX][QGIS Server] Joins was not reloaded if the layer is in cache
...
Add an accessor to QgsVectorLayer join buffer, to not duplicate QgsVectorLayerJoinBuffer::readXml code
2016-10-12 17:03:38 +02:00
Matthias Kuhn
ff52a9f29b
setAttributeAlias is now setFieldAlias
2016-10-01 15:39:03 +02:00