26 , mMessageBar( messageBar )
27 , mIndeterminateState( false )
49 bool showForm =
config(
"ShowForm",
true ).toBool();
50 bool mapIdent =
config(
"MapIdentification",
false ).toBool();
51 bool readOnlyWidget =
config(
"ReadOnly",
false ).toBool();
52 bool orderByValue =
config(
"OrderByValue",
false ).toBool();
114 mIndeterminateState =
true;
119 if ( !mWidget || ( !mIndeterminateState && val ==
value() ) )
122 mIndeterminateState =
false;
134 void QgsRelationReferenceWidgetWrapper::foreignKeyChanged(
QVariant value )
147 if ( constraintValid )
150 mWidget->
setStyleSheet(
".QComboBox { background-color: #dd7777; }" );
This class contains context information for attribute editor widgets.
A bar for displaying non-blocking messages to the user.
QgsRelationManager * relationManager() const
Map canvas is a class for displaying all GIS data types on a canvas.
QString id() const
A (project-wide) unique id for this relation.
const QgsRelation & relation() const
const QgsAttributeEditorContext * parentContext() 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.