QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Member Functions | Public Attributes | List of all members
QgsAnnotationItemGuiGroup Class Reference

Stores GUI metadata about a group of annotation item classes. More...

#include <qgsannotationitemguiregistry.h>

Public Member Functions

 QgsAnnotationItemGuiGroup (const QString &id=QString(), const QString &name=QString(), const QIcon &icon=QIcon())
 Constructor for QgsAnnotationItemGuiGroup. More...

Public Attributes

QIcon icon
 Icon for group. More...
QString id
 Unique (untranslated) group ID string. More...
QString name
 Translated group name. More...

Detailed Description

Stores GUI metadata about a group of annotation item classes.

QgsAnnotationItemGuiGroup stores settings about groups of related annotation item classes which should be presented to users grouped together.

For instance, the various basic shape creation tools would use QgsAnnotationItemGuiGroup to display grouped within toolbars.

QGIS 3.22

Definition at line 260 of file qgsannotationitemguiregistry.h.

Constructor & Destructor Documentation

◆ QgsAnnotationItemGuiGroup()

QgsAnnotationItemGuiGroup::QgsAnnotationItemGuiGroup ( const QString &  id = QString(),
const QString &  name = QString(),
const QIcon &  icon = QIcon() 

Constructor for QgsAnnotationItemGuiGroup.

Definition at line 267 of file qgsannotationitemguiregistry.h.

Member Data Documentation

◆ icon

QIcon QgsAnnotationItemGuiGroup::icon

Icon for group.

Definition at line 286 of file qgsannotationitemguiregistry.h.

◆ id

QString QgsAnnotationItemGuiGroup::id

Unique (untranslated) group ID string.

Definition at line 276 of file qgsannotationitemguiregistry.h.

◆ name

QString QgsAnnotationItemGuiGroup::name

Translated group name.

Definition at line 281 of file qgsannotationitemguiregistry.h.

The documentation for this class was generated from the following file: