Skip to content
Permalink
Browse files

Doxymentation

  • Loading branch information
m-kuhn committed Sep 29, 2017
1 parent 5fba1e8 commit cab3a38461db0dbf86103320348bbbe19589ed3f
Showing with 16 additions and 2 deletions.
  1. +8 −1 python/core/qgsvectorlayer.sip
  2. +8 −1 src/core/qgsvectorlayer.h
@@ -1378,7 +1378,14 @@ Draws a vertex symbol at (screen) coordinates x, y. (Useful to assist vertex edi

void updateFields();
%Docstring
Assembles mUpdatedFields considering provider fields, joined fields and added fields
Will regenerate the `fields` property of this layer by obtaining all fields
from the dataProvider, joined fields and virtual fields. It will also
take any changes made to default values into consideration.

.. note::

Unless the fields on the provider have directly been modified, there is
no reason to call this method.
%End

QVariant defaultValue( int index, const QgsFeature &feature = QgsFeature(),
@@ -1309,7 +1309,14 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
//! Draws a vertex symbol at (screen) coordinates x, y. (Useful to assist vertex editing.)
static void drawVertexMarker( double x, double y, QPainter &p, QgsVectorLayer::VertexMarkerType type, int vertexSize );

//! Assembles mUpdatedFields considering provider fields, joined fields and added fields
/**
* Will regenerate the `fields` property of this layer by obtaining all fields
* from the dataProvider, joined fields and virtual fields. It will also
* take any changes made to default values into consideration.
*
* \note Unless the fields on the provider have directly been modified, there is
* no reason to call this method.
*/
void updateFields();

/** Returns the calculated default value for the specified field index. The default

0 comments on commit cab3a38

Please sign in to comment.
You can’t perform that action at this time.