QGIS API Documentation  3.17.0-Master (a035f434f4)
qgsmasksymbollayerwidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsmasksymbollayerwidget.h
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  ***************************************************************************/
15 #ifndef QGSMASKSYMBOLLAYERWIDGET_H
16 #define QGSMASKSYMBOLLAYERWIDGET_H
17 
18 #include "ui_qgsmasksymbollayerwidgetbase.h"
19 #include "qgis_sip.h"
20 #include "qgssymbollayerwidget.h"
21 #include "qgis_gui.h"
22 
25 
32 class GUI_EXPORT QgsMaskMarkerSymbolLayerWidget: public QgsSymbolLayerWidget, private Ui::QgsMaskSymbolLayerWidgetBase
33 {
34  Q_OBJECT
35 
36  public:
37 
43  QgsMaskMarkerSymbolLayerWidget( QgsVectorLayer *layer, QWidget *parent SIP_TRANSFERTHIS = nullptr );
44 
50 
52  void setSymbolLayer( QgsSymbolLayer *layer ) override;
53 
55  QgsSymbolLayer *symbolLayer() override;
56 
57  private:
59  QgsMaskMarkerSymbolLayer *mLayer = nullptr;
60 };
61 
62 #endif
#define SIP_TRANSFERTHIS
Definition: qgis_sip.h:53
Special symbol layer that uses its sub symbol as a selective mask.
virtual void setSymbolLayer(QgsSymbolLayer *layer)=0
static QgsSymbolLayerWidget * create(QgsVectorLayer *layer)
Static creation method.
virtual QgsSymbolLayer * symbolLayer()=0
#define SIP_FACTORY
Definition: qgis_sip.h:76
Symbol layer widget for the handling of QgsMaskMarkerSymbolLayer.
Represents a vector layer which manages a vector based data sets.
A widget that allows the selection of a list of symbol layers from a layer.