18 #ifndef QGSABSTRACTRELATIONEDITORWIDGET_H 
   19 #define QGSABSTRACTRELATIONEDITORWIDGET_H 
   50     if ( qobject_cast<QgsRelationEditorWidget *>( sipCpp ) )
 
   51       sipType = sipType_QgsRelationEditorWidget;
 
   92     void setFeature( 
const QgsFeature &feature, 
bool update = 
true );
 
  109     bool showLabel() 
const;
 
  114     void setShowLabel( 
bool showLabel );
 
  119     QVariant nmRelationId() 
const;
 
  125     void setNmRelationId( 
const QVariant &nmRelationId = QVariant() );
 
  130     QString label() 
const;
 
  136     void setLabel( 
const QString &label = QString() );
 
  146     bool forceSuppressFormPopup() 
const;
 
  152     void setForceSuppressFormPopup( 
bool forceSuppressFormPopup );
 
  162     virtual void setConfig( 
const QVariantMap &config ) = 0;
 
  176     void toggleEditing( 
bool state );
 
  201     void onLinkFeatureDlgAccepted();
 
  225     bool mShowLabel = 
true;
 
  226     bool mLayerInSameTransactionGroup = 
false;
 
  228     bool mForceSuppressFormPopup = 
false;
 
  255     virtual void updateUi();
 
  261     virtual void setTitle( 
const QString &title );
 
  267     virtual void beforeSetRelationFeature( 
const QgsRelation &newRelation, 
const QgsFeature &newFeature );
 
  273     virtual void afterSetRelationFeature();
 
  285     virtual void afterSetRelations();
 
  303     if ( qobject_cast<QgsRelationEditorConfigWidget *>( sipCpp ) )
 
  304       sipType = sipType_QgsRelationEditorConfigWidget;
 
  333     virtual void setConfig( 
const QVariantMap &config ) = 0;
 
  379     virtual QString 
type() 
const = 0;
 
  384     virtual QString 
name() 
const = 0;
 
This class contains context information for attribute editor widgets.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
A geometry is the spatial representation of a feature.
Represents a vector layer which manages a vector based data sets.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
QSet< QgsFeatureId > QgsFeatureIds
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features