Skip to content
Permalink
Browse files

Merge pull request #32472 from troopa81/feature_selectionwidget_in_fe…

…atureselectiondialog

Selection widget in feature selection dialog
  • Loading branch information
m-kuhn committed Dec 16, 2019
2 parents 3b4437b + a8f46ac commit b42a31ec2f8ec91206fc1e62b3ca33059c1d3763
@@ -291,7 +291,8 @@ The following operations will be performed to convert the input features:
static QString getFeatureDisplayString( const QgsVectorLayer *layer, const QgsFeature &feature );
%Docstring

:return: the ``layer`` ``feature`` display string
:return: a descriptive string for a ``feature``, suitable for displaying to the user.
The definition is taken from the ``displayExpression`` property of ``layer``.

.. versionadded:: 3.12
%End
@@ -29,7 +29,7 @@ class QgsFeatureSelectionDlg : QDialog
%End
public:

explicit QgsFeatureSelectionDlg( QgsVectorLayer *vl, QgsAttributeEditorContext &context, QWidget *parent /TransferThis/ = 0 );
explicit QgsFeatureSelectionDlg( QgsVectorLayer *vl, const QgsAttributeEditorContext &context, QWidget *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsFeatureSelectionDlg
%End
@@ -50,11 +50,15 @@ Set the selected features

protected:

virtual void keyPressEvent( QKeyEvent *evt );


virtual void showEvent( QShowEvent *event );

%Docstring
Make sure the dialog does not grow too much
%End

};

/************************************************************************

0 comments on commit b42a31e

Please sign in to comment.
You can’t perform that action at this time.