Skip to content
Permalink
Browse files

Updated python bindings, added export macros

  • Loading branch information
mhugent committed Nov 1, 2011
1 parent bb21724 commit 96496c5b01cf519dc2e680fa1593342c3013d947
@@ -630,6 +630,9 @@ class QgsSymbolV2RenderContext
void setFeature( const QgsFeature* f );
const QgsFeature* feature() const;

void setLayer( const QgsVectorLayer* layer );
const QgsVectorLayer* layer() const;

// Color used for selections
static QColor selectionColor();

@@ -708,8 +711,7 @@ public:
//! delete layer at specified index and set a new one
bool changeSymbolLayer(int index, QgsSymbolLayerV2* layer /Transfer/);


void startRender(QgsRenderContext& context);
void startRender( QgsRenderContext& context, const QgsVectorLayer* layer );
void stopRender(QgsRenderContext& context);

void setColor(const QColor& color);
@@ -21,7 +21,7 @@
#include "qgssymbollayerv2.h"

/**A symbol layer class for displaying displacement arrows based on point layer attributes*/
class QgsVectorFieldSymbolLayer: public QgsMarkerSymbolLayerV2
class CORE_EXPORT QgsVectorFieldSymbolLayer: public QgsMarkerSymbolLayerV2
{
public:
enum VectorFieldType
@@ -6,9 +6,9 @@

class QgsVectorFieldSymbolLayer;

class QgsVectorFieldSymbolLayerWidget: public QgsSymbolLayerV2Widget, private Ui::WidgetVectorFieldBase
class GUI_EXPORT QgsVectorFieldSymbolLayerWidget: public QgsSymbolLayerV2Widget, private Ui::WidgetVectorFieldBase
{
Q_OBJECT
Q_OBJECT
public:
QgsVectorFieldSymbolLayerWidget( const QgsVectorLayer* vl, QWidget* parent = 0 );
~QgsVectorFieldSymbolLayerWidget();

0 comments on commit 96496c5

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