17#ifndef QGSDATACOLLECTIONITEM_H
18#define QGSDATACOLLECTIONITEM_H
49 SIP_PYOBJECT __repr__();
51 QString
str = QStringLiteral(
"<QgsDataCollectionItem: \"%1\" %2>" ).arg( sipCpp->name(), sipCpp->path() );
52 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
66 static QIcon iconDir(
const QColor &fillColor = QColor(),
const QColor &strokeColor = QColor() );
72 static QIcon iconDataCollection();
86 static QIcon openDirIcon(
const QColor &fillColor = QColor(),
const QColor &strokeColor = QColor() );
96 static QIcon homeDirIcon(
const QColor &fillColor = QColor(),
const QColor &strokeColor = QColor() );
The QgsAbstractDatabaseProviderConnection class provides common functionality for DB based connection...
A Collection: logical collection of layers or subcollections, e.g.
void addChild(QgsDataItem *item)
Base class for all items in the model.
virtual QgsAbstractDatabaseProviderConnection * databaseConnection() const
For data items that represent a DB connection or one of its children, this method returns a connectio...