QGIS API Documentation  2.99.0-Master (e077efd)
Public Slots | Signals | Public Member Functions | List of all members
QgsSymbolsListWidget Class Reference

#include <qgssymbolslistwidget.h>

Inheritance diagram for QgsSymbolsListWidget:
Inheritance graph
[legend]

Public Slots

void addSymbolToStyle ()
 
void clipFeaturesToggled (bool checked)
 
void on_groupsCombo_currentIndexChanged (int index)
 
void on_mSymbolUnitWidget_changed ()
 
void on_mTransparencySlider_valueChanged (int value)
 
void openStyleManager ()
 
void populateGroups ()
 Pupulates the groups combo box with available tags and smartgroups. More...
 
void saveSymbol ()
 
void setLineWidth (double width)
 
void setMarkerAngle (double angle)
 
void setMarkerSize (double size)
 
void setSymbolColor (const QColor &color)
 
void setSymbolFromStyle (const QModelIndex &index)
 
void symbolAddedToStyle (const QString &name, QgsSymbol *symbol)
 
void updateDataDefinedLineWidth ()
 
void updateDataDefinedMarkerAngle ()
 
void updateDataDefinedMarkerSize ()
 

Signals

void changed ()
 

Public Member Functions

 QgsSymbolsListWidget (QgsSymbol *symbol, QgsStyle *style, QMenu *menu, QWidget *parent, const QgsVectorLayer *layer=nullptr)
 
virtual ~QgsSymbolsListWidget ()
 Destructor. More...
 
QgsSymbolWidgetContext context () const
 Returns the context in which the symbol widget is shown, eg the associated map canvas and expression contexts. More...
 
const QgsVectorLayerlayer () const
 Returns the vector layer associated with the widget. More...
 
void setContext (const QgsSymbolWidgetContext &context)
 Sets the context in which the symbol widget is shown, eg the associated map canvas and expression contexts. More...
 
- Public Member Functions inherited from QgsExpressionContextGenerator
virtual ~QgsExpressionContextGenerator ()
 

Detailed Description

Definition at line 33 of file qgssymbolslistwidget.h.

Constructor & Destructor Documentation

§ QgsSymbolsListWidget()

QgsSymbolsListWidget::QgsSymbolsListWidget ( QgsSymbol symbol,
QgsStyle style,
QMenu *  menu,
QWidget *  parent,
const QgsVectorLayer layer = nullptr 
)

Definition at line 48 of file qgssymbolslistwidget.cpp.

§ ~QgsSymbolsListWidget()

QgsSymbolsListWidget::~QgsSymbolsListWidget ( )
virtual

Destructor.

Definition at line 123 of file qgssymbolslistwidget.cpp.

Member Function Documentation

§ addSymbolToStyle

void QgsSymbolsListWidget::addSymbolToStyle ( )
slot

Definition at line 371 of file qgssymbolslistwidget.cpp.

§ changed

void QgsSymbolsListWidget::changed ( )
signal

§ clipFeaturesToggled

void QgsSymbolsListWidget::clipFeaturesToggled ( bool  checked)
slot

Definition at line 264 of file qgssymbolslistwidget.cpp.

§ context()

QgsSymbolWidgetContext QgsSymbolsListWidget::context ( ) const

Returns the context in which the symbol widget is shown, eg the associated map canvas and expression contexts.

See also
setContext()
Note
added in QGIS 3.0

Definition at line 144 of file qgssymbolslistwidget.cpp.

§ layer()

const QgsVectorLayer* QgsSymbolsListWidget::layer ( ) const
inline

Returns the vector layer associated with the widget.

Note
added in QGIS 2.12

Definition at line 59 of file qgssymbolslistwidget.h.

§ on_groupsCombo_currentIndexChanged

void QgsSymbolsListWidget::on_groupsCombo_currentIndexChanged ( int  index)
slot

Definition at line 603 of file qgssymbolslistwidget.cpp.

§ on_mSymbolUnitWidget_changed

void QgsSymbolsListWidget::on_mSymbolUnitWidget_changed ( )
slot

Definition at line 432 of file qgssymbolslistwidget.cpp.

§ on_mTransparencySlider_valueChanged

void QgsSymbolsListWidget::on_mTransparencySlider_valueChanged ( int  value)
slot

Definition at line 444 of file qgssymbolslistwidget.cpp.

§ openStyleManager

void QgsSymbolsListWidget::openStyleManager ( )
slot

Definition at line 256 of file qgssymbolslistwidget.cpp.

§ populateGroups

void QgsSymbolsListWidget::populateGroups ( )
slot

Pupulates the groups combo box with available tags and smartgroups.

Definition at line 149 of file qgssymbolslistwidget.cpp.

§ saveSymbol

void QgsSymbolsListWidget::saveSymbol ( )
slot

Definition at line 400 of file qgssymbolslistwidget.cpp.

§ setContext()

void QgsSymbolsListWidget::setContext ( const QgsSymbolWidgetContext context)

Sets the context in which the symbol widget is shown, eg the associated map canvas and expression contexts.

Parameters
contextsymbol widget context
See also
context()
Note
added in QGIS 3.0

Definition at line 130 of file qgssymbolslistwidget.cpp.

§ setLineWidth

void QgsSymbolsListWidget::setLineWidth ( double  width)
slot

Definition at line 336 of file qgssymbolslistwidget.cpp.

§ setMarkerAngle

void QgsSymbolsListWidget::setMarkerAngle ( double  angle)
slot

Definition at line 279 of file qgssymbolslistwidget.cpp.

§ setMarkerSize

void QgsSymbolsListWidget::setMarkerSize ( double  size)
slot

Definition at line 307 of file qgssymbolslistwidget.cpp.

§ setSymbolColor

void QgsSymbolsListWidget::setSymbolColor ( const QColor &  color)
slot

Definition at line 273 of file qgssymbolslistwidget.cpp.

§ setSymbolFromStyle

void QgsSymbolsListWidget::setSymbolFromStyle ( const QModelIndex &  index)
slot

Definition at line 579 of file qgssymbolslistwidget.cpp.

§ symbolAddedToStyle

void QgsSymbolsListWidget::symbolAddedToStyle ( const QString &  name,
QgsSymbol symbol 
)
slot

Definition at line 364 of file qgssymbolslistwidget.cpp.

§ updateDataDefinedLineWidth

void QgsSymbolsListWidget::updateDataDefinedLineWidth ( )
slot

Definition at line 345 of file qgssymbolslistwidget.cpp.

§ updateDataDefinedMarkerAngle

void QgsSymbolsListWidget::updateDataDefinedMarkerAngle ( )
slot

Definition at line 288 of file qgssymbolslistwidget.cpp.

§ updateDataDefinedMarkerSize

void QgsSymbolsListWidget::updateDataDefinedMarkerSize ( )
slot

Definition at line 316 of file qgssymbolslistwidget.cpp.


The documentation for this class was generated from the following files: