16 #ifndef QGSTEXTCHARACTERFORMAT_H 
   17 #define QGSTEXTCHARACTERFORMAT_H 
   20 #include "qgis_core.h" 
   25 class QTextCharFormat;
 
   67     QColor textColor() 
const;
 
   77     void setTextColor( 
const QColor &textColor );
 
   87     int fontWeight() 
const;
 
   97     void setFontWeight( 
int fontWeight );
 
  104     BooleanValue italic() 
const;
 
  111     void setItalic( BooleanValue enabled );
 
  119     BooleanValue strikeOut() 
const;
 
  126     void setStrikeOut( BooleanValue enabled );
 
  133     BooleanValue underline() 
const;
 
  140     void setUnderline( BooleanValue enabled );
 
  147     BooleanValue overline() 
const;
 
  154     void setOverline( BooleanValue enabled );
 
  165     void updateFontForFormat( QFont &font, 
double scaleFactor = 1.0 ) 
const;
 
  172     int mFontWeight = -1;
 
  173     BooleanValue mItalic = BooleanValue::NotSet;
 
  174     double mFontPointSize = -1;
 
  178     BooleanValue mStrikethrough = BooleanValue::NotSet;
 
  179     BooleanValue mUnderline = BooleanValue::NotSet;
 
  180     BooleanValue mOverline = BooleanValue::NotSet;
 
Stores information relating to individual character formatting.
QgsTextCharacterFormat()=default
Constructor for QgsTextCharacterFormat.
BooleanValue
Status values for boolean format properties.