|
QGIS API Documentation 4.1.0-Master (01362494303)
|
Represents a CPT City color scheme. More...
#include <qgscptcityarchive.h>
Public Member Functions | |
| QgsCptCityArchive (const QgsCptCityArchive &rh)=delete | |
| QgsCptCityArchive (const QString &archiveName=DEFAULT_CPTCITY_ARCHIVE, const QString &baseDir=QString()) | |
| ~QgsCptCityArchive () | |
| QString | archiveName () const |
| QString | baseDir () const |
| QString | copyingFileName (const QString &dirName) const |
| QString | descFileName (const QString &dirName) const |
| bool | isEmpty () const |
Returns true if archive is empty. | |
| QgsCptCityArchive & | operator= (const QgsCptCityArchive &rh)=delete |
| QVector< QgsCptCityDataItem * > | rootItems () const |
| QVector< QgsCptCityDataItem * > | selectionItems () const |
| void | setBaseDir (const QString &dirName) |
Static Public Member Functions | |
| static QMap< QString, QgsCptCityArchive * > | archiveRegistry () |
| static QString | baseDir (QString archiveName) |
| static void | clearArchives () |
| static QMap< QString, QString > | copyingInfo (const QString &fileName) |
| static QgsCptCityArchive * | defaultArchive () |
| static QString | defaultBaseDir () |
| static QMap< QString, QString > | description (const QString &fileName) |
| static QString | findFileName (const QString &target, const QString &startDir, const QString &baseDir) |
| static QMap< double, QPair< QColor, QColor > > | gradientColorMap (const QString &fileName) |
| static void | initArchive (const QString &archiveName, const QString &archiveBaseDir) |
| static void | initArchives (bool loadAll=false) |
| static void | initDefaultArchive () |
Static Public Attributes | |
| static const QgsSettingsEntryString * | settingsCptCityArchiveName = new QgsSettingsEntryString( u"cptcity-archive-name"_s, QgsSettingsTree::sTreeColors, QStringLiteral( DEFAULT_CPTCITY_ARCHIVE ), u"Name of the CPT-City archive subdirectory used as the default source of color ramps."_s ) |
| static const QgsSettingsEntryString * | settingsCptCityBaseDir = new QgsSettingsEntryString( u"cptcity-base-dir"_s, QgsSettingsTree::sTreeColors, QString(), u"Base directory where CPT-City color ramp archives are stored. If empty, the built-in location is used."_s ) |
Represents a CPT City color scheme.
Definition at line 41 of file qgscptcityarchive.h.
| QgsCptCityArchive::QgsCptCityArchive | ( | const QString & | archiveName = DEFAULT_CPTCITY_ARCHIVE, |
| const QString & | baseDir = QString() ) |
Definition at line 63 of file qgscptcityarchive.cpp.
| QgsCptCityArchive::~QgsCptCityArchive | ( | ) |
Definition at line 108 of file qgscptcityarchive.cpp.
|
delete |
|
inline |
Definition at line 72 of file qgscptcityarchive.h.
|
static |
Definition at line 58 of file qgscptcityarchive.cpp.
| QString QgsCptCityArchive::baseDir | ( | ) | const |
Definition at line 120 of file qgscptcityarchive.cpp.
|
static |
Definition at line 130 of file qgscptcityarchive.cpp.
|
static |
Definition at line 509 of file qgscptcityarchive.cpp.
| QString QgsCptCityArchive::copyingFileName | ( | const QString & | dirName | ) | const |
Definition at line 175 of file qgscptcityarchive.cpp.
|
static |
Definition at line 185 of file qgscptcityarchive.cpp.
|
static |
Definition at line 438 of file qgscptcityarchive.cpp.
|
static |
Definition at line 141 of file qgscptcityarchive.cpp.
| QString QgsCptCityArchive::descFileName | ( | const QString & | dirName | ) | const |
Definition at line 180 of file qgscptcityarchive.cpp.
|
static |
Definition at line 286 of file qgscptcityarchive.cpp.
|
static |
Definition at line 154 of file qgscptcityarchive.cpp.
|
static |
Definition at line 335 of file qgscptcityarchive.cpp.
|
static |
Definition at line 447 of file qgscptcityarchive.cpp.
|
static |
Definition at line 469 of file qgscptcityarchive.cpp.
|
static |
Definition at line 456 of file qgscptcityarchive.cpp.
| bool QgsCptCityArchive::isEmpty | ( | ) | const |
Returns true if archive is empty.
Definition at line 432 of file qgscptcityarchive.cpp.
|
delete |
|
inline |
Definition at line 81 of file qgscptcityarchive.h.
|
inline |
Definition at line 82 of file qgscptcityarchive.h.
|
inline |
Definition at line 58 of file qgscptcityarchive.h.
|
static |
Definition at line 46 of file qgscptcityarchive.h.
|
static |
Definition at line 44 of file qgscptcityarchive.h.