15 #ifndef QGSCALLOUTWIDGET_H 16 #define QGSCALLOUTWIDGET_H 23 #include <QStandardItemModel> 54 virtual void setCallout(
QgsCallout *callout ) = 0;
111 void updateDataDefinedProperty();
113 void createAuxiliaryField();
122 #include "ui_widget_simplelinecallout.h" 129 class GUI_EXPORT QgsSimpleLineCalloutWidget :
public QgsCalloutWidget,
private Ui::WidgetSimpleLineCallout
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 drawToAllPartsToggled(
bool active );
158 std::unique_ptr< QgsSimpleLineCallout > mCallout;
162 class GUI_EXPORT QgsManhattanLineCalloutWidget :
public QgsSimpleLineCalloutWidget
177 #endif // QGSCALLOUTWIDGET_H
Abstract base class for callout renderers.
Property
Data definable properties.
Map canvas is a class for displaying all GIS data types on a canvas.
virtual QgsExpressionContext createExpressionContext() const =0
This method needs to be reimplemented in all classes which implement this interface and return an exp...
Contains settings which reflect the context in which a symbol (or renderer) widget is shown...
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
A simple direct line callout style.
Abstract interface for generating an expression context.
GeometryType
The geometry types are used to group QgsWkbTypes::Type in a coarse way.
Represents a vector layer which manages a vector based data sets.