Skip to content

Commit

Permalink
Doxymentation
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 27, 2014
1 parent abd6a69 commit 50e0703
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/gui/qgsattributeform.h
Expand Up @@ -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()
*
Expand Down

0 comments on commit 50e0703

Please sign in to comment.