16#ifndef QGSTEXTFORMAT_H 
   17#define QGSTEXTFORMAT_H 
   29#include <QSharedDataPointer> 
   32class QgsTextSettingsPrivate;
 
  196    void setFont( 
const QFont &font );
 
  203    QString namedStyle() 
const;
 
  211    void setNamedStyle( 
const QString &style );
 
  224    bool forcedBold() 
const;
 
  237    void setForcedBold( 
bool forced );
 
  250    bool forcedItalic() 
const;
 
  263    void setForcedItalic( 
bool forced );
 
  274    QStringList families() 
const;
 
  289    void setFamilies( 
const QStringList &families );
 
  304    void setSize( 
double size );
 
  343    QColor color() 
const;
 
  350    void setColor( 
const QColor &color );
 
  357    double opacity() 
const;
 
  367    void multiplyOpacity( 
double opacityFactor );
 
  375    void setOpacity( 
double opacity );
 
  389    int stretchFactor() 
const;
 
  403    void setStretchFactor( 
int factor );
 
  409    QPainter::CompositionMode blendMode() 
const;
 
  416    void setBlendMode( QPainter::CompositionMode mode );
 
  428    double lineHeight() 
const;
 
  440    void setLineHeight( 
double height );
 
  473    double tabStopDistance() 
const;
 
  488    void setTabStopDistance( 
double distance );
 
  502        explicit Tab( 
double position );
 
  524        SIP_PYOBJECT __repr__();
 
  526        const QString str = QStringLiteral( 
"<QgsTextFormat.Tab: %1>" ).arg( sipCpp->position() );
 
  527        sipRes = PyUnicode_FromString( str.toUtf8().constData() );
 
  533        double mPosition = 0;
 
 
  551    QList< QgsTextFormat::Tab > tabPositions() 
const;
 
  566    void setTabPositions( 
const QList< QgsTextFormat::Tab > &positions );
 
  656    bool allowHtmlFormatting() 
const;
 
  672    void setAllowHtmlFormatting( 
bool allow );
 
  679    QColor previewBackgroundColor() 
const;
 
  686    void setPreviewBackgroundColor( 
const QColor &color );
 
  729    QFont toQFont() const;
 
  742    bool containsAdvancedEffects() const;
 
  751    bool hasNonDefaultCompositionMode() const;
 
  758    bool fontFound()
 const { 
return mTextFontFound; }
 
  823    QString asCSS( 
double pointToPixelMultiplier = 1.0 ) const;
 
  832    QString mTextFontFamily;
 
  833    bool mTextFontFound = true;
 
  835    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 an integer key value.
 
A container for the context for various read/write operations on 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.
 
Defines a tab position for a text format.
 
double position() const
Returns the tab position.
 
void setPosition(double position)
Sets the tab position.
 
bool operator==(const QgsTextFormat::Tab &other) const
 
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 dataset.
 
bool qgsDoubleNear(double a, double b, double epsilon=4 *std::numeric_limits< double >::epsilon())
Compare two doubles (but allow some difference)
 
Q_DECLARE_METATYPE(QgsDatabaseQueryLogEntry)
 
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
 
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)