QGIS API Documentation
3.37.0-Master (a5b4d9743e8)
|
#include <qgssymbolslistwidget.h>
Public Slots | |
void | clipFeaturesToggled (bool checked) |
void | setLineWidth (double width) |
void | setMarkerAngle (double angle) |
void | setMarkerSize (double size) |
void | setSymbolColor (const QColor &color) |
void | updateDataDefinedLineWidth () |
void | updateDataDefinedMarkerAngle () |
void | updateDataDefinedMarkerSize () |
Signals | |
void | changed () |
Public Member Functions | |
QgsSymbolsListWidget (QgsSymbol *symbol, QgsStyle *style, QMenu *menu, QWidget *parent, QgsVectorLayer *layer=nullptr) | |
Constructor for QgsSymbolsListWidget. More... | |
~QgsSymbolsListWidget () override | |
QgsSymbolWidgetContext | context () const |
Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts. More... | |
const QgsVectorLayer * | layer () 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, e.g., the associated map canvas and expression contexts. More... | |
Public Member Functions inherited from QgsExpressionContextGenerator | |
virtual | ~QgsExpressionContextGenerator ()=default |
Definition at line 35 of file qgssymbolslistwidget.h.
QgsSymbolsListWidget::QgsSymbolsListWidget | ( | QgsSymbol * | symbol, |
QgsStyle * | style, | ||
QMenu * | menu, | ||
QWidget * | parent, | ||
QgsVectorLayer * | layer = nullptr |
||
) |
Constructor for QgsSymbolsListWidget.
symbol | the symbol |
style | the style |
menu | the menu where to show it |
parent | parent widget |
layer | associated vector layer |
Definition at line 31 of file qgssymbolslistwidget.cpp.
|
override |
Definition at line 138 of file qgssymbolslistwidget.cpp.
|
signal |
|
slot |
Definition at line 353 of file qgssymbolslistwidget.cpp.
QgsSymbolWidgetContext QgsSymbolsListWidget::context | ( | ) | const |
Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
Definition at line 255 of file qgssymbolslistwidget.cpp.
|
inline |
Returns the vector layer associated with the widget.
Definition at line 70 of file qgssymbolslistwidget.h.
void QgsSymbolsListWidget::setContext | ( | const QgsSymbolWidgetContext & | context | ) |
Sets the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
context | symbol widget context |
Definition at line 245 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 425 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 368 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 396 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 362 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 434 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 377 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 405 of file qgssymbolslistwidget.cpp.