class QgsSymbolsListWidget : QWidget { %TypeHeaderCode #include %End public: QgsSymbolsListWidget( QgsSymbol* symbol, QgsStyle* style, QMenu* menu, QWidget* parent /TransferThis/ = 0, const QgsVectorLayer * layer = 0 ); /** Sets the context in which the symbol widget is shown, eg the associated map canvas and expression contexts. * @param context symbol widget context * @see context() * @note added in QGIS 3.0 */ void setContext( const QgsSymbolWidgetContext& context ); /** Returns the context in which the symbol widget is shown, eg the associated map canvas and expression contexts. * @see setContext() * @note added in QGIS 3.0 */ QgsSymbolWidgetContext context() const; /** Returns the vector layer associated with the widget. * @note added in QGIS 2.12 */ const QgsVectorLayer* layer() const; public slots: void setSymbolFromStyle( const QModelIndex & index ); void setSymbolColor( const QColor& color ); void setMarkerAngle( double angle ); void setMarkerSize( double size ); void setLineWidth( double width ); void addSymbolToStyle(); void saveSymbol(); void symbolAddedToStyle( const QString& name, QgsSymbol* symbol ); void on_mSymbolUnitWidget_changed(); void on_mTransparencySlider_valueChanged( int value ); void on_groupsCombo_currentIndexChanged( int index ); void on_groupsCombo_editTextChanged( const QString &text ); void openStyleManager(); void clipFeaturesToggled( bool checked ); void updateDataDefinedMarkerSize(); void updateDataDefinedMarkerAngle(); void updateDataDefinedLineWidth(); signals: void changed(); };