QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
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.
 

Public Attributes

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

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.

Since
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() 
)
inline

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: