QGIS API Documentation
3.6.0-Noosa (5873452)
src
gui
qgsmaplayerconfigwidgetfactory.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsmaplayerconfigwidgetfactoryfactory.cpp
3
----------------------------------------
4
Date : 9.7.2013
5
Copyright : (C) 2013 Matthias Kuhn
6
Email : matthias dot kuhn at gmx dot ch
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
16
#include "
qgsmaplayerconfigwidgetfactory.h
"
17
18
QgsMapLayerConfigWidgetFactory::QgsMapLayerConfigWidgetFactory
(
const
QString &title,
const
QIcon &icon )
19
: mIcon( icon )
20
, mTitle( title )
21
{
22
}
23
24
bool
QgsMapLayerConfigWidgetFactory::supportsLayer
(
QgsMapLayer
*layer )
const
25
{
26
Q_UNUSED( layer );
27
return
true
;
28
}
QgsMapLayer
Base class for all map layer types.
Definition:
qgsmaplayer.h:64
QgsMapLayerConfigWidgetFactory::QgsMapLayerConfigWidgetFactory
QgsMapLayerConfigWidgetFactory()=default
Constructor.
qgsmaplayerconfigwidgetfactory.h
QgsMapLayerConfigWidgetFactory::supportsLayer
virtual bool supportsLayer(QgsMapLayer *layer) const
Check if the layer is supported for this widget.
Definition:
qgsmaplayerconfigwidgetfactory.cpp:24
Generated on Sat Feb 23 2019 03:59:22 for QGIS API Documentation by
1.8.13