16#ifndef QGSSEARCHWIDGETWRAPPER_H
17#define QGSSEARCHWIDGETWRAPPER_H
32% MappedType QList<QgsSearchWidgetWrapper::FilterFlag>
42 if ( ( l = PyList_New( sipCpp->size() ) ) == NULL )
46 QList<QgsSearchWidgetWrapper::FilterFlag>::iterator it = sipCpp->begin();
47 for (
int i = 0; it != sipCpp->end(); ++it, ++i )
51 if ( ( tobj = sipConvertFromEnum( *it, sipType_QgsSearchWidgetWrapper_FilterFlag ) ) == NULL )
56 PyList_SET_ITEM( l, i, tobj );
64 if ( sipIsErr == NULL )
65 return PyList_Check( sipPy );
67 QList<QgsSearchWidgetWrapper::FilterFlag> *qlist =
new QList<QgsSearchWidgetWrapper::FilterFlag>;
69 for (
int i = 0; i < PyList_GET_SIZE( sipPy ); ++i )
75 return sipGetState( sipTransferObj );
99 GreaterThanOrEqualTo = 1 << 5,
100 LessThanOrEqualTo = 1 << 6,
102 CaseInsensitive = 1 << 8,
104 DoesNotContain = 1 << 10,
106 IsNotBetween = 1 << 12,
108 StartsWith = 1 << 14,
117 static QList< QgsSearchWidgetWrapper::FilterFlag > exclusiveFilterFlags();
123 static QList< QgsSearchWidgetWrapper::FilterFlag > nonExclusiveFilterFlags();
185 QString createFieldIdentifier()
const;
192 QString aggregate()
const;
199 void setAggregate(
const QString &aggregate );
205 int fieldIndex()
const;
218 void setEnabled(
bool enabled )
override { Q_UNUSED( enabled ) }
250 void clearExpression();
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Encapsulate a field in an attribute table or data source.
Represents a relationship between two vector layers.
Represents a vector layer which manages a vector based data sets.
#define SIP_ENUM_BASETYPE(type)
Q_DECLARE_METATYPE(QgsDatabaseQueryLogEntry)
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsTextRendererUtils::CurvedTextFlags)