Skip to content
Permalink
Browse files
Doxymentation
  • Loading branch information
m-kuhn committed Jun 27, 2014
1 parent abd6a69 commit 50e0703e5ffc3c68c9863f8bf6e869296b422b27
Showing with 19 additions and 0 deletions.
  1. +19 −0 src/gui/qgsattributeform.h
@@ -117,9 +117,28 @@ class GUI_EXPORT QgsAttributeForm : public QWidget
void featureSaved( const QgsFeature& feature );

public slots:
/**
* Call this to change the content of a given attribute. Will update the editor(s) related to this field.
*
* @param field The field to change
* @param value The new value
*/
void changeAttribute( const QString& field, const QVariant& value );

/**
* Update all editors to correspond to a different feature.
*
* @param feature The feature which will be represented by the form
*/
void setFeature( const QgsFeature& feature );

/**
* Save all the values from the editors to the layer.
*
* @return True if successful
*/
bool save();

/**
* Alias for save()
*

0 comments on commit 50e0703

Please sign in to comment.