QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
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"
21#include "qgis_gui.h"
22
25
32class GUI_EXPORT QgsMaskMarkerSymbolLayerWidget : public QgsSymbolLayerWidget, private Ui::QgsMaskSymbolLayerWidgetBase
33{
34 Q_OBJECT
35
36 public:
42 QgsMaskMarkerSymbolLayerWidget( QgsVectorLayer *layer, QWidget *parent SIP_TRANSFERTHIS = nullptr );
43
49
51 void setSymbolLayer( QgsSymbolLayer *layer ) override;
52
54 QgsSymbolLayer *symbolLayer() override;
55
56 private:
58 QgsMaskMarkerSymbolLayer *mLayer = nullptr;
59};
60
61#endif
Symbol layer widget for the handling of QgsMaskMarkerSymbolLayer.
static QgsSymbolLayerWidget * create(QgsVectorLayer *layer)
Static creation method.
Special symbol layer that uses its sub symbol as a selective mask.
A widget that allows the selection of a list of symbol layers from a layer.
virtual void setSymbolLayer(QgsSymbolLayer *layer)=0
virtual QgsSymbolLayer * symbolLayer()=0
Represents a vector layer which manages a vector based data sets.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53
#define SIP_FACTORY
Definition qgis_sip.h:76