QGIS API Documentation
3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
src
gui
symbology
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
***************************************************************************/
15
#include "
qgsmasksymbollayerwidget.h
"
16
#include "moc_qgsmasksymbollayerwidget.cpp"
17
#include <QVBoxLayout>
18
#include "
qgsmasksymbollayer.h
"
19
20
#include "
qgsvectorlayer.h
"
21
22
QgsMaskMarkerSymbolLayerWidget::QgsMaskMarkerSymbolLayerWidget
(
QgsVectorLayer
*vl, QWidget *parent )
23
:
QgsSymbolLayerWidget
( parent, vl )
24
{
25
setupUi(
this
);
26
}
27
28
void
QgsMaskMarkerSymbolLayerWidget::setSymbolLayer
(
QgsSymbolLayer
*layer )
29
{
30
mLayer =
static_cast<
QgsMaskMarkerSymbolLayer
*
>
( layer );
31
}
32
33
34
QgsSymbolLayer
*
QgsMaskMarkerSymbolLayerWidget::symbolLayer
()
35
{
36
return
mLayer;
37
}
QgsMaskMarkerSymbolLayerWidget::setSymbolLayer
void setSymbolLayer(QgsSymbolLayer *layer) override
Update the current symbol layer displayed.
Definition
qgsmasksymbollayerwidget.cpp:28
QgsMaskMarkerSymbolLayerWidget::symbolLayer
QgsSymbolLayer * symbolLayer() override
Returns the current symbol layer.
Definition
qgsmasksymbollayerwidget.cpp:34
QgsMaskMarkerSymbolLayerWidget::QgsMaskMarkerSymbolLayerWidget
QgsMaskMarkerSymbolLayerWidget(QgsVectorLayer *layer, QWidget *parent=nullptr)
Constructor.
Definition
qgsmasksymbollayerwidget.cpp:22
QgsMaskMarkerSymbolLayer
Special symbol layer that uses its sub symbol as a selective mask.
Definition
qgsmasksymbollayer.h:35
QgsSymbolLayerWidget
Definition
qgssymbollayerwidget.h:37
QgsSymbolLayer
Definition
qgssymbollayer.h:55
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition
qgsvectorlayer.h:401
qgsmasksymbollayer.h
qgsmasksymbollayerwidget.h
qgsvectorlayer.h
Generated on Sun Dec 15 2024 01:32:01 for QGIS API Documentation by
1.9.8