QGIS API Documentation  3.20.0-Odense (decaadbb31)
Namespaces | Functions
qgswmsgetlegendgraphics.cpp File Reference
#include "qgslayertree.h"
#include "qgslegendrenderer.h"
#include "qgsvectorlayer.h"
#include "qgsvectorlayerfeaturecounter.h"
#include "qgssymbollayerutils.h"
#include "qgsmaplayerlegend.h"
#include "qgswmsutils.h"
#include "qgswmsrequest.h"
#include "qgswmsserviceexception.h"
#include "qgswmsgetlegendgraphics.h"
#include "qgswmsrenderer.h"
#include <QImage>
#include <QJsonObject>
#include <QJsonDocument>
Include dependency graph for qgswmsgetlegendgraphics.cpp:

Go to the source code of this file.

Namespaces

 QgsWms
 Median cut implementation.
 

Functions

void QgsWms::checkParameters (QgsWmsParameters &parameters)
 checkParameters checks request parameters and sets SRCHEIGHT and SRCWIDTH to default values in case BBOX is specified for contextual legend and (SRC)HEIGHT or (SRC)WIDTH are not. More...
 
QgsLayerTreeQgsWms::layerTree (const QgsWmsRenderContext &context)
 
QgsLayerTreeModelQgsWms::legendModel (const QgsWmsRenderContext &context, QgsLayerTree &tree)
 
QgsLayerTreeModelLegendNodeQgsWms::legendNode (const QString &rule, QgsLayerTreeModel &model)
 
void QgsWms::writeGetLegendGraphics (QgsServerInterface *serverIface, const QgsProject *project, const QgsWmsRequest &request, QgsServerResponse &response)
 Output GetLegendGRaphics response. More...