16#ifndef QGSTEXTFORMAT_H
17#define QGSTEXTFORMAT_H
29#include <QSharedDataPointer>
32class QgsTextSettingsPrivate;
201 void setFont(
const QFont &font );
208 QString namedStyle()
const;
216 void setNamedStyle(
const QString &style );
229 bool forcedBold()
const;
242 void setForcedBold(
bool forced );
255 bool forcedItalic()
const;
268 void setForcedItalic(
bool forced );
279 QStringList families()
const;
294 void setFamilies(
const QStringList &families );
309 void setSize(
double size );
348 QColor color()
const;
355 void setColor(
const QColor &color );
362 double opacity()
const;
372 void multiplyOpacity(
double opacityFactor );
380 void setOpacity(
double opacity );
394 int stretchFactor()
const;
408 void setStretchFactor(
int factor );
414 QPainter::CompositionMode blendMode()
const;
421 void setBlendMode( QPainter::CompositionMode mode );
433 double lineHeight()
const;
445 void setLineHeight(
double height );
511 bool allowHtmlFormatting()
const;
527 void setAllowHtmlFormatting(
bool allow );
534 QColor previewBackgroundColor()
const;
541 void setPreviewBackgroundColor(
const QColor &color );
584 QFont toQFont() const;
597 bool containsAdvancedEffects() const;
604 bool fontFound()
const {
return mTextFontFound; }
669 QString asCSS(
double pointToPixelMultiplier = 1.0 ) const;
678 QString mTextFontFamily;
679 bool mTextFontFound = true;
681 QSharedDataPointer<QgsTextSettingsPrivate> d;
Capitalization
String capitalization options.
TextOrientation
Text orientations.
RenderUnit
Rendering size units.
Struct for storing maximum and minimum scales for measurements in map units.
A grouped map of multiple QgsProperty objects, each referenced by a integer key value.
The class is used as a container of context for various read/write operations on other objects.
Contains information about the context of a rendering operation.
Stores properties relating to a screen.
Container for settings relating to a text background object.
Container for settings relating to a text buffer.
Container for all settings relating to text rendering.
QgsTextBufferSettings buffer() const
Returns a reference to the text buffer settings.
QString resolvedFontFamily() const
Returns the family for the resolved font, ie if the specified font was not found on the system this w...
QgsTextMaskSettings mask() const
Returns a reference to the masking settings.
QgsTextBackgroundSettings background() const
Returns a reference to the text background settings.
QgsTextShadowSettings shadow() const
Returns a reference to the text drop shadow settings.
Container for settings relating to a selective masking around a text.
Container for settings relating to a text shadow.
Represents a vector layer which manages a vector based data sets.
Q_DECLARE_METATYPE(QgsDatabaseQueryLogEntry)
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)