Even Rouault
14a913e25b
Merge pull request #7170 from rouault/wfs_pagesize
...
[WFS provider] [FEATURE] Allow user to enable/disable paging and specify page size (fixes #18935 )
2018-06-22 14:57:37 +02:00
Matthias Kuhn
2718317e85
Merge pull request #7298 from nyalldawson/layout
...
[layouts] Save last used export folder in project
2018-06-22 14:35:37 +02:00
Nyall Dawson
757949bac0
Add missing references
2018-06-22 09:43:19 +10:00
Matthias Kuhn
0749835071
Take changes of embedded forms into account
...
when clicking on ok of an attribute form, tell all embedded widgets (all
widgets actually) that we are going to close the form and it's the last
call to push changes to the edit buffer or they will be lost.
Fix #19137
2018-06-21 11:50:20 +02:00
Nyall Dawson
a2ef677912
Add method to toggle user visibility of QgsDockWidgets
2018-06-19 17:22:12 +10:00
Nyall Dawson
184b0ef2a9
Remove unnecessary code
...
QObjects cannot be copied anyway
2018-06-17 15:09:07 +10:00
Nyall Dawson
b643465b12
Fix build, dox++
2018-06-17 15:09:07 +10:00
Nyall Dawson
6470aacb33
Ban QScopedPointer/QSharedPointer
2018-06-17 15:09:07 +10:00
Tudor Bărăscu
a92b049a70
fix dislpay typo
2018-06-14 13:02:40 +03:00
Nyall Dawson
b69389b650
Run clang-tidy modernization checks
2018-06-05 12:50:39 +10:00
Nyall Dawson
8f55093642
Add some missing dox
2018-06-05 10:19:13 +10:00
Nyall Dawson
2ed144ac59
Apply clang-tidy readability-avoid-const-params-in-decls fixit
...
Checks whether a function declaration has parameters that are
top level const.
const values in declarations do not affect the signature of a
function, so they should not be put there.
2018-06-05 10:19:13 +10:00
Even Rouault
e998fcf0b2
[WFS provider] [FEATURE] Allow user to enable/disable paging and specify page size ( fixes #18935 )
...
The 'maximum number of features' settings is now always the maximum number of
features requested, even in WFS 2.0 with paging.
For WFS 2.0, we add a checkbox to enable/disable paging and a text entry to
specify the page size (if let to empty, server default is used)
We also add a Detect button so that the WFS version is autodetected.
2018-06-04 20:16:55 +02:00
Denis Rouzaud
164f662dc0
fix sipify and run
2018-06-03 11:07:09 -08:00
Denis Rouzaud
e5b02cd2a8
use dedicated files for auto additions
2018-06-03 11:07:09 -08:00
Denis Rouzaud
a15d8903ed
[locator] add a way to invalidate results from python API
...
otherwise if you access the config of the filter (or change app settings) from outside the main application settings dialog, results are not invalidate
for instance, if you update a URL of a service, results won't be updated
2018-06-01 03:31:39 -08:00
Denis Rouzaud
65bb60e96c
run sipify
2018-05-28 10:39:34 -08:00
Nyall Dawson
a804a33bc7
Remove some useless \returns dox
2018-05-28 09:48:46 +10:00
Nyall Dawson
f8bc97030b
Remove extra space added before first line of docstring
2018-05-28 08:22:11 +10:00
Nyall Dawson
7a1a787c0a
Fix incorrect returns docstring when doxygen \returns has extra trailing spaces or uses tabs
2018-05-27 18:54:09 +10:00
Nyall Dawson
0e75f6ef85
Don't indent multiline versionadded/deprecated tags
...
Turns out there isn't any valid ones anyway - the only
multiline versionadded tags are due to incorrect ordering
of brief/since tags (which is fixed in a different PR)
2018-05-27 18:54:09 +10:00
Nyall Dawson
9f650fead9
Fix incorrect param docstring when doxygen \param has extra
...
trailing spaces or uses tabs
2018-05-27 18:54:09 +10:00
Nyall Dawson
4b1b752633
Fix bad regex
2018-05-27 18:54:09 +10:00
Nyall Dawson
3d6ea5972b
Remove some junk lines from docstrings
2018-05-27 18:54:09 +10:00
Nyall Dawson
38850bdb94
[pyqgis] Ensure that multiline param tags are indented for additional lines
2018-05-27 18:54:09 +10:00
Nyall Dawson
c864d22d1f
Add "get ..." to doxygen compliance blacklist
...
Should be "gets ..." for consistent tense, or better yet
"returns ..." for consistency.
2018-05-27 14:05:06 +10:00
Nyall Dawson
17500c455f
Fix some interface doxygen
2018-05-27 14:05:06 +10:00
Nyall Dawson
4bb7f82fcb
Remove some incorrect 'not available in Python bindings' notes
2018-05-26 16:51:58 +10:00
Nyall Dawson
94cf3fc788
Use "customize" instead of "customise"
...
Since we default to US spelling, we should always be using "customize"
2018-05-26 15:44:04 +10:00
Matthias Kuhn
cb4d11787c
Remove redundant virtual on override
2018-05-26 06:11:37 +10:00
Nyall Dawson
5e360f90e8
Add unit test to prevent deprecated methods without description
...
And add missing descriptions
2018-05-25 16:31:03 +10:00
Nyall Dawson
1c615c15cc
More documentation compliance
...
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +10:00
Nyall Dawson
2cb8a33884
Fix broken see also links
2018-05-25 11:16:18 +10:00
Nyall Dawson
afa04d9b5b
Fix non-compliant docstrings
2018-05-23 16:55:11 +10:00
Denis Rouzaud
b4ec9a3190
[pyqgis] add QgsSettings.enumValue and flagValue to the bindings ( #7024 )
...
* [pyqgis] add QgsSettings.enumValue and flagValue to the bindings
these are done in pure Python since no implementation is possible in SIP
there is a dirty hack for flags since QgsMapLayerProxyModel.Filters.__qualname__
returns 'Filters' and not 'QgsMapLayerProxyModel.Filters'
* fix typo
2018-05-18 09:25:12 -08:00
Denis Rouzaud
deccf205cf
[pyqgis] add method to retrieve metaEnum from an enum value or type ( #7023 )
2018-05-18 06:47:18 -08:00
Matthias Kuhn
bc25781208
Merge pull request #7013 from m-kuhn/sortList
...
Sort list on the attribute table/form view based on shown value
2018-05-18 12:40:53 +02:00
Denis Rouzaud
f267adc37a
run sipify
2018-05-17 22:54:39 -04:00
Matthias Kuhn
b76acbe46a
More docstring fixes
2018-05-17 13:51:43 +02:00
Matthias Kuhn
74dec50cd4
Fix docstring
2018-05-17 13:40:02 +02:00
Blottiere Paul
4b7012045c
Update sip binding
2018-05-17 10:34:20 +01:00
Matthias Kuhn
9963892790
Make additional sort caches accessible
2018-05-17 08:57:06 +02:00
Matthias Kuhn
2325fe5a39
Deprecate unrequired methods
2018-05-17 08:48:44 +02:00
Matthias Kuhn
f1770c7529
QgsFeatureListModel is sortable by display expression
2018-05-17 08:48:43 +02:00
Matthias Kuhn
14cefe3d3a
QgsFeatureListModel inherits QSortFilterProxyModel
2018-05-17 08:48:43 +02:00
Matthias Kuhn
2544391a9a
Allow prefetching more than a single sort expression
...
in the attribute table model. One is used for the table, the other one for the feature list in the form view.
2018-05-17 08:48:42 +02:00
Alessandro Pasotti
541737681b
Moved form feature to private and added setters/getters
...
plus other minor style changes as suggested by m-kuhn
in his PR review
2018-05-15 08:34:08 +02:00
Alessandro Pasotti
83328ae596
[feature] Form context expressions in value relation widget
...
The value relation widget filter expression can now use two
new functions/variables that have access to the current
values and geometry of the form being edited.
This allows for dynamic filtering (drill-down) as explained
in the crowdfunding page:
https://north-road.com/drill-down-cascading-forms/
The new functions/variables are:
Function:
get_current_form_field_value( 'FIELD_NAME' )
Variable:
@current_form_geometry
2018-05-15 08:34:08 +02:00
Denis Rouzaud
fca72fa7d1
put back module sip files
2018-05-14 11:02:28 -04:00
Denis Rouzaud
847f0e1829
adapt sipify scripts and test to place auto generated sip files in dedicated folder
2018-05-14 10:44:11 -04:00