QGIS API Documentation  3.14.0-Pi (9f7028fd23)
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:34
QgsMaskMarkerSymbolLayerWidget
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:52
qgis_sip.h
QgsVectorLayer
Definition: qgsvectorlayer.h:385
QgsSymbolLayerSelectionWidget
Definition: qgssymbollayerselectionwidget.h:37
QgsMaskMarkerSymbolLayer
Special symbol layer that uses its sub symbol as a selective mask.
Definition: qgsmasksymbollayer.h:33
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition: qgis_sip.h:53