mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Fix sip bindings
This commit is contained in:
parent
1877bcd081
commit
7040ad41d2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user