15#ifndef QGSCALLOUTWIDGET_H
16#define QGSCALLOUTWIDGET_H
24#include <QStandardItemModel>
114 void updateDataDefinedProperty();
116 void createAuxiliaryField();
125#include "ui_widget_simplelinecallout.h"
132class GUI_EXPORT QgsSimpleLineCalloutWidget :
public QgsCalloutWidget,
private Ui::WidgetSimpleLineCallout
141 void setCallout(
const QgsCallout *callout )
override;
149 void minimumLengthChanged();
150 void minimumLengthUnitWidgetChanged();
151 void offsetFromAnchorUnitWidgetChanged();
152 void offsetFromAnchorChanged();
153 void offsetFromLabelUnitWidgetChanged();
154 void offsetFromLabelChanged();
155 void lineSymbolChanged();
156 void mAnchorPointComboBox_currentIndexChanged(
int index );
157 void mLabelAnchorPointComboBox_currentIndexChanged(
int index );
158 void mCalloutBlendComboBox_currentIndexChanged(
int index );
159 void drawToAllPartsToggled(
bool active );
162 std::unique_ptr<QgsSimpleLineCallout> mCallout;
165class GUI_EXPORT QgsManhattanLineCalloutWidget :
public QgsSimpleLineCalloutWidget
178#include "ui_widget_curvedlinecallout.h"
182class GUI_EXPORT QgsCurvedLineCalloutWidget :
public QgsCalloutWidget,
private Ui::WidgetCurvedLineCallout
191 void setCallout(
const QgsCallout *callout )
override;
199 void minimumLengthChanged();
200 void minimumLengthUnitWidgetChanged();
201 void offsetFromAnchorUnitWidgetChanged();
202 void offsetFromAnchorChanged();
203 void offsetFromLabelUnitWidgetChanged();
204 void offsetFromLabelChanged();
205 void lineSymbolChanged();
206 void mAnchorPointComboBox_currentIndexChanged(
int index );
207 void mLabelAnchorPointComboBox_currentIndexChanged(
int index );
208 void mCalloutBlendComboBox_currentIndexChanged(
int index );
209 void drawToAllPartsToggled(
bool active );
212 std::unique_ptr<QgsCurvedLineCallout> mCallout;
218#include "ui_widget_ballooncallout.h"
222class GUI_EXPORT QgsBalloonCalloutWidget :
public QgsCalloutWidget,
private Ui::WidgetBalloonCallout
231 void setCallout(
const QgsCallout *callout )
override;
239 void offsetFromAnchorUnitWidgetChanged();
240 void offsetFromAnchorChanged();
241 void fillSymbolChanged();
242 void markerSymbolChanged();
243 void mAnchorPointComboBox_currentIndexChanged(
int index );
244 void mCalloutBlendComboBox_currentIndexChanged(
int index );
247 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.