#include <qgssymbolselectordialog.h>
Definition at line 263 of file qgssymbolselectordialog.h.
◆ QgsSymbolSelectorDialog()
QgsSymbolSelectorDialog::QgsSymbolSelectorDialog |
( |
QgsSymbol * |
symbol, |
|
|
QgsStyle * |
style, |
|
|
QgsVectorLayer * |
vl, |
|
|
QWidget * |
parent = nullptr , |
|
|
bool |
embedded = false |
|
) |
| |
◆ addLayer
void QgsSymbolSelectorDialog::addLayer |
( |
| ) |
|
|
slot |
◆ advancedMenu()
QMenu * QgsSymbolSelectorDialog::advancedMenu |
( |
| ) |
|
Returns menu for "advanced" button - create it if doesn't exist and show the advanced button.
Definition at line 805 of file qgssymbolselectordialog.cpp.
◆ buttonBox()
QDialogButtonBox * QgsSymbolSelectorDialog::buttonBox |
( |
| ) |
const |
◆ changeLayer
alters tree and sets proper widget when Layer Type is changed
- Note
- : The layer is received from the LayerPropertiesWidget
Definition at line 928 of file qgssymbolselectordialog.cpp.
◆ context()
◆ duplicateLayer
void QgsSymbolSelectorDialog::duplicateLayer |
( |
| ) |
|
|
slot |
Duplicates the current symbol layer and places the duplicated layer above the current symbol layer.
- Since
- QGIS 2.14
Definition at line 903 of file qgssymbolselectordialog.cpp.
◆ keyPressEvent()
void QgsSymbolSelectorDialog::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
overrideprotected |
◆ layerChanged
void QgsSymbolSelectorDialog::layerChanged |
( |
| ) |
|
|
slot |
◆ loadSymbol()
void QgsSymbolSelectorDialog::loadSymbol |
( |
QgsSymbol * |
symbol, |
|
|
SymbolLayerItem * |
parent = nullptr |
|
) |
| |
Loads the given symbol into the widget.
- Parameters
-
symbol | The symbol to load. |
parent | The parent symbol layer item. If the parent parameter is null, the whole symbol and model will be reset. |
Definition at line 843 of file qgssymbolselectordialog.cpp.
◆ lockLayer
void QgsSymbolSelectorDialog::lockLayer |
( |
| ) |
|
|
slot |
◆ moveLayerDown
void QgsSymbolSelectorDialog::moveLayerDown |
( |
| ) |
|
|
slot |
◆ moveLayerUp
void QgsSymbolSelectorDialog::moveLayerUp |
( |
| ) |
|
|
slot |
◆ removeLayer
void QgsSymbolSelectorDialog::removeLayer |
( |
| ) |
|
|
slot |
◆ setContext()
Sets the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
- Parameters
-
context | symbol widget context |
- See also
- context()
- Since
- QGIS 3.0
Definition at line 810 of file qgssymbolselectordialog.cpp.
◆ symbol()
QgsSymbol * QgsSymbolSelectorDialog::symbol |
( |
| ) |
|
Returns the symbol that is currently active in the widget.
Can be nullptr
.
- Returns
- The active symbol.
Definition at line 820 of file qgssymbolselectordialog.cpp.
◆ symbolChanged
void QgsSymbolSelectorDialog::symbolChanged |
( |
| ) |
|
|
slot |
◆ symbolModified
void QgsSymbolSelectorDialog::symbolModified |
( |
| ) |
|
|
signal |
◆ updateLayerPreview
void QgsSymbolSelectorDialog::updateLayerPreview |
( |
| ) |
|
|
slot |
◆ updatePreview
void QgsSymbolSelectorDialog::updatePreview |
( |
| ) |
|
|
slot |
The documentation for this class was generated from the following files: