|
| QgsAttributeEditorRelation (const QgsRelation &relation, QgsAttributeEditorElement *parent) |
| Creates a new element which embeds a relation. More...
|
|
Q_DECL_DEPRECATED | QgsAttributeEditorRelation (const QString &name, const QgsRelation &relation, QgsAttributeEditorElement *parent) |
|
Q_DECL_DEPRECATED | QgsAttributeEditorRelation (const QString &name, const QString &relationId, QgsAttributeEditorElement *parent) |
|
| QgsAttributeEditorRelation (const QString &relationId, QgsAttributeEditorElement *parent) |
| Creates a new element which embeds a relation. More...
|
|
QgsAttributeEditorElement * | clone (QgsAttributeEditorElement *parent) const override |
| Returns a clone of this element. More...
|
|
bool | forceSuppressFormPopup () const |
| Determines the force suppress form popup status. More...
|
|
bool | init (QgsRelationManager *relManager) |
| Initializes the relation from the id. More...
|
|
QString | label () const |
| Determines the label of this element. More...
|
|
QVariant | nmRelationId () const |
| Determines the relation id of the second relation involved in an N:M relation. More...
|
|
const QgsRelation & | relation () const |
| Gets the id of the relation which shall be embedded. More...
|
|
QVariantMap | relationEditorConfiguration () const |
| Returns the relation editor widget configuration. More...
|
|
QString | relationWidgetTypeId () const |
| Returns the current relation widget type id. More...
|
|
void | setForceSuppressFormPopup (bool forceSuppressFormPopup) |
| Sets force suppress form popup status to forceSuppressFormPopup. 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 | setNmRelationId (const QVariant &nmRelationId=QVariant()) |
| Sets nmRelationId for the relation id of the second relation involved in an N:M relation. More...
|
|
void | setRelationEditorConfiguration (const QVariantMap &config) |
| Sets the relation editor configuration. More...
|
|
void | setRelationWidgetTypeId (const QString &relationWidgetTypeId) |
| Sets the relation widget type. More...
|
|
| QgsAttributeEditorElement (AttributeEditorType type, const QString &name, QgsAttributeEditorElement *parent=nullptr) |
| Constructor. More...
|
|
virtual | ~QgsAttributeEditorElement ()=default |
|
virtual QgsAttributeEditorElement * | clone (QgsAttributeEditorElement *parent) const =0 |
| Returns a clone of this element. More...
|
|
LabelStyle | labelStyle () const |
| Returns the label style. More...
|
|
QString | name () const |
| Returns the name of this element. More...
|
|
QgsAttributeEditorElement * | parent () const |
| Gets the parent of this element. More...
|
|
void | setLabelStyle (const LabelStyle &labelStyle) |
| Sets the labelStyle. More...
|
|
void | setShowLabel (bool showLabel) |
| Controls if this element should be labeled with a title (field, relation or groupname). More...
|
|
bool | showLabel () const |
| Controls if this element should be labeled with a title (field, relation or groupname). More...
|
|
QDomElement | toDomElement (QDomDocument &doc) const |
| Gets the XML Dom element to save this element. More...
|
|
AttributeEditorType | type () const |
| The type of this element. More...
|
|