QGIS API Documentation  3.20.0-Odense (decaadbb31)
Public Member Functions | Static Public Member Functions | List of all members
QgsMapLayerStyleGuiUtils Class Reference

Various GUI utility functions for dealing with map layer's style manager. More...

#include <qgsmaplayerstyleguiutils.h>

Inheritance diagram for QgsMapLayerStyleGuiUtils:
Inheritance graph
[legend]

Public Member Functions

void addStyleManagerActions (QMenu *m, QgsMapLayer *layer)
 adds actions to the menu in accordance to the layer More...
 
void removesExtraMenuSeparators (QMenu *m)
 removes extra separators from the menu More...
 

Static Public Member Functions

static QgsMapLayerStyleGuiUtilsinstance ()
 returns a singleton instance of this class More...
 

Detailed Description

Various GUI utility functions for dealing with map layer's style manager.

Note
not available in Python bindings
Since
QGIS 3.12 (in the GUI API)

Definition at line 38 of file qgsmaplayerstyleguiutils.h.

Member Function Documentation

◆ addStyleManagerActions()

void QgsMapLayerStyleGuiUtils::addStyleManagerActions ( QMenu *  m,
QgsMapLayer layer 
)

adds actions to the menu in accordance to the layer

Definition at line 82 of file qgsmaplayerstyleguiutils.cpp.

◆ instance()

QgsMapLayerStyleGuiUtils * QgsMapLayerStyleGuiUtils::instance ( )
static

returns a singleton instance of this class

Definition at line 28 of file qgsmaplayerstyleguiutils.cpp.

◆ removesExtraMenuSeparators()

void QgsMapLayerStyleGuiUtils::removesExtraMenuSeparators ( QMenu *  m)

removes extra separators from the menu

Since
QGIS 3.14

Definition at line 97 of file qgsmaplayerstyleguiutils.cpp.


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