Skip to content

Commit

Permalink
fix dox + sip
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jun 5, 2020
1 parent 51dedc1 commit 91f71f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Expand Up @@ -16,8 +16,9 @@ class QgsLayerTreeFilterProxyModel : QSortFilterProxyModel
QgsLayerTreeFilterProxyModel is a sort filter proxy model to easily reproduce the legend/layer tree in a tree view.
Layers are checkable by default.
Symbology nodes will not be shown.
Layers can be fitlered by their type.

This model can be re-implemented to add more columns.
For more complex use-cases, the model can be re-implemented to allow a different interaction or to add more columns.

.. versionadded:: 3.14
%End
Expand All @@ -27,6 +28,9 @@ This model can be re-implemented to add more columns.
%End
public:
QgsLayerTreeFilterProxyModel( QObject *parent = 0 );
%Docstring
Constructor
%End

void setCheckedLayers( const QList<QgsMapLayer *> layers );
%Docstring
Expand Down
1 change: 1 addition & 0 deletions src/core/layertree/qgslayertreefilterproxymodel.h
Expand Up @@ -40,6 +40,7 @@ class CORE_EXPORT QgsLayerTreeFilterProxyModel : public QSortFilterProxyModel
{
Q_OBJECT
public:
//! Constructor
QgsLayerTreeFilterProxyModel( QObject *parent = nullptr );

/**
Expand Down

0 comments on commit 91f71f5

Please sign in to comment.