|
| QgsAbstractRelationEditorWidget (const QVariantMap &config, QWidget *parent=nullptr) |
| Constructor. More...
|
|
virtual QVariantMap | config () const =0 |
| Returns the widget configuration. More...
|
|
QgsAttributeEditorContext | editorContext () const |
| Returns the attribute editor context. More...
|
|
QgsFeature | feature () const |
| Returns the widget's current feature If the widget is in multiedit mode only the first is returned. More...
|
|
QList< QgsFeature > | features () const |
| Returns the widget's current features. More...
|
|
bool | forceSuppressFormPopup () const |
| Determines the force suppress form popup status that is configured for this widget. More...
|
|
Q_DECL_DEPRECATED QString | label () const |
| Determines the label of this element. More...
|
|
bool | multiEditModeActive () const |
| Returns true if editing multiple features at a time. More...
|
|
QgsRelation | nmRelation () const |
| Returns the nm relation. More...
|
|
QVariant | nmRelationId () const |
| Determines the relation id of the second relation involved in an N:M relation. More...
|
|
QgsRelation | relation () const |
| Returns the relation. More...
|
|
virtual void | setConfig (const QVariantMap &config)=0 |
| Defines the widget configuration. More...
|
|
virtual void | setEditorContext (const QgsAttributeEditorContext &context) |
| Sets the editor context. More...
|
|
void | setFeature (const QgsFeature &feature, bool update=true) |
| Sets the feature being edited and updates the UI unless update is set to false . More...
|
|
void | setForceSuppressFormPopup (bool forceSuppressFormPopup) |
| Sets force suppress form popup status with forceSuppressFormPopup configured for this widget. More...
|
|
void | setLabel (const QString &label=QString()) |
| Sets label for this element If it's empty it takes the relation id as label. More...
|
|
void | setMultiEditFeatureIds (const QgsFeatureIds &fids) |
| Set multiple feature to edit simultaneously. More...
|
|
void | setNmRelationId (const QVariant &nmRelationId=QVariant()) |
| Sets nmRelationId for the relation id of the second relation involved in an N:M relation. More...
|
|
void | setRelationFeature (const QgsRelation &relation, const QgsFeature &feature) |
| Sets the relation and the feature. More...
|
|
void | setRelations (const QgsRelation &relation, const QgsRelation &nmrelation) |
| Sets the relation(s) for this widget If only one relation is set, it will act as a simple 1:N relation widget If both relations are set, it will act as an N:M relation widget inserting and deleting entries on the intermediate table as required. More...
|
|
Q_DECL_DEPRECATED void | setShowLabel (bool showLabel) |
| Defines if a title label should be shown for this widget. More...
|
|
Q_DECL_DEPRECATED bool | showLabel () const |
| Defines if a title label should be shown for this widget. More...
|
|