15 #ifndef QGSCALLOUTWIDGET_H 
   16 #define QGSCALLOUTWIDGET_H 
   23 #include <QStandardItemModel> 
  111     void updateDataDefinedProperty();
 
  113     void createAuxiliaryField();
 
  122 #include "ui_widget_simplelinecallout.h" 
  129 class 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;
 
  164 class GUI_EXPORT QgsManhattanLineCalloutWidget : 
public QgsSimpleLineCalloutWidget
 
  179 #include "ui_widget_curvedlinecallout.h" 
  184 class GUI_EXPORT QgsCurvedLineCalloutWidget : 
public QgsCalloutWidget, 
private Ui::WidgetCurvedLineCallout
 
  194     void setCallout( 
QgsCallout *callout ) 
override;
 
  202     void minimumLengthChanged();
 
  203     void minimumLengthUnitWidgetChanged();
 
  204     void offsetFromAnchorUnitWidgetChanged();
 
  205     void offsetFromAnchorChanged();
 
  206     void offsetFromLabelUnitWidgetChanged();
 
  207     void offsetFromLabelChanged();
 
  208     void lineSymbolChanged();
 
  209     void mAnchorPointComboBox_currentIndexChanged( 
int index );
 
  210     void mLabelAnchorPointComboBox_currentIndexChanged( 
int index );
 
  211     void mCalloutBlendComboBox_currentIndexChanged( 
int index );
 
  212     void drawToAllPartsToggled( 
bool active );
 
  215     std::unique_ptr< QgsCurvedLineCallout > mCallout;
 
  222 #include "ui_widget_ballooncallout.h" 
  226 class GUI_EXPORT QgsBalloonCalloutWidget : 
public QgsCalloutWidget, 
private Ui::WidgetBalloonCallout
 
  236     void setCallout( 
QgsCallout *callout ) 
override;
 
  244     void offsetFromAnchorUnitWidgetChanged();
 
  245     void offsetFromAnchorChanged();
 
  246     void fillSymbolChanged();
 
  247     void mAnchorPointComboBox_currentIndexChanged( 
int index );
 
  248     void mCalloutBlendComboBox_currentIndexChanged( 
int index );
 
  251     std::unique_ptr< QgsBalloonCallout > mCallout;
 
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.
GeometryType
The geometry types are used to group QgsWkbTypes::Type in a coarse way.