QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
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 |
![]() | |
QgsCptCityDataItem (QgsCptCityDataItem::Type type, QgsCptCityDataItem *parent, const QString &name, const QString &path) | |
virtual bool | acceptDrop () |
virtual QList< QAction * > | actions () |
virtual void | addChildItem (QgsCptCityDataItem *child, bool refresh=false) |
QVector< QgsCptCityDataItem * > | children () const |
virtual QVector< QgsCptCityDataItem * > | createChildren () |
virtual void | deleteChildItem (QgsCptCityDataItem *child) |
virtual bool | handleDrop (const QMimeData *, Qt::DropAction) |
bool | hasChildren () |
QString | info () const |
bool | isPopulated () |
bool | isValid () |
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 |
![]() | |
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 | |
![]() | |
enum | Type { ColorRamp, Collection, Directory, Selection, AllRamps } |
![]() | |
void | beginInsertItems (QgsCptCityDataItem *parent, int first, int last) |
void | beginRemoveItems (QgsCptCityDataItem *parent, int first, int last) |
void | endInsertItems () |
void | endRemoveItems () |
![]() | |
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 207 of file qgscptcityarchive.h.
QgsCptCityColorRampItem::QgsCptCityColorRampItem | ( | QgsCptCityDataItem * | parent, |
const QString & | name, | ||
const QString & | path, | ||
const QString & | variantName = QString() , |
||
bool | initialize = false |
||
) |
Definition at line 697 of file qgscptcityarchive.cpp.
QgsCptCityColorRampItem::QgsCptCityColorRampItem | ( | QgsCptCityDataItem * | parent, |
const QString & | name, | ||
const QString & | path, | ||
const QStringList & | variantList, | ||
bool | initialize = false |
||
) |
Definition at line 709 of file qgscptcityarchive.cpp.
|
overridevirtual |
Reimplemented from QgsCptCityDataItem.
Definition at line 777 of file qgscptcityarchive.cpp.
|
overridevirtual |
Reimplemented from QgsCptCityDataItem.
Definition at line 792 of file qgscptcityarchive.cpp.
|
overridevirtual |
Reimplemented from QgsCptCityDataItem.
Definition at line 797 of file qgscptcityarchive.cpp.
void QgsCptCityColorRampItem::init | ( | ) |
Definition at line 722 of file qgscptcityarchive.cpp.
|
inlineoverridevirtual |
Reimplemented from QgsCptCityDataItem.
Definition at line 223 of file qgscptcityarchive.h.
|
inline |
Definition at line 226 of file qgscptcityarchive.h.
|
protected |
Definition at line 235 of file qgscptcityarchive.h.
|
protected |
Definition at line 233 of file qgscptcityarchive.h.
|
protected |
Definition at line 234 of file qgscptcityarchive.h.