QGIS/python/gui/symbology/qgssymbolslistwidget.sip

89 lines
2.7 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-06-08 15:30:38 +02:00
QgsSymbolsListWidget( QgsSymbol *symbol, QgsStyle *style, QMenu *menu, QWidget *parent /TransferThis/, const QgsVectorLayer *layer = 0 );
virtual ~QgsSymbolsListWidget();
void setContext( const QgsSymbolWidgetContext &context );
2017-06-08 15:30:38 +02:00
%Docstring
Sets the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
\param context symbol widget context
.. seealso:: context()
.. versionadded:: 3.0
%End
QgsSymbolWidgetContext context() const;
2017-06-08 15:30:38 +02:00
%Docstring
Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
.. seealso:: setContext()
.. versionadded:: 3.0
:rtype: QgsSymbolWidgetContext
%End
const QgsVectorLayer *layer() const;
2017-06-08 15:30:38 +02:00
%Docstring
Returns the vector layer associated with the widget.
.. versionadded:: 2.12
:rtype: QgsVectorLayer
%End
public slots:
void setSymbolFromStyle( const QModelIndex &index );
void setSymbolColor( const QColor &color );
void setMarkerAngle( double angle );
void setMarkerSize( double size );
void setLineWidth( double width );
2014-05-07 08:37:12 +10:00
void addSymbolToStyle();
2016-01-07 11:21:32 +07:00
void saveSymbol();
2017-06-08 15:30:38 +02:00
void symbolAddedToStyle( const QString &name, QgsSymbol *symbol );
2017-06-08 15:30:38 +02:00
void populateGroups();
2017-06-08 15:30:38 +02:00
%Docstring
Pupulates the groups combo box with available tags and smartgroups
%End
void openStyleManager();
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 *
************************************************************************/