16 #ifndef QGSRELATIONWIDGETWRAPPER_H
17 #define QGSRELATIONWIDGETWRAPPER_H
22 #include "qgsattributeeditorrelation.h"
48 const QString &relationEditorName,
51 QWidget *editor =
nullptr,
61 bool showLabel()
const;
69 void setShowLabel(
bool showLabel );
83 Q_DECL_DEPRECATED
void setShowLinkButton(
bool showLinkButton )
SIP_DEPRECATED;
97 Q_DECL_DEPRECATED
void setShowUnlinkButton(
bool showUnlinkButton )
SIP_DEPRECATED;
104 Q_DECL_DEPRECATED
void setShowSaveChildEditsButton(
bool showChildEdits )
SIP_DEPRECATED;
111 Q_DECL_DEPRECATED
bool showSaveChildEditsButton()
const SIP_DEPRECATED;
118 Q_DECL_DEPRECATED
void setVisibleButtons(
const QgsAttributeEditorRelation::Buttons &buttons )
SIP_DEPRECATED;
125 Q_DECL_DEPRECATED QgsAttributeEditorRelation::Buttons visibleButtons()
const SIP_DEPRECATED;
134 void setWidgetConfig(
const QVariantMap &config );
140 QVariantMap widgetConfig()
const;
146 bool forceSuppressFormPopup()
const;
155 void setForceSuppressFormPopup(
bool forceSuppressFormPopup );
161 QVariant nmRelationId()
const;
168 void setNmRelationId(
const QVariant &nmRelationId = QVariant() );
174 QString label()
const;
181 void setLabel(
const QString &label = QString() );
201 void widgetValueChanged(
const QString &attribute,
const QVariant &newValue,
bool attributeChanged );
207 bool valid()
const override;
217 void setVisible(
bool visible );
220 void aboutToSave()
override;
223 QString mRelationEditorId;
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Represents a vector layer which manages a vector based data sets.