Change bindings

Manually inserting the proper binding
This commit is contained in:
Alex 2019-01-08 06:42:29 -05:00 committed by Nyall Dawson
parent 78caf770e3
commit 12273fa83a

View File

@ -53,6 +53,10 @@ Draw the legend with given painter. It will occupy the area reported in legendSi
Painter should be scaled beforehand so that units correspond to millimeters. Painter should be scaled beforehand so that units correspond to millimeters.
%End %End
void drawLegend( QgsRenderContext *rendercontext);
%Docstring
Draw the legend with given painter. It will occupy the area reported in legendSize().
%End
static void setNodeLegendStyle( QgsLayerTreeNode *node, QgsLegendStyle::Style style ); static void setNodeLegendStyle( QgsLayerTreeNode *node, QgsLegendStyle::Style style );
static QgsLegendStyle::Style nodeLegendStyle( QgsLayerTreeNode *node, QgsLayerTreeModel *model ); static QgsLegendStyle::Style nodeLegendStyle( QgsLayerTreeNode *node, QgsLayerTreeModel *model );