|
QGIS API Documentation
3.4.15-Madeira (e83d02e274)
|
#include <qgssymbolselectordialog.h>

Public Slots | |
| void | addLayer () |
| void | changeLayer (QgsSymbolLayer *layer) |
| alters tree and sets proper widget when Layer Type is changed More... | |
| void | duplicateLayer () |
| Duplicates the current symbol layer and places the duplicated layer above the current symbol layer. More... | |
| void | layerChanged () |
| void | lockLayer () |
| void | moveLayerDown () |
| void | moveLayerUp () |
| void | removeLayer () |
| void | symbolChanged () |
| Slot to update tree when a new symbol from style. More... | |
| void | updateLayerPreview () |
| void | updatePreview () |
Signals | |
| void | symbolModified () |
Public Member Functions | |
| QgsSymbolSelectorDialog (QgsSymbol *symbol, QgsStyle *style, QgsVectorLayer *vl, QWidget *parent=nullptr, bool embedded=false) | |
| Constructor for QgsSymbolSelectorDialog. More... | |
| QMenu * | advancedMenu () |
| Returns menu for "advanced" button - create it if doesn't exist and show the advanced button. More... | |
| QgsSymbolWidgetContext | context () const |
| Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts. 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... | |
| QgsSymbol * | symbol () |
| Returns the symbol that is currently active in the widget. More... | |
Protected Member Functions | |
| QgsSymbolLayer * | currentLayer () |
| SymbolLayerItem * | currentLayerItem () |
| void | keyPressEvent (QKeyEvent *e) override |
| void | loadSymbol () |
| void | loadSymbol (QgsSymbol *symbol, SymbolLayerItem *parent) |
| void | moveLayerByOffset (int offset) |
| void | setWidget (QWidget *widget) |
| void | updateLockButton () |
| void | updateUi () |
Definition at line 264 of file qgssymbolselectordialog.h.
| QgsSymbolSelectorDialog::QgsSymbolSelectorDialog | ( | QgsSymbol * | symbol, |
| QgsStyle * | style, | ||
| QgsVectorLayer * | vl, | ||
| QWidget * | parent = nullptr, |
||
| bool | embedded = false |
||
| ) |
Constructor for QgsSymbolSelectorDialog.
| symbol | The symbol |
| style | The style |
| vl | Associated vector layer |
| parent | Parent widget |
| embedded | True to embed in renderer properties dialog, false otherwise |
Definition at line 735 of file qgssymbolselectordialog.cpp.
|
slot |
Definition at line 849 of file qgssymbolselectordialog.cpp.
| QMenu * QgsSymbolSelectorDialog::advancedMenu | ( | ) |
Returns menu for "advanced" button - create it if doesn't exist and show the advanced button.
Definition at line 766 of file qgssymbolselectordialog.cpp.
|
slot |
alters tree and sets proper widget when Layer Type is changed
Definition at line 889 of file qgssymbolselectordialog.cpp.
| QgsSymbolWidgetContext QgsSymbolSelectorDialog::context | ( | ) | const |
Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
Definition at line 776 of file qgssymbolselectordialog.cpp.
|
protected |
Definition at line 824 of file qgssymbolselectordialog.cpp.
|
protected |
Definition at line 819 of file qgssymbolselectordialog.cpp.
|
slot |
Duplicates the current symbol layer and places the duplicated layer above the current symbol layer.
Definition at line 864 of file qgssymbolselectordialog.cpp.
|
overrideprotected |
Definition at line 786 of file qgssymbolselectordialog.cpp.
|
slot |
Definition at line 869 of file qgssymbolselectordialog.cpp.
|
protected |
Definition at line 799 of file qgssymbolselectordialog.cpp.
|
protected |
Definition at line 804 of file qgssymbolselectordialog.cpp.
|
slot |
Definition at line 859 of file qgssymbolselectordialog.cpp.
|
protected |
Definition at line 829 of file qgssymbolselectordialog.cpp.
|
slot |
Definition at line 839 of file qgssymbolselectordialog.cpp.
|
slot |
Definition at line 844 of file qgssymbolselectordialog.cpp.
|
slot |
Definition at line 854 of file qgssymbolselectordialog.cpp.
| void QgsSymbolSelectorDialog::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 771 of file qgssymbolselectordialog.cpp.
|
protected |
Definition at line 834 of file qgssymbolselectordialog.cpp.
| QgsSymbol * QgsSymbolSelectorDialog::symbol | ( | ) |
Returns the symbol that is currently active in the widget.
Can be null.
Definition at line 781 of file qgssymbolselectordialog.cpp.
|
slot |
Slot to update tree when a new symbol from style.
Definition at line 884 of file qgssymbolselectordialog.cpp.
|
signal |
|
slot |
Definition at line 874 of file qgssymbolselectordialog.cpp.
|
protected |
Definition at line 814 of file qgssymbolselectordialog.cpp.
|
slot |
Definition at line 879 of file qgssymbolselectordialog.cpp.
|
protected |
Definition at line 809 of file qgssymbolselectordialog.cpp.
1.8.11