QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
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
qgssymbollayerwidget.h
QgsSymbolLayerWidget::setSymbolLayer
virtual void setSymbolLayer(QgsSymbolLayer *layer)=0
QgsSymbolLayerWidget::symbolLayer
virtual QgsSymbolLayer * symbolLayer()=0
QgsSymbolLayerWidget
Definition: qgssymbollayerwidget.h:37
QgsMaskMarkerSymbolLayerWidget
Symbol layer widget for the handling of QgsMaskMarkerSymbolLayer.
Definition: qgsmasksymbollayerwidget.h:32
SIP_FACTORY
#define SIP_FACTORY
Definition: qgis_sip.h:76
QgsMaskMarkerSymbolLayerWidget::create
static QgsSymbolLayerWidget * create(QgsVectorLayer *layer)
Static creation method.
Definition: qgsmasksymbollayerwidget.h:49
QgsSymbolLayer
Definition: qgssymbollayer.h:54
qgis_sip.h
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition: qgsvectorlayer.h:391
QgsSymbolLayerSelectionWidget
A widget that allows the selection of a list of symbol layers from a layer. A tree shows a list of se...
Definition: qgssymbollayerselectionwidget.h:37
QgsMaskMarkerSymbolLayer
Special symbol layer that uses its sub symbol as a selective mask.
Definition: qgsmasksymbollayer.h:34
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition: qgis_sip.h:53