QGIS/python/core/symbology-ng/qgssymbologyconversion.sip
2016-08-10 12:08:52 +02:00

16 lines
566 B
Plaintext

class QgsSymbologyConversion
{
%TypeHeaderCode
#include <qgssymbologyconversion.h>
%End
public:
/** Read old renderer definition from XML and create matching new renderer */
static QgsFeatureRenderer* readOldRenderer( const QDomNode& layerNode, QgsWkbTypes::GeometryType geomType );
static QString penStyle2QString( Qt::PenStyle penstyle );
static Qt::PenStyle qString2PenStyle( const QString& string );
static QString brushStyle2QString( Qt::BrushStyle brushstyle );
static Qt::BrushStyle qString2BrushStyle( const QString& string );
};