|
QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
Various GUI utility functions for dealing with map layer's style manager. More...
#include <qgsmaplayerstyleguiutils.h>

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 QgsMapLayerStyleGuiUtils * | instance () |
| returns a singleton instance of this class More... | |
Various GUI utility functions for dealing with map layer's style manager.
Definition at line 38 of file qgsmaplayerstyleguiutils.h.
| void QgsMapLayerStyleGuiUtils::addStyleManagerActions | ( | QMenu * | m, |
| QgsMapLayer * | layer | ||
| ) |
adds actions to the menu in accordance to the layer
Definition at line 83 of file qgsmaplayerstyleguiutils.cpp.
|
static |
returns a singleton instance of this class
Definition at line 29 of file qgsmaplayerstyleguiutils.cpp.
| void QgsMapLayerStyleGuiUtils::removesExtraMenuSeparators | ( | QMenu * | m | ) |
removes extra separators from the menu
Definition at line 98 of file qgsmaplayerstyleguiutils.cpp.