QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsLayoutItemGuiGroup Class Reference

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

#include <qgslayoutitemguiregistry.h>

Public Member Functions

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

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 layout item classes.

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

For instance, the various basic shape creation tools would use QgsLayoutItemGuiGroup to display grouped within designer dialogs.

Definition at line 313 of file qgslayoutitemguiregistry.h.

Constructor & Destructor Documentation

◆ QgsLayoutItemGuiGroup()

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

Constructor for QgsLayoutItemGuiGroup.

Definition at line 320 of file qgslayoutitemguiregistry.h.

Member Data Documentation

◆ icon

QIcon QgsLayoutItemGuiGroup::icon

Icon for group.

Definition at line 339 of file qgslayoutitemguiregistry.h.

◆ id

QString QgsLayoutItemGuiGroup::id

Unique (untranslated) group ID string.

Definition at line 329 of file qgslayoutitemguiregistry.h.

◆ name

QString QgsLayoutItemGuiGroup::name

Translated group name.

Definition at line 334 of file qgslayoutitemguiregistry.h.


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