Skip to content
Permalink
Browse files

Fix sip bindings

  • Loading branch information
m-kuhn committed Jun 11, 2016
1 parent 1877bcd commit 7040ad41d2d2d339609b2cf2c2744a1a4138d6ac
Showing with 8 additions and 0 deletions.
  1. +8 −0 python/gui/qgsfieldmodel.sip
@@ -21,6 +21,14 @@ class QgsFieldModel : QAbstractItemModel
ExpressionValidityRole, /*!< return if expression is valid or not */
FieldTypeRole /*!< return the field type (if a field, return QVariant if expression) */
};
/**
* Filters for which fields should be shown
*/
enum Filter
{
WritableFields = 1 //!< Only show writable fields
};
typedef QFlags<QgsFieldModel::Filter> Filters;

/**
* @brief QgsFieldModel creates a model to display the fields of a given layer

0 comments on commit 7040ad4

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