2017-06-08 15:30:38 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
2017-08-06 13:39:03 +02:00
|
|
|
* src/gui/symbology/qgssymbollayerwidget.h *
|
2017-06-08 15:30:38 +02:00
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsSymbolLayerWidget : QWidget, protected QgsExpressionContextGenerator
|
2012-09-24 02:28:15 +02:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgssymbollayerwidget.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-09-03 19:24:41 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsSymbolLayerWidget( QWidget *parent /TransferThis/, QgsVectorLayer *vl = 0 );
|
2017-09-03 19:24:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-09-03 19:24:41 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer ) = 0;
|
|
|
|
virtual QgsSymbolLayer *symbolLayer() = 0;
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
void setContext( const QgsSymbolWidgetContext &context );
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Sets the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param context: symbol widget context
|
|
|
|
|
2018-01-09 17:26:37 -04:00
|
|
|
.. seealso:: :py:func:`context`
|
2017-12-15 10:36:55 -04:00
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
.. versionadded:: 3.0
|
|
|
|
%End
|
2015-09-16 21:55:32 +10:00
|
|
|
|
2016-09-12 16:11:05 +10:00
|
|
|
QgsSymbolWidgetContext context() const;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
|
|
|
|
|
2018-01-09 17:26:37 -04:00
|
|
|
.. seealso:: :py:func:`setContext`
|
2017-12-15 10:36:55 -04:00
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
.. versionadded:: 3.0
|
|
|
|
%End
|
2015-09-17 20:34:51 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
const QgsVectorLayer *vectorLayer() const;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Returns the vector layer associated with the widget.
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
.. versionadded:: 2.12
|
|
|
|
%End
|
2015-09-03 22:46:37 +10:00
|
|
|
|
2015-01-22 07:00:58 +11:00
|
|
|
protected:
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
void registerDataDefinedButton( QgsPropertyOverrideButton *button, QgsSymbolLayer::Property key );
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Registers a data defined override button. Handles setting up connections
|
|
|
|
for the button and initializing the button to show the correct descriptions
|
|
|
|
and help text for the associated property.
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
.. versionadded:: 3.0
|
|
|
|
%End
|
|
|
|
|
|
|
|
virtual QgsExpressionContext createExpressionContext() const;
|
2015-01-22 20:53:45 +01:00
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
signals:
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
void changed();
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Should be emitted whenever configuration changes happened on this symbol layer configuration.
|
|
|
|
If the subsymbol is changed, symbolChanged() should be emitted instead.
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
|
|
|
|
2015-12-04 13:20:23 +01:00
|
|
|
void symbolChanged();
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Should be emitted whenever the sub symbol changed on this symbol layer configuration.
|
|
|
|
Normally changed() should be preferred.
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2018-01-09 17:26:37 -04:00
|
|
|
.. seealso:: :py:func:`changed`
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2015-01-22 20:53:45 +01:00
|
|
|
|
2015-01-22 07:00:58 +11:00
|
|
|
protected slots:
|
|
|
|
void updateDataDefinedProperty();
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2016-08-06 11:01:42 +02:00
|
|
|
class QgsSimpleLineSymbolLayerWidget : QgsSymbolLayerWidget
|
2012-09-24 02:28:15 +02:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgssymbollayerwidget.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-09-03 19:24:41 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsSimpleLineSymbolLayerWidget( QgsVectorLayer *vl, QWidget *parent /TransferThis/ = 0 );
|
2017-09-03 19:24:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsSimpleLineSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-09-03 19:24:41 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
static QgsSymbolLayerWidget *create( QgsVectorLayer *vl ) /Factory/;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Creates a new QgsSimpleLineSymbolLayerWidget.
|
|
|
|
|
2017-12-15 21:36:08 -04:00
|
|
|
:param vl: associated vector layer
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual QgsSymbolLayer *symbolLayer();
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
protected:
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
void updatePatternIcon();
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2016-08-06 11:01:42 +02:00
|
|
|
class QgsSimpleMarkerSymbolLayerWidget : QgsSymbolLayerWidget
|
2012-09-24 02:28:15 +02:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgssymbollayerwidget.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-09-03 19:24:41 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsSimpleMarkerSymbolLayerWidget( QgsVectorLayer *vl, QWidget *parent /TransferThis/ = 0 );
|
2017-09-03 19:24:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsSimpleMarkerSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-09-03 19:24:41 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
static QgsSymbolLayerWidget *create( QgsVectorLayer *vl ) /Factory/;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Creates a new QgsSimpleMarkerSymbolLayerWidget.
|
|
|
|
|
2017-12-15 21:36:08 -04:00
|
|
|
:param vl: associated vector layer
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual QgsSymbolLayer *symbolLayer();
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
public slots:
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
void setColorStroke( const QColor &color );
|
|
|
|
void setColorFill( const QColor &color );
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
protected:
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2016-08-06 11:01:42 +02:00
|
|
|
class QgsSimpleFillSymbolLayerWidget : QgsSymbolLayerWidget
|
2012-09-24 02:28:15 +02:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgssymbollayerwidget.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-09-03 19:24:41 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsSimpleFillSymbolLayerWidget( QgsVectorLayer *vl, QWidget *parent /TransferThis/ = 0 );
|
2017-09-03 19:24:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsSimpleFillSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-09-03 19:24:41 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
static QgsSymbolLayerWidget *create( QgsVectorLayer *vl ) /Factory/;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Creates a new QgsSimpleFillSymbolLayerWidget.
|
|
|
|
|
2017-12-15 21:36:08 -04:00
|
|
|
:param vl: associated vector layer
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual QgsSymbolLayer *symbolLayer();
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
public slots:
|
2017-05-01 18:13:15 +02:00
|
|
|
void setColor( const QColor &color );
|
|
|
|
void setStrokeColor( const QColor &color );
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
protected:
|
2017-10-09 09:04:18 +10:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
2014-01-27 09:22:24 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
|
2016-08-05 08:08:39 +02:00
|
|
|
class QgsFilledMarkerSymbolLayerWidget : QgsSymbolLayerWidget
|
2016-05-05 16:58:44 +10:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2018-05-26 14:10:30 +10:00
|
|
|
Widget for configuring QgsFilledMarkerSymbolLayer symbol layers.
|
2017-12-15 10:36:55 -04:00
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
.. versionadded:: 2.16
|
2016-05-05 16:58:44 +10:00
|
|
|
%End
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgssymbollayerwidget.h"
|
|
|
|
%End
|
2016-05-05 16:58:44 +10:00
|
|
|
public:
|
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsFilledMarkerSymbolLayerWidget( QgsVectorLayer *vl, QWidget *parent /TransferThis/ = 0 );
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsFilledMarkerSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2016-05-05 16:58:44 +10:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
static QgsSymbolLayerWidget *create( QgsVectorLayer *vl ) /Factory/;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Creates a new QgsFilledMarkerSymbolLayerWidget.
|
|
|
|
|
2017-12-15 21:36:08 -04:00
|
|
|
:param vl: associated vector layer
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2016-05-05 16:58:44 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual QgsSymbolLayer *symbolLayer();
|
2016-05-05 16:58:44 +10:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
protected:
|
|
|
|
|
2016-05-05 16:58:44 +10:00
|
|
|
};
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2016-05-05 16:58:44 +10:00
|
|
|
|
|
|
|
|
2016-08-06 11:01:42 +02:00
|
|
|
class QgsGradientFillSymbolLayerWidget : QgsSymbolLayerWidget
|
2014-01-27 09:22:24 +01:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2014-01-27 09:22:24 +01:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgssymbollayerwidget.h"
|
2014-01-27 09:22:24 +01:00
|
|
|
%End
|
|
|
|
public:
|
2017-09-03 19:24:41 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsGradientFillSymbolLayerWidget( QgsVectorLayer *vl, QWidget *parent /TransferThis/ = 0 );
|
2017-09-03 19:24:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsGradientFillSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-09-03 19:24:41 +02:00
|
|
|
%End
|
2014-01-27 09:22:24 +01:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
static QgsSymbolLayerWidget *create( QgsVectorLayer *vl ) /Factory/;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Creates a new QgsGradientFillSymbolLayerWidget.
|
|
|
|
|
2017-12-15 21:36:08 -04:00
|
|
|
:param vl: associated vector layer
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2014-01-27 09:22:24 +01:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual QgsSymbolLayer *symbolLayer();
|
2014-01-27 09:22:24 +01:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2014-01-27 09:22:24 +01:00
|
|
|
public slots:
|
2017-05-01 18:13:15 +02:00
|
|
|
void setColor( const QColor &color );
|
|
|
|
void setColor2( const QColor &color );
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2014-01-27 09:22:24 +01:00
|
|
|
void applyColorRamp();
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Applies the color ramp passed on by the color ramp button
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2014-01-27 09:22:24 +01:00
|
|
|
void setGradientType( int index );
|
|
|
|
void setCoordinateMode( int index );
|
|
|
|
void setGradientSpread( int index );
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
protected:
|
2017-10-09 09:04:18 +10:00
|
|
|
|
2014-01-27 09:22:24 +01:00
|
|
|
};
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
|
2014-03-21 12:50:50 +11:00
|
|
|
|
2016-08-06 11:01:42 +02:00
|
|
|
class QgsShapeburstFillSymbolLayerWidget : QgsSymbolLayerWidget
|
2014-03-21 12:50:50 +11:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2014-03-21 12:50:50 +11:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgssymbollayerwidget.h"
|
2014-03-21 12:50:50 +11:00
|
|
|
%End
|
|
|
|
public:
|
2017-09-03 19:24:41 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsShapeburstFillSymbolLayerWidget( QgsVectorLayer *vl, QWidget *parent /TransferThis/ = 0 );
|
2017-09-03 19:24:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsShapeburstFillSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-09-03 19:24:41 +02:00
|
|
|
%End
|
2014-03-21 12:50:50 +11:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
static QgsSymbolLayerWidget *create( QgsVectorLayer *vl ) /Factory/;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Creates a new QgsShapeburstFillSymbolLayerWidget.
|
|
|
|
|
2017-12-15 21:36:08 -04:00
|
|
|
:param vl: associated vector layer
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2014-03-21 12:50:50 +11:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual QgsSymbolLayer *symbolLayer();
|
2014-03-21 12:50:50 +11:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2014-03-21 12:50:50 +11:00
|
|
|
public slots:
|
2017-05-01 18:13:15 +02:00
|
|
|
void setColor( const QColor &color );
|
|
|
|
void setColor2( const QColor &color );
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
protected:
|
2017-10-09 09:04:18 +10:00
|
|
|
|
2014-03-21 12:50:50 +11:00
|
|
|
};
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2016-08-06 11:01:42 +02:00
|
|
|
class QgsMarkerLineSymbolLayerWidget : QgsSymbolLayerWidget
|
2012-09-24 02:28:15 +02:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgssymbollayerwidget.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-09-03 19:24:41 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsMarkerLineSymbolLayerWidget( QgsVectorLayer *vl, QWidget *parent /TransferThis/ = 0 );
|
2017-09-03 19:24:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsMarkerLineSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-09-03 19:24:41 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
static QgsSymbolLayerWidget *create( QgsVectorLayer *vl ) /Factory/;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Creates a new QgsMarkerLineSymbolLayerWidget.
|
|
|
|
|
2017-12-15 21:36:08 -04:00
|
|
|
:param vl: associated vector layer
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual QgsSymbolLayer *symbolLayer();
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
public slots:
|
|
|
|
|
|
|
|
void setInterval( double val );
|
2014-05-04 20:27:41 +10:00
|
|
|
void setOffsetAlongLine( double val );
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
protected:
|
|
|
|
|
2017-10-09 09:04:18 +10:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2016-08-06 11:01:42 +02:00
|
|
|
class QgsSvgMarkerSymbolLayerWidget : QgsSymbolLayerWidget
|
2012-09-24 02:28:15 +02:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgssymbollayerwidget.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-09-03 19:24:41 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsSvgMarkerSymbolLayerWidget( QgsVectorLayer *vl, QWidget *parent /TransferThis/ = 0 );
|
2017-09-03 19:24:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsSvgMarkerSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-09-03 19:24:41 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
static QgsSymbolLayerWidget *create( QgsVectorLayer *vl ) /Factory/;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Creates a new QgsSvgMarkerSymbolLayerWidget.
|
|
|
|
|
2017-12-15 21:36:08 -04:00
|
|
|
:param vl: associated vector layer
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual QgsSymbolLayer *symbolLayer();
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
protected:
|
|
|
|
|
|
|
|
void populateList();
|
2017-05-01 18:13:15 +02:00
|
|
|
void setGuiForSvg( const QgsSvgMarkerSymbolLayer *layer );
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
|
2014-11-19 20:15:41 +11:00
|
|
|
|
2016-08-05 08:08:39 +02:00
|
|
|
class QgsRasterFillSymbolLayerWidget : QgsSymbolLayerWidget
|
2014-11-19 20:15:41 +11:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2014-11-19 20:15:41 +11:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgssymbollayerwidget.h"
|
2014-11-19 20:15:41 +11:00
|
|
|
%End
|
|
|
|
public:
|
2017-09-03 19:24:41 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsRasterFillSymbolLayerWidget( QgsVectorLayer *vl, QWidget *parent /TransferThis/ = 0 );
|
2017-09-03 19:24:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsRasterFillSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-09-03 19:24:41 +02:00
|
|
|
%End
|
2014-11-19 20:15:41 +11:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
static QgsSymbolLayerWidget *create( QgsVectorLayer *vl ) /Factory/;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Creates a new QgsRasterFillSymbolLayerWidget.
|
|
|
|
|
2017-12-15 21:36:08 -04:00
|
|
|
:param vl: associated vector layer
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2014-11-19 20:15:41 +11:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual QgsSymbolLayer *symbolLayer();
|
2014-11-19 20:15:41 +11:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
protected:
|
|
|
|
|
2014-11-19 20:15:41 +11:00
|
|
|
};
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2016-08-05 08:08:39 +02:00
|
|
|
class QgsSVGFillSymbolLayerWidget : QgsSymbolLayerWidget
|
2012-09-24 02:28:15 +02:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgssymbollayerwidget.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-09-03 19:24:41 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsSVGFillSymbolLayerWidget( QgsVectorLayer *vl, QWidget *parent /TransferThis/ = 0 );
|
2017-09-03 19:24:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsSVGFillSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-09-03 19:24:41 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
static QgsSymbolLayerWidget *create( QgsVectorLayer *vl ) /Factory/;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Creates a new QgsSVGFillSymbolLayerWidget.
|
|
|
|
|
2017-12-15 21:36:08 -04:00
|
|
|
:param vl: associated vector layer
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual QgsSymbolLayer *symbolLayer();
|
2013-06-23 16:00:16 +02:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2013-06-23 16:00:16 +02:00
|
|
|
protected:
|
|
|
|
void insertIcons();
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2014-05-04 21:39:11 +10:00
|
|
|
void updateParamGui( bool resetValues = true );
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Enables or disables svg fill color, stroke color and stroke width based on whether the
|
|
|
|
svg file supports custom parameters.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param resetValues: set to true to overwrite existing layer fill color, stroke color and stroke width
|
2018-05-24 21:21:14 +10:00
|
|
|
with default values from svg file
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2016-08-05 08:08:39 +02:00
|
|
|
class QgsLinePatternFillSymbolLayerWidget : QgsSymbolLayerWidget
|
2012-09-24 02:28:15 +02:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgssymbollayerwidget.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
2014-05-27 23:22:50 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsLinePatternFillSymbolLayerWidget( QgsVectorLayer *vl, QWidget *parent /TransferThis/ = 0 );
|
2017-09-03 19:24:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsLinePatternFillSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-09-03 19:24:41 +02:00
|
|
|
%End
|
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
static QgsSymbolLayerWidget *create( QgsVectorLayer *vl ) /Factory/;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Creates a new QgsLinePatternFillSymbolLayerWidget.
|
|
|
|
|
2017-12-15 21:36:08 -04:00
|
|
|
:param vl: associated vector layer
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual QgsSymbolLayer *symbolLayer();
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
protected:
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2016-08-05 08:08:39 +02:00
|
|
|
class QgsPointPatternFillSymbolLayerWidget: QgsSymbolLayerWidget
|
2012-09-24 02:28:15 +02:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgssymbollayerwidget.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-09-03 19:24:41 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsPointPatternFillSymbolLayerWidget( QgsVectorLayer *vl, QWidget *parent /TransferThis/ = 0 );
|
2017-09-03 19:24:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsPointPatternFillSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-09-03 19:24:41 +02:00
|
|
|
%End
|
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
static QgsSymbolLayerWidget *create( QgsVectorLayer *vl ) /Factory/;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Creates a new QgsPointPatternFillSymbolLayerWidget.
|
|
|
|
|
2017-12-15 21:36:08 -04:00
|
|
|
:param vl: associated vector layer
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual QgsSymbolLayer *symbolLayer();
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
protected:
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2016-08-06 11:01:42 +02:00
|
|
|
class QgsFontMarkerSymbolLayerWidget : QgsSymbolLayerWidget
|
2012-09-24 02:28:15 +02:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgssymbollayerwidget.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-09-03 19:24:41 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsFontMarkerSymbolLayerWidget( QgsVectorLayer *vl, QWidget *parent /TransferThis/ = 0 );
|
2017-09-03 19:24:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsFontMarkerSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-09-03 19:24:41 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
static QgsSymbolLayerWidget *create( QgsVectorLayer *vl ) /Factory/;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Creates a new QgsFontMarkerSymbolLayerWidget.
|
|
|
|
|
2017-12-15 21:36:08 -04:00
|
|
|
:param vl: associated vector layer
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual QgsSymbolLayer *symbolLayer();
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
public slots:
|
2017-05-01 18:13:15 +02:00
|
|
|
void setFontFamily( const QFont &font );
|
|
|
|
void setColor( const QColor &color );
|
2016-04-20 11:20:24 +07:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
void setColorStroke( const QColor &color );
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Set stroke color.
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
.. versionadded:: 2.16
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
void setSize( double size );
|
|
|
|
void setAngle( double angle );
|
2016-02-02 19:46:18 +11:00
|
|
|
void setCharacter( QChar chr );
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
protected:
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2016-08-06 11:01:42 +02:00
|
|
|
class QgsCentroidFillSymbolLayerWidget : QgsSymbolLayerWidget
|
2012-09-24 02:28:15 +02:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgssymbollayerwidget.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-09-03 19:24:41 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsCentroidFillSymbolLayerWidget( QgsVectorLayer *vl, QWidget *parent /TransferThis/ = 0 );
|
2017-09-03 19:24:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsCentroidFillSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-09-03 19:24:41 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
static QgsSymbolLayerWidget *create( QgsVectorLayer *vl ) /Factory/;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Creates a new QgsCentroidFillSymbolLayerWidget.
|
|
|
|
|
2017-12-15 21:36:08 -04:00
|
|
|
:param vl: associated vector layer
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual QgsSymbolLayer *symbolLayer();
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
protected:
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
2015-12-04 13:20:23 +01:00
|
|
|
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
|
2016-08-05 08:08:39 +02:00
|
|
|
class QgsGeometryGeneratorSymbolLayerWidget : QgsSymbolLayerWidget
|
2015-12-04 13:20:23 +01:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2015-12-04 13:20:23 +01:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgssymbollayerwidget.h"
|
2015-12-04 13:20:23 +01:00
|
|
|
%End
|
|
|
|
public:
|
2017-09-03 19:24:41 +02:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
QgsGeometryGeneratorSymbolLayerWidget( QgsVectorLayer *vl, QWidget *parent /TransferThis/ = 0 );
|
2017-09-03 19:24:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsGeometryGeneratorSymbolLayerWidget.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param vl: associated vector layer
|
|
|
|
:param parent: parent widget
|
2017-09-03 19:24:41 +02:00
|
|
|
%End
|
2015-12-04 13:20:23 +01:00
|
|
|
|
2017-09-01 15:34:16 +01:00
|
|
|
static QgsSymbolLayerWidget *create( QgsVectorLayer *vl ) /Factory/;
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Will be registered as factory
|
2017-06-08 15:30:38 +02:00
|
|
|
%End
|
2015-12-04 13:20:23 +01:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual void setSymbolLayer( QgsSymbolLayer *layer );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
virtual QgsSymbolLayer *symbolLayer();
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2015-12-04 13:20:23 +01:00
|
|
|
};
|
2017-06-08 15:30:38 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
2017-08-06 13:39:03 +02:00
|
|
|
* src/gui/symbology/qgssymbollayerwidget.h *
|
2017-06-08 15:30:38 +02:00
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|