QGIS API Documentation 3.99.0-Master (8e76e220402)
Loading...
Searching...
No Matches
QgsMaskSourceSelectionWidget Class Reference

A widget that allows the selection of a list of sources for selective masking. More...

#include <qgsmasksourceselectionwidget.h>

Inheritance diagram for QgsMaskSourceSelectionWidget:

Signals

void changed ()
 Emitted when an item was changed.

Public Member Functions

 QgsMaskSourceSelectionWidget (QWidget *parent=nullptr)
 constructor
void setSourceSet (const QgsSelectiveMaskingSourceSet &set)
 Sets the current masking source set.
QgsSelectiveMaskingSourceSet sourceSet () const
 Returns the current masking source set.
void update ()
 Updates the possible sources, from the project layers.

Friends

class TestQgsMaskingWidget

Detailed Description

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.

Note
This class is not a part of public API
Since
QGIS 3.14

Definition at line 45 of file qgsmasksourceselectionwidget.h.

Constructor & Destructor Documentation

◆ QgsMaskSourceSelectionWidget()

QgsMaskSourceSelectionWidget::QgsMaskSourceSelectionWidget ( QWidget * parent = nullptr)
explicit

constructor

Definition at line 62 of file qgsmasksourceselectionwidget.cpp.

Member Function Documentation

◆ changed

void QgsMaskSourceSelectionWidget::changed ( )
signal

Emitted when an item was changed.

◆ setSourceSet()

void QgsMaskSourceSelectionWidget::setSourceSet ( const QgsSelectiveMaskingSourceSet & set)

Sets the current masking source set.

See also
sourceSet()

Definition at line 342 of file qgsmasksourceselectionwidget.cpp.

◆ sourceSet()

QgsSelectiveMaskingSourceSet QgsMaskSourceSelectionWidget::sourceSet ( ) const

Returns the current masking source set.

See also
setSourceSet()

Definition at line 306 of file qgsmasksourceselectionwidget.cpp.

◆ update()

void QgsMaskSourceSelectionWidget::update ( )

Updates the possible sources, from the project layers.

Definition at line 114 of file qgsmasksourceselectionwidget.cpp.

◆ TestQgsMaskingWidget

friend class TestQgsMaskingWidget
friend

Definition at line 96 of file qgsmasksourceselectionwidget.h.


The documentation for this class was generated from the following files: