Skip to content

Commit

Permalink
Merge pull request #32472 from troopa81/feature_selectionwidget_in_fe…
Browse files Browse the repository at this point in the history
…atureselectiondialog

Selection widget in feature selection dialog
  • Loading branch information
m-kuhn committed Dec 16, 2019
2 parents 3b4437b + a8f46ac commit b42a31e
Show file tree
Hide file tree
Showing 18 changed files with 1,275 additions and 826 deletions.
3 changes: 2 additions & 1 deletion python/core/auto_generated/qgsvectorlayerutils.sip.in
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion python/gui/auto_generated/qgsfeatureselectiondlg.sip.in
Expand Up @@ -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
Expand All @@ -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

};

/************************************************************************
Expand Down

0 comments on commit b42a31e

Please sign in to comment.