QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
src
gui
qgsmaplayerconfigwidget.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsmaplayerconfigwidget.cpp
3
---------------------------
4
begin : June 2016
5
copyright : (C) 2016 by Nathan Woodrow
6
email : woodrow dot nathan at gmail 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 "
qgsmaplayerconfigwidget.h
"
16
#include "
qgspanelwidget.h
"
17
18
QgsMapLayerConfigWidget::QgsMapLayerConfigWidget
(
QgsMapLayer
*layer,
QgsMapCanvas
*canvas, QWidget *parent )
19
:
QgsPanelWidget
( parent )
20
, mLayer( layer )
21
, mMapCanvas( canvas )
22
{
23
24
}
25
26
void
QgsMapLayerConfigWidget::setMapLayerConfigWidgetContext
(
const
QgsMapLayerConfigWidgetContext
&context )
27
{
28
mMapLayerConfigWidgetContext
= context;
29
}
30
31
void
QgsMapLayerConfigWidget::focusDefaultWidget
()
32
{
33
}
QgsMapCanvas
Map canvas is a class for displaying all GIS data types on a canvas.
Definition:
qgsmapcanvas.h:89
QgsMapLayerConfigWidgetContext
Encapsulates the context for a QgsMapLayerConfigWidget.
Definition:
qgsmaplayerconfigwidget.h:35
QgsMapLayerConfigWidget::setMapLayerConfigWidgetContext
virtual void setMapLayerConfigWidgetContext(const QgsMapLayerConfigWidgetContext &context)
Sets the context under which the widget is being shown.
Definition:
qgsmaplayerconfigwidget.cpp:26
QgsMapLayerConfigWidget::QgsMapLayerConfigWidget
QgsMapLayerConfigWidget(QgsMapLayer *layer, QgsMapCanvas *canvas, QWidget *parent=nullptr)
A panel widget that can be shown in the map style dock.
Definition:
qgsmaplayerconfigwidget.cpp:18
QgsMapLayerConfigWidget::mMapLayerConfigWidgetContext
QgsMapLayerConfigWidgetContext mMapLayerConfigWidgetContext
Definition:
qgsmaplayerconfigwidget.h:165
QgsMapLayerConfigWidget::focusDefaultWidget
virtual void focusDefaultWidget()
Focuses the default widget for the page.
Definition:
qgsmaplayerconfigwidget.cpp:31
QgsMapLayer
Base class for all map layer types.
Definition:
qgsmaplayer.h:73
QgsPanelWidget
Base class for any widget that can be shown as a inline panel.
Definition:
qgspanelwidget.h:30
qgsmaplayerconfigwidget.h
qgspanelwidget.h
Generated on Thu Feb 24 2022 10:41:09 for QGIS API Documentation by
1.9.1