15#ifndef QGSCALLOUTWIDGET_H
16#define QGSCALLOUTWIDGET_H
23#include <QStandardItemModel>
111 void updateDataDefinedProperty();
113 void createAuxiliaryField();
122#include "ui_widget_simplelinecallout.h"
129class GUI_EXPORT QgsSimpleLineCalloutWidget :
public QgsCalloutWidget,
private Ui::WidgetSimpleLineCallout
139 void setCallout(
QgsCallout *callout )
override;
147 void minimumLengthChanged();
148 void minimumLengthUnitWidgetChanged();
149 void offsetFromAnchorUnitWidgetChanged();
150 void offsetFromAnchorChanged();
151 void offsetFromLabelUnitWidgetChanged();
152 void offsetFromLabelChanged();
153 void lineSymbolChanged();
154 void mAnchorPointComboBox_currentIndexChanged(
int index );
155 void mLabelAnchorPointComboBox_currentIndexChanged(
int index );
156 void mCalloutBlendComboBox_currentIndexChanged(
int index );
157 void drawToAllPartsToggled(
bool active );
160 std::unique_ptr< QgsSimpleLineCallout > mCallout;
164class GUI_EXPORT QgsManhattanLineCalloutWidget :
public QgsSimpleLineCalloutWidget
179#include "ui_widget_curvedlinecallout.h"
183class GUI_EXPORT QgsCurvedLineCalloutWidget :
public QgsCalloutWidget,
private Ui::WidgetCurvedLineCallout
193 void setCallout(
QgsCallout *callout )
override;
201 void minimumLengthChanged();
202 void minimumLengthUnitWidgetChanged();
203 void offsetFromAnchorUnitWidgetChanged();
204 void offsetFromAnchorChanged();
205 void offsetFromLabelUnitWidgetChanged();
206 void offsetFromLabelChanged();
207 void lineSymbolChanged();
208 void mAnchorPointComboBox_currentIndexChanged(
int index );
209 void mLabelAnchorPointComboBox_currentIndexChanged(
int index );
210 void mCalloutBlendComboBox_currentIndexChanged(
int index );
211 void drawToAllPartsToggled(
bool active );
214 std::unique_ptr< QgsCurvedLineCallout > mCallout;
221#include "ui_widget_ballooncallout.h"
225class GUI_EXPORT QgsBalloonCalloutWidget :
public QgsCalloutWidget,
private Ui::WidgetBalloonCallout
235 void setCallout(
QgsCallout *callout )
override;
243 void offsetFromAnchorUnitWidgetChanged();
244 void offsetFromAnchorChanged();
245 void fillSymbolChanged();
246 void mAnchorPointComboBox_currentIndexChanged(
int index );
247 void mCalloutBlendComboBox_currentIndexChanged(
int index );
250 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.
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.