18#ifndef QGSLABELINGGUI_H
19#define QGSLABELINGGUI_H
26class QDialogButtonBox;
49 void setLabelMode( LabelMode mode );
66 void blockInitSignals(
bool block );
68 bool eventFilter( QObject *
object, QEvent *event )
override;
77 void updateGeometryTypeBasedWidgets();
78 void showGeometryGeneratorExpressionBuilder();
79 void validateGeometryGeneratorExpression();
80 void determineGeometryGeneratorType();
85 void calloutTypeChanged();
101 void updateCalloutWidget(
QgsCallout *callout );
102 void showObstacleSettings();
103 void showLineAnchorSettings();
107class GUI_EXPORT QgsLabelSettingsDialog :
public QDialog
121 QDialogButtonBox *buttonBox()
const;
125 QgsLabelingGui *mWidget =
nullptr;
126 QDialogButtonBox *mButtonBox =
nullptr;
GeometryType
The geometry types are used to group Qgis::WkbType in a coarse way.
Abstract base class for callout renderers.
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Contains settings related to how the label engine places and formats labels for line features (or pol...
Contains settings related to how the label engine treats features as obstacles.
Map canvas is a class for displaying all GIS data types on a canvas.
Base class for all map layer types.
Contains settings for how a map layer will be labeled.
StyleEntity
Enum for Entities involved in a style.
Contains settings which reflect the context in which a symbol (or renderer) widget is shown,...
A widget for customizing text formatting settings.
QgsExpressionContext createExpressionContext() const override
This method needs to be reimplemented in all classes which implement this interface and return an exp...
virtual void setContext(const QgsSymbolWidgetContext &context)
Sets the context in which the widget is shown, e.g., the associated map canvas and expression context...
virtual void setFormatFromStyle(const QString &name, QgsStyle::StyleEntity type, const QString &stylePath)
Sets the current text settings from a style entry.
virtual void saveFormat()
Saves the current text settings to a style entry.
Represents a vector layer which manages a vector based data sets.