QGIS API Documentation
3.4.15-Madeira (e83d02e274)
|
#include <qgssymbolslistwidget.h>
Public Slots | |
void | addSymbolToStyle () |
void | clipFeaturesToggled (bool checked) |
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 | 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 51 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 84 of file qgssymbolslistwidget.cpp.
|
override |
Definition at line 219 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 539 of file qgssymbolslistwidget.cpp.
|
signal |
|
slot |
Definition at line 430 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 308 of file qgssymbolslistwidget.cpp.
|
inline |
Returns the vector layer associated with the widget.
Definition at line 89 of file qgssymbolslistwidget.h.
|
slot |
Definition at line 410 of file qgssymbolslistwidget.cpp.
|
slot |
Pupulates the groups combo box with available tags and smartgroups.
Definition at line 313 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 567 of file qgssymbolslistwidget.cpp.
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 292 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 502 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 445 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 473 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 439 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 733 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 511 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 454 of file qgssymbolslistwidget.cpp.
|
slot |
Definition at line 482 of file qgssymbolslistwidget.cpp.