|
QGIS API Documentation 4.3.0-Master (91d4a333d5d)
|
Contains utility functions for working with icons. More...
#include <qgsiconutils.h>
Static Public Member Functions | |
| static QIcon | addOverlay (const QIcon &icon, const QString &overlayPath, QSize size=QSize(16, 16)) |
| Returns a copy of icon with an overlay icon rendered from the image file at overlayPath. | |
| static QIcon | iconDefaultLayer () |
| Returns a default icon for layers, which aren't the standard raster/vector/... types. | |
| static QIcon | iconForGeometryType (Qgis::GeometryType typeGroup) |
| Returns the icon for a vector layer whose geometry typeGroup is provided. | |
| static QIcon | iconForLayer (const QgsMapLayer *layer) |
| Returns the icon corresponding to a specified map layer. | |
| static QIcon | iconForLayerType (Qgis::LayerType type) |
| Returns the default icon for the specified layer type. | |
| static QIcon | iconForWkbType (Qgis::WkbType type) |
| Returns the icon for a vector layer whose geometry type is provided. | |
| static QIcon | iconGeometryCollection () |
| Returns an icon representing geometry collections. | |
| static QIcon | iconLine () |
| Returns an icon representing line geometries. | |
| static QIcon | iconMesh () |
| Returns an icon representing mesh layers. | |
| static QIcon | iconPoint () |
| Returns an icon representing point geometries. | |
| static QIcon | iconPointCloud () |
| Returns an icon representing point cloud layers. | |
| static QIcon | iconPolygon () |
| Returns an icon representing polygon geometries. | |
| static QIcon | iconRaster () |
| Returns an icon representing raster layers. | |
| static QIcon | iconTable () |
| Returns an icon representing non-spatial layers (tables). | |
| static QIcon | iconTiledScene () |
| Returns an icon representing tiled scene layers. | |
| static QIcon | iconVectorTile () |
| Returns an icon representing vector tile layers. | |
Contains utility functions for working with icons.
Definition at line 35 of file qgsiconutils.h.
|
static |
Returns a copy of icon with an overlay icon rendered from the image file at overlayPath.
| icon | The base icon to which the overlay will be added. |
| overlayPath | The path to the overlay image file. |
| size | The requested size of the resultant icon. Default value is the standard small icon size 16x16 pixels. |
Definition at line 207 of file qgsiconutils.cpp.
|
static |
Returns a default icon for layers, which aren't the standard raster/vector/... types.
Definition at line 106 of file qgsiconutils.cpp.
|
static |
Returns the icon for a vector layer whose geometry typeGroup is provided.
Definition at line 38 of file qgsiconutils.cpp.
|
static |
Returns the icon corresponding to a specified map layer.
Definition at line 111 of file qgsiconutils.cpp.
|
static |
Returns the default icon for the specified layer type.
Definition at line 175 of file qgsiconutils.cpp.
|
static |
Returns the icon for a vector layer whose geometry type is provided.
Definition at line 32 of file qgsiconutils.cpp.
|
static |
Returns an icon representing geometry collections.
Definition at line 71 of file qgsiconutils.cpp.
|
static |
Returns an icon representing line geometries.
Definition at line 61 of file qgsiconutils.cpp.
|
static |
Returns an icon representing mesh layers.
Definition at line 86 of file qgsiconutils.cpp.
|
static |
Returns an icon representing point geometries.
Definition at line 56 of file qgsiconutils.cpp.
|
static |
Returns an icon representing point cloud layers.
Definition at line 96 of file qgsiconutils.cpp.
|
static |
Returns an icon representing polygon geometries.
Definition at line 66 of file qgsiconutils.cpp.
|
static |
Returns an icon representing raster layers.
Definition at line 81 of file qgsiconutils.cpp.
|
static |
Returns an icon representing non-spatial layers (tables).
Definition at line 76 of file qgsiconutils.cpp.
|
static |
Returns an icon representing tiled scene layers.
Definition at line 101 of file qgsiconutils.cpp.
|
static |
Returns an icon representing vector tile layers.
Definition at line 91 of file qgsiconutils.cpp.