QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
Item that represents a layer that can be opened with one of the providers. More...
#include <qgscptcityarchive.h>
Public Member Functions | |
QgsCptCityColorRampItem (QgsCptCityDataItem *parent, const QString &name, const QString &path, const QString &variantName=QString(), bool initialize=false) | |
QgsCptCityColorRampItem (QgsCptCityDataItem *parent, const QString &name, const QString &path, const QStringList &variantList, bool initialize=false) | |
bool | equal (const QgsCptCityDataItem *other) override |
QIcon | icon () override |
QIcon | icon (QSize size) override |
void | init () |
int | leafCount () const override |
const QgsCptCityColorRamp & | ramp () const |
Public Member Functions inherited from QgsCptCityDataItem | |
QgsCptCityDataItem (QgsCptCityDataItem::Type type, QgsCptCityDataItem *parent, const QString &name, const QString &path) | |
virtual bool | acceptDrop () |
virtual void | addChildItem (QgsCptCityDataItem *child, bool refresh=false) |
QVector< QgsCptCityDataItem * > | children () const |
virtual QVector< QgsCptCityDataItem * > | createChildren () |
virtual void | deleteChildItem (QgsCptCityDataItem *child) |
virtual bool | equal (const QgsCptCityDataItem *other) |
virtual bool | handleDrop (const QMimeData *, Qt::DropAction) |
bool | hasChildren () |
virtual QIcon | icon () |
virtual QIcon | icon (QSize size) |
QString | info () const |
bool | isPopulated () |
bool | isValid () |
virtual int | leafCount () const |
QString | name () const |
virtual QWidget * | paramWidget () |
QgsCptCityDataItem * | parent () const |
QString | path () const |
virtual void | populate () |
virtual void | refresh () |
virtual QgsCptCityDataItem * | removeChildItem (QgsCptCityDataItem *child) |
int | rowCount () |
void | setIcon (const QIcon &icon) |
void | setParent (QgsCptCityDataItem *parent) |
void | setToolTip (const QString &msg) |
QString | shortInfo () const |
QString | toolTip () const |
Type | type () const |
Protected Attributes | |
QList< QIcon > | mIcons |
bool | mInitialized |
QgsCptCityColorRamp | mRamp |
Protected Attributes inherited from QgsCptCityDataItem | |
QVector< QgsCptCityDataItem * > | mChildren |
QIcon | mIcon |
QString | mInfo |
QString | mName |
QgsCptCityDataItem * | mParent = nullptr |
QString | mPath |
bool | mPopulated |
QString | mShortInfo |
QString | mToolTip |
Type | mType |
bool | mValid |
Additional Inherited Members | |
Public Types inherited from QgsCptCityDataItem | |
enum | Type { ColorRamp , Collection , Directory , Selection , AllRamps } |
Signals inherited from QgsCptCityDataItem | |
void | beginInsertItems (QgsCptCityDataItem *parent, int first, int last) |
void | beginRemoveItems (QgsCptCityDataItem *parent, int first, int last) |
void | endInsertItems () |
void | endRemoveItems () |
Static Public Member Functions inherited from QgsCptCityDataItem | |
static int | findItem (QVector< QgsCptCityDataItem * > items, QgsCptCityDataItem *item) |
Item that represents a layer that can be opened with one of the providers.
Definition at line 203 of file qgscptcityarchive.h.
QgsCptCityColorRampItem::QgsCptCityColorRampItem | ( | QgsCptCityDataItem * | parent, |
const QString & | name, | ||
const QString & | path, | ||
const QString & | variantName = QString() , |
||
bool | initialize = false |
||
) |
Definition at line 703 of file qgscptcityarchive.cpp.
QgsCptCityColorRampItem::QgsCptCityColorRampItem | ( | QgsCptCityDataItem * | parent, |
const QString & | name, | ||
const QString & | path, | ||
const QStringList & | variantList, | ||
bool | initialize = false |
||
) |
Definition at line 715 of file qgscptcityarchive.cpp.
|
overridevirtual |
Reimplemented from QgsCptCityDataItem.
Definition at line 783 of file qgscptcityarchive.cpp.
|
overridevirtual |
Reimplemented from QgsCptCityDataItem.
Definition at line 798 of file qgscptcityarchive.cpp.
|
overridevirtual |
Reimplemented from QgsCptCityDataItem.
Definition at line 803 of file qgscptcityarchive.cpp.
void QgsCptCityColorRampItem::init | ( | ) |
Definition at line 728 of file qgscptcityarchive.cpp.
|
inlineoverridevirtual |
Reimplemented from QgsCptCityDataItem.
Definition at line 219 of file qgscptcityarchive.h.
|
inline |
Definition at line 222 of file qgscptcityarchive.h.
|
protected |
Definition at line 231 of file qgscptcityarchive.h.
|
protected |
Definition at line 229 of file qgscptcityarchive.h.
|
protected |
Definition at line 230 of file qgscptcityarchive.h.