8 changes: 8 additions & 0 deletions src/core/qgsvectorlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -1394,6 +1394,11 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
void committedAttributeValuesChanges( const QString& layerId, const QgsChangedAttributesMap& changedAttributesValues );
void committedGeometriesChanges( const QString& layerId, const QgsGeometryMap& changedGeometries );

/** Emitted when the font family defined for labeling layer is not found on system
* @note added in 1.9
*/
void labelingFontNotFound( QgsVectorLayer* layer, const QString& fontfamily );

protected:
/** Set the extent */
void setExtent( const QgsRectangle &rect );
Expand Down Expand Up @@ -1516,6 +1521,9 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
/** Display labels */
bool mLabelOn;

/** Whether 'labeling font not found' has be shown for this layer (only show once in QgsMessageBar, on first rendering) */
bool mLabelFontNotFoundNotified;

/** Blend mode for features */
QPainter::CompositionMode mFeatureBlendMode;

Expand Down
190 changes: 94 additions & 96 deletions src/ui/qgslabelingguibase.ui

Large diffs are not rendered by default.