15#ifndef QGSCALLOUTWIDGET_H
16#define QGSCALLOUTWIDGET_H
24#include <QStandardItemModel>
120 void updateDataDefinedProperty();
122 void createAuxiliaryField();
131#include "ui_widget_simplelinecallout.h"
138class GUI_EXPORT QgsSimpleLineCalloutWidget :
public QgsCalloutWidget,
private Ui::WidgetSimpleLineCallout
148 void setCallout(
const QgsCallout *callout )
override;
156 void minimumLengthChanged();
157 void minimumLengthUnitWidgetChanged();
158 void offsetFromAnchorUnitWidgetChanged();
159 void offsetFromAnchorChanged();
160 void offsetFromLabelUnitWidgetChanged();
161 void offsetFromLabelChanged();
162 void lineSymbolChanged();
163 void mAnchorPointComboBox_currentIndexChanged(
int index );
164 void mLabelAnchorPointComboBox_currentIndexChanged(
int index );
165 void mCalloutBlendComboBox_currentIndexChanged(
int index );
166 void drawToAllPartsToggled(
bool active );
169 std::unique_ptr< QgsSimpleLineCallout > mCallout;
173class GUI_EXPORT QgsManhattanLineCalloutWidget :
public QgsSimpleLineCalloutWidget
188#include "ui_widget_curvedlinecallout.h"
192class GUI_EXPORT QgsCurvedLineCalloutWidget :
public QgsCalloutWidget,
private Ui::WidgetCurvedLineCallout
202 void setCallout(
const QgsCallout *callout )
override;
210 void minimumLengthChanged();
211 void minimumLengthUnitWidgetChanged();
212 void offsetFromAnchorUnitWidgetChanged();
213 void offsetFromAnchorChanged();
214 void offsetFromLabelUnitWidgetChanged();
215 void offsetFromLabelChanged();
216 void lineSymbolChanged();
217 void mAnchorPointComboBox_currentIndexChanged(
int index );
218 void mLabelAnchorPointComboBox_currentIndexChanged(
int index );
219 void mCalloutBlendComboBox_currentIndexChanged(
int index );
220 void drawToAllPartsToggled(
bool active );
223 std::unique_ptr< QgsCurvedLineCallout > mCallout;
230#include "ui_widget_ballooncallout.h"
234class GUI_EXPORT QgsBalloonCalloutWidget :
public QgsCalloutWidget,
private Ui::WidgetBalloonCallout
244 void setCallout(
const QgsCallout *callout )
override;
252 void offsetFromAnchorUnitWidgetChanged();
253 void offsetFromAnchorChanged();
254 void fillSymbolChanged();
255 void markerSymbolChanged();
256 void mAnchorPointComboBox_currentIndexChanged(
int index );
257 void mCalloutBlendComboBox_currentIndexChanged(
int index );
260 std::unique_ptr< QgsBalloonCallout > mCallout;
GeometryType
The geometry types are used to group Qgis::WkbType in a coarse way.
A cartoon talking bubble callout style.
Abstract base class for callout renderers.
Property
Data definable properties.
Draws curved lines as callouts.
Abstract interface for generating an expression context.
virtual QgsExpressionContext createExpressionContext() const =0
This method needs to be reimplemented in all classes which implement this interface and return an exp...
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Map canvas is a class for displaying all GIS data types on a canvas.
Base class for all map layer types.
A simple direct line callout style.
Contains settings which reflect the context in which a symbol (or renderer) widget is shown,...
Represents a vector layer which manages a vector based data sets.