Make filters of QgsMapLayerProxyModel a property

This commit is contained in:
Matthias Kuhn 2016-03-03 11:21:03 +01:00
parent 281117d78f
commit a5a731be25

View File

@ -29,6 +29,9 @@ class GUI_EXPORT QgsMapLayerProxyModel : public QSortFilterProxyModel
{
Q_OBJECT
Q_FLAGS( Filters )
Q_PROPERTY( QgsMapLayerProxyModel::Filters filters READ filters WRITE setFilters )
public:
enum Filter
{