15#ifndef QGSCALLOUTWIDGET_H
16#define QGSCALLOUTWIDGET_H
24#include <QStandardItemModel>
116 void updateDataDefinedProperty();
118 void createAuxiliaryField();
127#include "ui_widget_simplelinecallout.h"
134class GUI_EXPORT QgsSimpleLineCalloutWidget :
public QgsCalloutWidget,
private Ui::WidgetSimpleLineCallout
144 void setCallout(
const QgsCallout *callout )
override;
152 void minimumLengthChanged();
153 void minimumLengthUnitWidgetChanged();
154 void offsetFromAnchorUnitWidgetChanged();
155 void offsetFromAnchorChanged();
156 void offsetFromLabelUnitWidgetChanged();
157 void offsetFromLabelChanged();
158 void lineSymbolChanged();
159 void mAnchorPointComboBox_currentIndexChanged(
int index );
160 void mLabelAnchorPointComboBox_currentIndexChanged(
int index );
161 void mCalloutBlendComboBox_currentIndexChanged(
int index );
162 void drawToAllPartsToggled(
bool active );
165 std::unique_ptr< QgsSimpleLineCallout > mCallout;
169class GUI_EXPORT QgsManhattanLineCalloutWidget :
public QgsSimpleLineCalloutWidget
184#include "ui_widget_curvedlinecallout.h"
188class GUI_EXPORT QgsCurvedLineCalloutWidget :
public QgsCalloutWidget,
private Ui::WidgetCurvedLineCallout
198 void setCallout(
const QgsCallout *callout )
override;
206 void minimumLengthChanged();
207 void minimumLengthUnitWidgetChanged();
208 void offsetFromAnchorUnitWidgetChanged();
209 void offsetFromAnchorChanged();
210 void offsetFromLabelUnitWidgetChanged();
211 void offsetFromLabelChanged();
212 void lineSymbolChanged();
213 void mAnchorPointComboBox_currentIndexChanged(
int index );
214 void mLabelAnchorPointComboBox_currentIndexChanged(
int index );
215 void mCalloutBlendComboBox_currentIndexChanged(
int index );
216 void drawToAllPartsToggled(
bool active );
219 std::unique_ptr< QgsCurvedLineCallout > mCallout;
226#include "ui_widget_ballooncallout.h"
230class GUI_EXPORT QgsBalloonCalloutWidget :
public QgsCalloutWidget,
private Ui::WidgetBalloonCallout
240 void setCallout(
const QgsCallout *callout )
override;
248 void offsetFromAnchorUnitWidgetChanged();
249 void offsetFromAnchorChanged();
250 void fillSymbolChanged();
251 void markerSymbolChanged();
252 void mAnchorPointComboBox_currentIndexChanged(
int index );
253 void mCalloutBlendComboBox_currentIndexChanged(
int index );
256 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...
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.