1893 Commits

Author SHA1 Message Date
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
Denis Rouzaud
9ed1548494 move auto generated sip file in dedicated folder (gui) 2018-05-14 10:31:17 -04:00
Nyall Dawson
8d5e5c944d Add a newNameChanged signal to QgsNewNameDialog
Handy for subclasses.
2018-05-14 17:22:42 +10:00
Alessandro Pasotti
d06043f723
Merge pull request #6952 from elpaso/DelazJ-symbolselectorHelpShow
Delaz j symbolselector help show
2018-05-09 08:04:02 +02:00
Alessandro Pasotti
85d60f2bac Merge branch 'symbolselectorHelpShow' of https://github.com/DelazJ/QGIS into DelazJ-symbolselectorHelpShow 2018-05-08 18:15:51 +02:00
Nyall Dawson
99d0b3c337 More spell checks 2018-05-08 09:33:07 +10:00
MieWinstrup
b9b85f923d New action 'Move Out of Group' that moves layer(s) out of group(s). Deprecating the action 'Move to top level' 2018-05-04 11:02:17 +10:00
Nyall Dawson
5c9366605a Add missing SIP_DEPRECATED 2018-05-03 16:34:46 +10:00
Martin Dobias
3b36cdd170
Merge pull request #6750 from lbartoletti/visibleSnapPerf
[BUGFIX][FEATURE][NEEDS-DOCS] Disable snapping on invisible features. Second version
2018-05-01 09:46:59 +02:00
Harrissou Sant-anna
1c34339b3c Use modal dialog when in properties dialog, allowing to cancel
the process and add help button (fix #17903).
Also fix crash that occurs when pressing ESC button.

and fix doc
2018-04-30 14:23:30 +02:00
Harrissou Sant-anna
ee417aae67 Fix typo and spelling 2018-04-30 14:11:16 +02:00
Hugo Mercier
3984e906ea
Merge pull request #6513 from pblottiere/executesql_params
[FEATURE][needs-docs] Add parameters to 'Execute SQL' algorithm
2018-04-27 09:12:34 +02:00
Martin Dobias
e811c54bd2
Merge pull request #6835 from wonder-sk/identify-selection-modes
[FEATURE] Identify: more selection modes (simple / polygon / freehand / radius)
2018-04-26 23:03:00 +02:00
Blottiere Paul
b13ba37279 New method to add a scope to the current context 2018-04-26 09:47:40 +01:00
Loïc Bartoletti
66b0e59fb9 Fix snapping on invisible geometry 2018-04-23 16:00:43 +02:00
Martin Dobias
8c7b632570 Moved selection handler from gui lib to app 2018-04-23 13:53:42 +02:00
Nathan Woodrow
53a384cba7
[FEATURE][needs-docs] Show data defined expected format in expression builder (#6839) 2018-04-23 13:32:51 +10:00
Martin Dobias
6c2325c66b Fix sip/doxygen/todo 2018-04-21 01:00:27 +02:00
Martin Dobias
bac3080754 [FEATURE] Identify: more selection modes (simple / polygon / freehand / radius)
This extends identify tool with the ability to switch to different selection modes
(the ones offered also by the selection map tool)
2018-04-20 22:52:31 +02:00