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 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
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
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;
258 #endif // QGSCALLOUTWIDGET_H