8 Commits

Author SHA1 Message Date
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
9ed1548494 move auto generated sip file in dedicated folder (gui) 2018-05-14 10:31:17 -04:00