QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
|
Contains details for a non-sublayer item to include in a QgsProviderSublayerModel. More...
#include <qgsprovidersublayermodel.h>
Public Member Functions | |
QString | description () const |
Returns the item's description. More... | |
QIcon | icon () const |
Returns the item's icon. More... | |
QString | name () const |
Returns the item's name. More... | |
bool | operator!= (const QgsProviderSublayerModel::NonLayerItem &other) const |
bool | operator== (const QgsProviderSublayerModel::NonLayerItem &other) const |
void | setDescription (const QString &description) |
Sets the item's description. More... | |
void | setIcon (const QIcon &icon) |
Sets the item's icon. More... | |
void | setName (const QString &name) |
Sets the item's name. More... | |
void | setType (const QString &type) |
Sets the item's type. More... | |
void | setUri (const QString &uri) |
Set the item's uri. More... | |
QString | type () const |
Returns the item's type. More... | |
QString | uri () const |
Returns the item's URI. More... | |
Contains details for a non-sublayer item to include in a QgsProviderSublayerModel.
Definition at line 80 of file qgsprovidersublayermodel.h.
QString QgsProviderSublayerModel::NonLayerItem::description | ( | ) | const |
Returns the item's description.
Definition at line 345 of file qgsprovidersublayermodel.cpp.
QIcon QgsProviderSublayerModel::NonLayerItem::icon | ( | ) | const |
Returns the item's icon.
Definition at line 365 of file qgsprovidersublayermodel.cpp.
QString QgsProviderSublayerModel::NonLayerItem::name | ( | ) | const |
Returns the item's name.
Definition at line 335 of file qgsprovidersublayermodel.cpp.
bool QgsProviderSublayerModel::NonLayerItem::operator!= | ( | const QgsProviderSublayerModel::NonLayerItem & | other | ) | const |
Definition at line 383 of file qgsprovidersublayermodel.cpp.
bool QgsProviderSublayerModel::NonLayerItem::operator== | ( | const QgsProviderSublayerModel::NonLayerItem & | other | ) | const |
Definition at line 375 of file qgsprovidersublayermodel.cpp.
void QgsProviderSublayerModel::NonLayerItem::setDescription | ( | const QString & | description | ) |
Sets the item's description.
Definition at line 350 of file qgsprovidersublayermodel.cpp.
void QgsProviderSublayerModel::NonLayerItem::setIcon | ( | const QIcon & | icon | ) |
Sets the item's icon.
Definition at line 370 of file qgsprovidersublayermodel.cpp.
void QgsProviderSublayerModel::NonLayerItem::setName | ( | const QString & | name | ) |
Sets the item's name.
Definition at line 340 of file qgsprovidersublayermodel.cpp.
void QgsProviderSublayerModel::NonLayerItem::setType | ( | const QString & | type | ) |
void QgsProviderSublayerModel::NonLayerItem::setUri | ( | const QString & | uri | ) |
QString QgsProviderSublayerModel::NonLayerItem::type | ( | ) | const |
Returns the item's type.
Definition at line 325 of file qgsprovidersublayermodel.cpp.
QString QgsProviderSublayerModel::NonLayerItem::uri | ( | ) | const |
Returns the item's URI.
Definition at line 355 of file qgsprovidersublayermodel.cpp.