Alessandro Pasotti
2b14dacd51
Fix identify on map in relation reference widget
...
Fixes #22071 - Relation reference widget wrong feature when "on map identification"
2019-05-21 19:09:18 +02:00
Alessandro Pasotti
b06103f140
Added missing SIP files and headers
...
Also fixes context evaluation before html is updated
2019-03-23 17:24:02 +01:00
Alessandro Pasotti
b165258e6d
[feature][needs-docs] HTML form widget
...
Shameless clone of QML widget, with some webview quirks.
Funded by ARPA Piemonte
2019-03-23 16:41:16 +01: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
b6d66becab
Sipify
2019-02-27 09:41:11 +10:00
Nyall Dawson
384d310233
Minor improvements to PyQGIS returns for SIP_OUT params
2019-02-05 04:55:34 +11:00
Nyall Dawson
eafedeeb8b
Sipify
2019-01-21 14:48:19 +11:00
Denis Rouzaud
166e952c33
run sipify
2018-12-19 08:04:27 -04:00
Denis Rouzaud
edfb7e1465
run sipify
2018-12-18 17:17:25 -04:00
Denis Rouzaud
95142cc19e
use Exclude field by default for relation search widget wrapper
...
fix #20201
2018-10-25 16:38:22 -04:00
Alessandro Pasotti
d179635b92
[bugfix] Allow empty null representation in spinboxes
...
Fixes #18583 - Widget "Range": Representation for NULL value is NOT always displayed correctly
2018-09-18 12:54:17 +02:00
signedav
b3e4755e2e
Enum Mode in QgsAttributeEditorContext
...
instead of QgsAttributeForm - because it's used on places not including QgsAttributeForm
now it's able to use @form_mode in expressions of containers and QML widgets
2018-09-11 12:14:20 +02:00
signedav
d80ad3d34f
form_mode for qmlwidgetwrapper expression
2018-09-10 18:08:26 +02:00
signedav
a5fc39100a
no case default and removed unused doc
2018-09-10 08:16:06 +02:00
signedav
21a772ff6c
spelling american
...
initialization not initialisation
2018-09-06 13:24:30 +02:00
signedav
13089664e8
spelling and missing case in qgsquick
2018-09-06 13:02:01 +02:00
signedav
5f4acded15
some more fixes
...
Removed QmlExpression from api
On activation of template box, we overwrite the text in the GUI
The preview is loaded including expression values on start
Takes expression instead of currentText from ExpressionWidget - means it delivers fields in quotes
2018-09-06 07:57:17 +02:00
signedav
4504845311
moved QmlExpression back to header
2018-09-05 17:07:43 +02:00
signedav
76df5b022d
docs and replacement of qmlexpression
2018-09-05 15:59:01 +02:00
signedav
ae3176fef7
docstrings and beautification
2018-09-05 11:01:33 +02:00
signedav
ccdd4df5ce
expressions on qml widget
2018-09-05 11:01:33 +02:00
signedav
abbe5c5205
expressions
2018-09-05 11:01:33 +02:00
signedav
6ac41b42d9
preview
2018-09-05 11:01:32 +02:00
signedav
e8e32fab64
Configuration and display
...
works in basic - no attributs. no handy configurator.
2018-09-05 11:01:32 +02:00
Matthias Kuhn
493bdb1bf2
f
2018-09-05 11:01:32 +02:00
Matthias Kuhn
5acd33b32d
Work in progress
2018-09-05 11:01:32 +02:00
Juergen E. Fischer
1904a431be
fix typo
2018-06-27 18:16:42 +02: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
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
Denis Rouzaud
65bb60e96c
run sipify
2018-05-28 10:39:34 -08: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
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
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
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
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
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
9ed1548494
move auto generated sip file in dedicated folder (gui)
2018-05-14 10:31:17 -04:00