|
QGIS API Documentation 3.99.0-Master (f78f5286a64)
|
A widget that allows the selection of a list of sources for selective masking. More...
#include <qgsmasksourceselectionwidget.h>

Classes | |
| struct | MaskSource |
Signals | |
| void | changed () |
| Emitted when an item was changed. | |
Public Member Functions | |
| QgsMaskSourceSelectionWidget (QWidget *parent=nullptr) | |
| constructor | |
| QList< MaskSource > | selection () const |
| Returns the current selection. | |
| void | setSelection (const QList< MaskSource > &sel) |
| Sets the symbol layer selection. | |
| void | update () |
| Updates the possible sources, from the project layers. | |
Friends | |
| class | TestQgsMaskingWidget |
A widget that allows the selection of a list of sources for selective masking.
A masking source can be either a label mask or a mask symbol layer.
Definition at line 38 of file qgsmasksourceselectionwidget.h.
|
explicit |
constructor
Definition at line 45 of file qgsmasksourceselectionwidget.cpp.
|
signal |
Emitted when an item was changed.
| QList< QgsMaskSourceSelectionWidget::MaskSource > QgsMaskSourceSelectionWidget::selection | ( | ) | const |
Returns the current selection.
Definition at line 252 of file qgsmasksourceselectionwidget.cpp.
| void QgsMaskSourceSelectionWidget::setSelection | ( | const QList< MaskSource > & | sel | ) |
Sets the symbol layer selection.
Definition at line 271 of file qgsmasksourceselectionwidget.cpp.
| void QgsMaskSourceSelectionWidget::update | ( | ) |
Updates the possible sources, from the project layers.
Definition at line 61 of file qgsmasksourceselectionwidget.cpp.
|
friend |
Definition at line 74 of file qgsmasksourceselectionwidget.h.