QGIS/python/gui/auto_generated/symbology/qgssymbolslistwidget.sip.in

91 lines
2.5 KiB
Plaintext
Raw Normal View History

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/qgssymbolslistwidget.h *
2017-06-08 15:30:38 +02:00
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsSymbolsListWidget : QWidget
{
2017-06-08 15:30:38 +02:00
%TypeHeaderCode
2017-06-08 15:30:38 +02:00
#include "qgssymbolslistwidget.h"
%End
public:
2017-09-03 19:24:41 +02:00
QgsSymbolsListWidget( QgsSymbol *symbol, QgsStyle *style, QMenu *menu, QWidget *parent /TransferThis/, QgsVectorLayer *layer = 0 );
2017-09-03 19:24:41 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Constructor for QgsSymbolsListWidget.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param symbol: the symbol
:param style: the style
:param menu: the menu where to show it
:param parent: parent widget
:param layer: associated vector layer
2017-09-03 19:24:41 +02:00
%End
2017-06-08 15:30:38 +02:00
~QgsSymbolsListWidget();
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
.. seealso:: :py:func:`context`
2017-12-15 10:36:55 -04:00
2017-06-08 15:30:38 +02:00
.. versionadded:: 3.0
%End
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.
.. seealso:: :py:func:`setContext`
2017-12-15 10:36:55 -04:00
2017-06-08 15:30:38 +02:00
.. versionadded:: 3.0
%End
const QgsVectorLayer *layer() 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
public slots:
void setSymbolColor( const QColor &color );
void setMarkerAngle( double angle );
void setMarkerSize( double size );
void setLineWidth( double width );
void clipFeaturesToggled( bool checked );
void updateDataDefinedMarkerSize();
void updateDataDefinedMarkerAngle();
void updateDataDefinedLineWidth();
signals:
void changed();
2017-06-08 15:30:38 +02: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/qgssymbolslistwidget.h *
2017-06-08 15:30:38 +02:00
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/