|
| QgsRelationReferenceWidget (QWidget *parent) |
|
| ~QgsRelationReferenceWidget () override |
|
bool | allowAddFeatures () const |
| Determines if a button for adding new features should be shown. More...
|
|
bool | allowMapIdentification () |
| determines if the widget offers the possibility to select the related feature on the map (using a dedicated map tool) More...
|
|
bool | chainFilters () const |
| Determines if the filters are chained. More...
|
|
bool | embedForm () |
| determines if the form of the related feature will be shown More...
|
|
QString | filterExpression () const |
| Returns the currently set filter expression. More...
|
|
Q_DECL_DEPRECATED QVariant | foreignKey () const |
| returns the related feature foreign key More...
|
|
QVariantList | foreignKeys () const |
| returns the related feature foreign key More...
|
|
bool | openFormButtonVisible () |
| determines the open form button is visible in the widget More...
|
|
bool | orderByValue () |
| If the widget will order the combobox entries by value. More...
|
|
bool | readOnlySelector () |
| determines if the drop-down is enabled More...
|
|
QgsFeature | referencedFeature () const |
| Returns the related feature (from the referenced layer) if no feature is related, it returns an invalid feature. More...
|
|
QString | referencedLayerDataSource () const |
| Returns the public data source of the referenced layer. More...
|
|
QString | referencedLayerId () const |
| Returns the id of the referenced layer. More...
|
|
QString | referencedLayerName () const |
| Returns the name of the referenced layer. More...
|
|
QString | referencedLayerProviderKey () const |
| Returns the data provider key of the referenced layer. More...
|
|
QgsRelation | relation () const |
| Returns the current relation, which might be invalid. More...
|
|
void | setAllowAddFeatures (bool allowAddFeatures) |
| Determines if a button for adding new features should be shown. More...
|
|
void | setAllowMapIdentification (bool allowMapIdentification) |
|
void | setChainFilters (bool chainFilters) |
| Set if filters are chained. More...
|
|
void | setEditorContext (const QgsAttributeEditorContext &context, QgsMapCanvas *canvas, QgsMessageBar *messageBar) |
| Sets the editor context. More...
|
|
void | setEmbedForm (bool display) |
|
void | setFilterExpression (const QString &filterExpression) |
| If not empty, will be used as filter expression. More...
|
|
void | setFilterFields (const QStringList &filterFields) |
| Sets the fields for which filter comboboxes will be created. More...
|
|
Q_DECL_DEPRECATED void | setForeignKey (const QVariant &value) |
| this sets the related feature using from the foreign key More...
|
|
void | setForeignKeys (const QVariantList &values) |
| Sets the related feature using the foreign keys. More...
|
|
void | setFormFeature (const QgsFeature &formFeature) |
| Set the current form feature (from the referencing layer) More...
|
|
void | setOpenFormButtonVisible (bool openFormButtonVisible) |
|
void | setOrderByValue (bool orderByValue) |
| Sets if the widget will order the combobox entries by value. More...
|
|
void | setReadOnlySelector (bool readOnly) |
|
void | setReferencedLayerDataSource (const QString &referencedLayerDataSource) |
| Set the public data source of the referenced layer to referencedLayerDataSource. More...
|
|
void | setReferencedLayerId (const QString &referencedLayerId) |
| Set the id of the referenced layer to referencedLayerId. More...
|
|
void | setReferencedLayerName (const QString &referencedLayerName) |
| Set the name of the referenced layer to referencedLayerName. More...
|
|
void | setReferencedLayerProviderKey (const QString &referencedLayerProviderKey) |
| Set the data provider key of the referenced layer to referencedLayerProviderKey. More...
|
|
void | setRelation (const QgsRelation &relation, bool allowNullValue) |
|
void | setRelationEditable (bool editable) |
|
void | showIndeterminateState () |
| Sets the widget to display in an indeterminate "mixed value" state. More...
|
|