QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
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
()
19
{
20
21
}
22
23
QgsMapLayerConfigWidgetFactory::QgsMapLayerConfigWidgetFactory
(
QString
title
,
QIcon
icon
)
24
: mIcon( icon )
25
, mTitle( title )
26
{
27
}
28
29
QgsMapLayerConfigWidgetFactory::~QgsMapLayerConfigWidgetFactory
()
30
{
31
}
32
33
bool
QgsMapLayerConfigWidgetFactory::supportsLayer
(
QgsMapLayer
*layer )
const
34
{
35
Q_UNUSED( layer );
36
return
true
;
37
}
QgsMapLayer
Base class for all map layer types.
Definition:
qgsmaplayer.h:49
QgsMapLayerConfigWidgetFactory::QgsMapLayerConfigWidgetFactory
QgsMapLayerConfigWidgetFactory()
Constructor.
Definition:
qgsmaplayerconfigwidgetfactory.cpp:18
QgsMapLayerConfigWidgetFactory::~QgsMapLayerConfigWidgetFactory
virtual ~QgsMapLayerConfigWidgetFactory()
Destructor.
Definition:
qgsmaplayerconfigwidgetfactory.cpp:29
qgsmaplayerconfigwidgetfactory.h
QgsMapLayerConfigWidgetFactory::supportsLayer
virtual bool supportsLayer(QgsMapLayer *layer) const
Check if the layer is supported for this widget.
Definition:
qgsmaplayerconfigwidgetfactory.cpp:33
QString
QgsMapLayerConfigWidgetFactory::title
virtual QString title() const
The title of the panel.
Definition:
qgsmaplayerconfigwidgetfactory.h:58
QgsMapLayerConfigWidgetFactory::icon
virtual QIcon icon() const
The icon that will be shown in the UI for the panel.
Definition:
qgsmaplayerconfigwidgetfactory.h:45
QIcon
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13