mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
Relation editor widget get list of editing features
This commit is contained in:
parent
fd1b819243
commit
c8dd03bc96
@ -144,6 +144,16 @@ If it's empty it takes the relation id as label
|
||||
QgsFeature feature() const;
|
||||
%Docstring
|
||||
Returns the widget's current feature
|
||||
If the widget is in multiedit mode only the first is returned
|
||||
|
||||
.. seealso:: :py:func:`features`
|
||||
%End
|
||||
|
||||
QList<QgsFeature> features() const;
|
||||
%Docstring
|
||||
Returns the widget's current features
|
||||
|
||||
.. versionadded:: 3.24
|
||||
%End
|
||||
|
||||
bool forceSuppressFormPopup() const;
|
||||
|
||||
@ -187,6 +187,11 @@ QgsFeature QgsAbstractRelationEditorWidget::feature() const
|
||||
return QgsFeature();
|
||||
}
|
||||
|
||||
QList<QgsFeature> QgsAbstractRelationEditorWidget::features() const
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void QgsAbstractRelationEditorWidget::toggleEditing( bool state )
|
||||
{
|
||||
if ( state )
|
||||
|
||||
@ -153,9 +153,17 @@ class GUI_EXPORT QgsAbstractRelationEditorWidget : public QWidget
|
||||
|
||||
/**
|
||||
* Returns the widget's current feature
|
||||
* If the widget is in multiedit mode only the first is returned
|
||||
* \see features
|
||||
*/
|
||||
QgsFeature feature() const;
|
||||
|
||||
/**
|
||||
* Returns the widget's current features
|
||||
* \since QGIS 3.24
|
||||
*/
|
||||
QList<QgsFeature> features() const;
|
||||
|
||||
/**
|
||||
* Determines the force suppress form popup status that is configured for this widget
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user