16 #ifndef QGSRELATIONWIDGETWRAPPER_H
17 #define QGSRELATIONWIDGETWRAPPER_H
45 bool showLabel()
const;
53 void setShowLabel(
bool showLabel );
67 Q_DECL_DEPRECATED
void setShowLinkButton(
bool showLinkButton )
SIP_DEPRECATED;
81 Q_DECL_DEPRECATED
void setShowUnlinkButton(
bool showUnlinkButton )
SIP_DEPRECATED;
88 Q_DECL_DEPRECATED
void setShowSaveChildEditsButton(
bool showChildEdits )
SIP_DEPRECATED;
95 Q_DECL_DEPRECATED
bool showSaveChildEditsButton()
const SIP_DEPRECATED;
101 void setVisibleButtons(
const QgsAttributeEditorRelation::Buttons &buttons );
107 QgsAttributeEditorRelation::Buttons visibleButtons()
const;
113 bool forceSuppressFormPopup()
const;
122 void setForceSuppressFormPopup(
bool forceSuppressFormPopup );
128 QVariant nmRelationId()
const;
135 void setNmRelationId(
const QVariant &nmRelationId = QVariant() );
141 QString label()
const;
148 void setLabel(
const QString &label = QString() );
168 void widgetValueChanged(
const QString &attribute,
const QVariant &newValue,
bool attributeChanged );
174 bool valid()
const override;
184 void setVisible(
bool visible );
187 void aboutToSave()
override;
193 #endif // QGSRELATIONWIDGETWRAPPER_H