25 #include <QStringListModel> 72 return fieldName +
" IS NULL";
74 return fieldName +
" IS NOT NULL";
84 case QVariant::Double:
85 case QVariant::LongLong:
86 case QVariant::ULongLong:
89 return fieldName +
'=' + v.
toString();
91 return fieldName +
"<>" + v.
toString();
98 return fieldName +
"='" + v.
toString() +
'\'';
100 return fieldName +
"<>'" + v.
toString() +
'\'';
152 if ( exp == nullValue )
static QString quotedColumnRef(QString name)
Returns a quoted column reference (in double quotes)
QgsRelationManager * relationManager() const
Map canvas is a class for displaying all GIS data types on a canvas.
const QgsField & at(int i) const
Get field at particular index (must be in range 0..N-1)
QgsFields fields() const
Returns the list of fields of this layer.
const char * name() const
QString & replace(int position, int n, QChar after)
QVariant value(const QString &key, const QVariant &defaultValue) const
static QgsProject * instance()
Returns the QgsProject singleton instance.
QgsRelation relation(const QString &id) const
Get access to a relation by its id.
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Represents a vector layer which manages a vector based data sets.
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const