QGIS API Documentation
3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
src
core
symbology
qgscolorbrewerpalette.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgscolorbrewerpalette.h
3
---------------------
4
begin : November 2009
5
copyright : (C) 2009 by Martin Dobias
6
email : wonder dot sk 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
#ifndef QGSCOLORBREWERPALETTE_H
16
#define QGSCOLORBREWERPALETTE_H
17
18
#include "qgis_core.h"
19
#include <QList>
20
#include <QColor>
21
22
#include "
qgssymbollayerutils.h
"
23
29
class
CORE_EXPORT
QgsColorBrewerPalette
30
{
31
public
:
32
static
QList<QColor> listSchemeColors(
const
QString &schemeName,
int
colors );
33
34
static
QStringList listSchemes();
35
36
static
QList<int> listSchemeVariants(
const
QString &schemeName );
37
38
// extracted ColorBrewer data
39
static
const
char
*
BREWER_STRING
;
40
};
41
42
// clazy:excludeall=qstring-allocations
43
44
#endif
// QGSCOLORBREWERPALETTE_H
QgsColorBrewerPalette
Contains utility functions for working with Color Brewer color schemes.
Definition
qgscolorbrewerpalette.h:30
QgsColorBrewerPalette::BREWER_STRING
static const char * BREWER_STRING
Definition
qgscolorbrewerpalette.h:39
qgssymbollayerutils.h
Generated on Mon Oct 28 2024 22:06:03 for QGIS API Documentation by
1.9.8