QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
Classes | Signals | Public Member Functions | Friends | List of all members
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:
Inheritance graph
[legend]

Classes

struct  MaskSource
 

Signals

void changed ()
 Emitted when an item was changed.
 

Public Member Functions

 QgsMaskSourceSelectionWidget (QWidget *parent=nullptr)
 constructor
 
QList< MaskSourceselection () 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
 

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 38 of file qgsmasksourceselectionwidget.h.

Constructor & Destructor Documentation

◆ QgsMaskSourceSelectionWidget()

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

constructor

Definition at line 44 of file qgsmasksourceselectionwidget.cpp.

Member Function Documentation

◆ changed

void QgsMaskSourceSelectionWidget::changed ( )
signal

Emitted when an item was changed.

◆ selection()

QList< QgsMaskSourceSelectionWidget::MaskSource > QgsMaskSourceSelectionWidget::selection ( ) const

Returns the current selection.

Definition at line 252 of file qgsmasksourceselectionwidget.cpp.

◆ setSelection()

void QgsMaskSourceSelectionWidget::setSelection ( const QList< MaskSource > &  sel)

Sets the symbol layer selection.

Definition at line 271 of file qgsmasksourceselectionwidget.cpp.

◆ update()

void QgsMaskSourceSelectionWidget::update ( )

Updates the possible sources, from the project layers.

Definition at line 60 of file qgsmasksourceselectionwidget.cpp.

Friends And Related Symbol Documentation

◆ TestQgsMaskingWidget

friend class TestQgsMaskingWidget
friend

Definition at line 74 of file qgsmasksourceselectionwidget.h.


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