Class: QgsLayoutItemGuiGroup

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.

Attributes

icon

Icon for group.

id

Unique (untranslated) group ID string.

name

Translated group name.

class qgis.gui.QgsLayoutItemGuiGroup[source]

Bases: object

__init__(id: str | None = '', name: str | None = '', icon: QIcon = QIcon())

Constructor for QgsLayoutItemGuiGroup.

Parameters:
  • id (Optional[str] = '')

  • name (Optional[str] = '')

  • icon (QIcon = QIcon())

__init__(a0: QgsLayoutItemGuiGroup)
Parameters:

a0 (QgsLayoutItemGuiGroup)

icon

Icon for group.

id

Unique (untranslated) group ID string.

name

Translated group name.