QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
qgsmasksymbollayerwidget.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  qgsmasksymbollayerwidget.cpp
3  ---------------------
4  begin : July 2019
5  copyright : (C) 2019 by Hugo Mercier / Oslandia
6  email : hugo dot mercier at oslandia dot com
7  ***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
16 #include <QVBoxLayout>
17 #include "qgsmasksymbollayer.h"
18 
19 #include "qgsvectorlayer.h"
20 
22  : QgsSymbolLayerWidget( parent, vl )
23 {
24  setupUi( this );
25 }
26 
28 {
29  mLayer = static_cast<QgsMaskMarkerSymbolLayer *>( layer );
30 }
31 
32 
34 {
35  return mLayer;
36 }
QgsMaskMarkerSymbolLayerWidget::setSymbolLayer
void setSymbolLayer(QgsSymbolLayer *layer) override
Update the current symbol layer displayed.
Definition: qgsmasksymbollayerwidget.cpp:27
QgsSymbolLayerWidget
Definition: qgssymbollayerwidget.h:37
QgsMaskMarkerSymbolLayerWidget::QgsMaskMarkerSymbolLayerWidget
QgsMaskMarkerSymbolLayerWidget(QgsVectorLayer *layer, QWidget *parent=nullptr)
Constructor.
Definition: qgsmasksymbollayerwidget.cpp:21
QgsSymbolLayer
Definition: qgssymbollayer.h:54
qgsmasksymbollayer.h
qgsvectorlayer.h
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition: qgsvectorlayer.h:391
QgsMaskMarkerSymbolLayerWidget::symbolLayer
QgsSymbolLayer * symbolLayer() override
Returns the current symbol layer.
Definition: qgsmasksymbollayerwidget.cpp:33
QgsMaskMarkerSymbolLayer
Special symbol layer that uses its sub symbol as a selective mask.
Definition: qgsmasksymbollayer.h:34
qgsmasksymbollayerwidget.h