16 #ifndef QGSRELATIONWIDGETWRAPPER_H
17 #define QGSRELATIONWIDGETWRAPPER_H
22 #include "qgsattributeeditorrelation.h"
48 const QString &relationEditorName,
51 QWidget *editor =
nullptr,
71 Q_DECL_DEPRECATED
void setShowLabel(
bool showLabel )
SIP_DEPRECATED;
85 Q_DECL_DEPRECATED
void setShowLinkButton(
bool showLinkButton )
SIP_DEPRECATED;
99 Q_DECL_DEPRECATED
void setShowUnlinkButton(
bool showUnlinkButton )
SIP_DEPRECATED;
106 Q_DECL_DEPRECATED
void setShowSaveChildEditsButton(
bool showChildEdits )
SIP_DEPRECATED;
113 Q_DECL_DEPRECATED
bool showSaveChildEditsButton()
const SIP_DEPRECATED;
120 Q_DECL_DEPRECATED
void setVisibleButtons(
const QgsAttributeEditorRelation::Buttons &buttons )
SIP_DEPRECATED;
127 Q_DECL_DEPRECATED QgsAttributeEditorRelation::Buttons visibleButtons()
const SIP_DEPRECATED;
136 void setWidgetConfig(
const QVariantMap &config );
142 QVariantMap widgetConfig()
const;
148 bool forceSuppressFormPopup()
const;
157 void setForceSuppressFormPopup(
bool forceSuppressFormPopup );
163 QVariant nmRelationId()
const;
170 void setNmRelationId(
const QVariant &nmRelationId = QVariant() );
185 Q_DECL_DEPRECATED
void setLabel(
const QString &label = QString() )
SIP_DEPRECATED;
205 void widgetValueChanged(
const QString &attribute,
const QVariant &newValue,
bool attributeChanged );
211 bool valid()
const override;
221 void setVisible(
bool visible );
224 void aboutToSave()
override;
227 QString mRelationEditorId;
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Represents a vector layer which manages a vector based data sets.