Nyall Dawson
16a64ed84d
Deprecate some methods, dox++
2019-03-22 12:16:22 +10:00
Nyall Dawson
1dc447e1f2
Dox++
2019-03-21 12:44:16 +10:00
Nyall Dawson
eab08d006c
Do not allow CRS changes in datum transform dialog when it has
...
been shown as a result of requiring the transform for a specific CRS pair
Sponsored by ICSM
2019-03-19 13:32:13 +10:00
Nyall Dawson
bdbb622bac
Fix crash when using QgsLayoutItemComboBox when null values
...
are displayed
Turns out there is NO reliable way to create a proxy model
which adds new rows to a model, so just bite the bullet and
do it in the underlying model (yuck)
2019-03-18 17:32:31 +10:00
Nyall Dawson
719a225bca
[processing] Port point widget wrapper to new API
...
And switch to a snapping canvas tool when selecting points from canvas
2019-03-17 16:19:40 +10:00
Nyall Dawson
46e3304d2c
Fix naming collision
2019-03-13 16:52:29 +10:00
Nyall Dawson
ca7008c285
Add API to allow QgsScaleWidget to accept NULL values
2019-03-13 16:52:29 +10:00
Nyall Dawson
7c582063c1
Add API to allow null values in QgsScaleComboBox
2019-03-13 16:52:29 +10:00
Julien Cabieces
1dc146a7ca
Change 'since' version to 3.4.6 ( #9480 )
2019-03-12 12:05:36 +01:00
Nyall Dawson
f9fb4085b2
Tweaks to layout item combo box
2019-03-12 08:16:52 +10:00
Nyall Dawson
5ec43cfdc1
[processing] Add project to QgsProcessingParameterWidgetContext
2019-03-12 08:16:52 +10:00
Nyall Dawson
8d77a6bdcc
New gui class QgsLayoutComboBox
...
Shows a list of layouts
2019-03-12 08:16:52 +10:00
Denis Rouzaud
0e5c91234f
add missing new line
2019-03-08 12:00:02 +01:00
Denis Rouzaud
d0fceef23a
Merge pull request #9425 from 3nids/scope_base_enum
...
Scope based enum
2019-03-08 11:38:01 +01:00
Nyall Dawson
cccf974211
[processing] Port enum widget wrapper to new API
...
Fixes:
- enum parameters set to "allow multiple" only allow a single
value selection when used in modeler
- optional enum parameters cannot be set to no value when
used outside of modeler
Fixes #20406
2019-03-08 15:46:59 +10:00
Denis Rouzaud
20883c9532
run sipify
2019-03-07 21:07:53 +01:00
Denis Rouzaud
717ea437c1
use scope based enum for QgsAdvancedDigitizingDockWidget::AditionalConstraints
2019-03-07 16:34:16 +01:00
Harrissou Sant-anna
53a717a41b
Fix formatting in pyqgis documentation ( #9396 )
...
* Fix API documentation
* Fix sip doc
2019-03-06 20:09:26 +01:00
Nyall Dawson
63d648738d
[processing][needs-docs] By default, hide algorithms with known issues from toolbox
...
And add a Processing setting to allow these to be shown. When shown, they
are highlighted in red with a tooltip explaining that the algorithm
has known issues
2019-03-06 06:33:06 +10:00
Nyall Dawson
107b48a430
Add NULLPTR macro for use in doxygen comments
...
For the c++ api dox this expands to "\c nullptr" (the
\c directive indicates a code literal value), and for sipify/Python
it expands to ``None`` (`` is sphinx annotation for literal values)
Makes for nicer dox for both c++ and Python!
2019-02-27 09:41:11 +10:00
Nyall Dawson
a7ca08784c
Nullptr consistency in dox
2019-02-27 09:41:11 +10:00
Nyall Dawson
caff98d8bf
Retval -> returns
2019-02-27 09:41:11 +10:00
Nyall Dawson
b6d66becab
Sipify
2019-02-27 09:41:11 +10:00
Blottiere Paul
3fbda69669
Update sip binding
2019-02-26 12:56:14 +00:00
Nyall Dawson
519a30f10c
Standardise dox for signals
2019-02-26 03:24:31 +10:00
Alessandro Pasotti
a615a3b3f5
Merge pull request #9260 from elpaso/form-background-color
...
Add bg color option to form containers
2019-02-25 15:13:36 +01:00
Nyall Dawson
7eab74f803
Fix use of trailing */ in dox, which messes with sipify Python documentation output
2019-02-25 19:02:12 +10:00
Bas Couwenberg
371176357b
Fix spelling errors.
...
* cancelation -> cancellation
* overal -> overall
2019-02-24 22:39:40 +01:00
Alessandro Pasotti
8d3f73a62a
[feature][needs-docs] Add bg color option to form containers
...
Because gray is boring.
2019-02-24 13:18:29 +01:00
Julien Cabieces
1c34329234
Allow expression widget to be empty so expression could be removed ( #9032 )
...
* fixes #20516 : Allow Constraint widget in attribute type form to be empty so expression could be removed
per widget modification
* correct tests
* Add the clear button on field expression widget when widget is allowed to be empty
* Change API since version to 3.6
2019-02-20 14:41:38 -05:00
Nyall Dawson
b06f00d01b
Fix dox test
2019-02-20 05:39:04 +10:00
Nyall Dawson
24529b1963
[processing] Add API to set contexts for QgsProcessingAlgorithmConfigurationWidgets
2019-02-20 05:39:04 +10:00
Nyall Dawson
9a75976ca4
API tweaks
2019-02-12 07:18:02 +10:00
Matthias Kuhn
2fb37042a5
Fix TODO and docstrings
2019-02-07 14:36:43 +01:00
donvincenzo
e4e0948a3d
Add actionVertexToolActiveLayer to iface
2019-02-07 11:17:56 +11:00
Matthias Kuhn
2745dfe4bf
Merge pull request #9110 from m-kuhn/sip-no-default-parameter-override
...
Do not remove parameters from virtual methods which should be used in…
2019-02-06 17:13:51 +01:00
Matthias Kuhn
89ea819938
Make sure Python wrappers of quasi-singletons are kept alive
...
If they are deleted, any other python wrappers which have been parented to these singletons are deleted too.
One of the most common issues with this is, that subclasses of registry items are deleted and lost.
2019-02-06 12:18:41 +01:00
Matthias Kuhn
1a87fce33c
Do not remove parameters from virtual methods which should be used in python
...
These methods did not actually override their parent methods but just coexisted and were never called.
Fixes compilation with SIP version: 4.19.14
2019-02-06 10:29:26 +01:00
Nyall Dawson
384d310233
Minor improvements to PyQGIS returns for SIP_OUT params
2019-02-05 04:55:34 +11:00
Nyall Dawson
4b0f6b756c
Slight improvements to Python docs
2019-02-05 04:55:34 +11:00
Peter Petrik
3103b00f00
fix identify for mesh layers ( #9047 )
2019-02-01 15:18:26 +01:00
Denis Rouzaud
f66d1999af
add SIP_DEPRECATED
2019-01-31 15:27:50 -05:00
Denis Rouzaud
3d57a93ffe
fix typo in method name
...
rename method but keep old one in Python for API compatibility
2019-01-31 15:27:50 -05:00
Nyall Dawson
9a723d91e8
New Shapefile Layer dialog: avoid warning message on user cancel
...
Also add better error message reporting, and deprecate horrible API.
2019-01-30 05:08:59 +11:00
Mathieu Pellerin
df1d47b86a
[gui] Fix style manager's add button when the 'all' tab is selected
2019-01-25 19:38:28 +07:00
Pierre-Eric Pelloux-Prayer
25f2aba44d
Include qgis_sip.h instead of qgis.h where possible ( #8961 )
...
This PR continues the work started in PR #8951 .
This commit replaces occurences of #include "qgis.h" by #include "qgis_sip.h",
where possible = when files only depends on SIP_XXX features.
2019-01-24 11:33:22 -05:00
Nyall Dawson
996f48670d
[afs][needs-docs] Allow users to set a specific referer for AFS connections, for
...
use with ArcGIS feature server requests
Some servers are locked down to only allow requests with a specific
referer URL - this allows us to open them in QGIS (but it requires
users to manually determine the correct referer string and populate
this setting for the connection -- we cannot do this for them!)
2019-01-24 18:05:45 +11:00
Pierre-Eric Pelloux-Prayer
08634c4e6f
fix style
2019-01-23 14:59:19 +01:00
Nyall Dawson
eafedeeb8b
Sipify
2019-01-21 14:48:19 +11:00
Nyall Dawson
dc7a4ce53c
Make URLS in message log clickable
2019-01-21 12:57:54 +11:00