Skip to content
Permalink
Browse files

Doxymentation

  • Loading branch information
m-kuhn committed Jul 23, 2015
1 parent de547ad commit 6b25fe53059e604fa3f8fce25f8a8ff271d7c8ed
Showing with 21 additions and 3 deletions.
  1. +19 −3 src/core/symbology-ng/qgssymbolv2.h
  2. +2 −0 src/gui/editorwidgets/core/qgswidgetwrapper.h
@@ -112,16 +112,32 @@ class CORE_EXPORT QgsSymbolV2
*/
int symbolLayerCount() { return mLayers.count(); }

//! insert symbol layer to specified index
/**
* Insert symbol layer to specified index
* Ownership will be transferred.
* @param index The index at which the layer should be added
* @param layer The symbol layer to add
* @return True if the layer is added, False if the index or the layer is bad
*/
bool insertSymbolLayer( int index, QgsSymbolLayerV2* layer );

//! append symbol layer at the end of the list
/**
* Append symbol layer at the end of the list
* Ownership will be transferred.
* @param layer The layer to add
* @return True if the layer is added, False if the layer is bad
*/
bool appendSymbolLayer( QgsSymbolLayerV2* layer );

//! delete symbol layer at specified index
bool deleteSymbolLayer( int index );

//! remove symbol layer from the list and return pointer to it
/**
* Remove symbol layer from the list and return pointer to it.
* Ownership is handed to the caller.
* @param index The index of the layer to remove
* @return A pointer to the removed layer
*/
QgsSymbolLayerV2* takeSymbolLayer( int index );

//! delete layer at specified index and set a new one
@@ -127,6 +127,8 @@ class GUI_EXPORT QgsWidgetWrapper : public QObject
* another suitable widget type instead.
*
* @return Validity status of this widget.
*
* @note Added in 2.12
*/
virtual bool valid() = 0;

0 comments on commit 6b25fe5

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