13 #include "qwt_global.h" 
  110         PaintUsingTextFont = 0x01,
 
  113         PaintUsingTextColor = 0x02,
 
  116         PaintBackground = 0x04
 
  140     QwtText( 
const QString & = QString::null,
 
  147     bool operator==( 
const QwtText & ) 
const;
 
  148     bool operator!=( 
const QwtText & ) 
const;
 
  150     void setText( 
const QString &,
 
  152     QString text() 
const;
 
  155     bool isEmpty() 
const;
 
  157     void setFont( 
const QFont & );
 
  160     QFont usedFont( 
const QFont & ) 
const;
 
  162     void setRenderFlags( 
int flags );
 
  163     int renderFlags() 
const;
 
  165     void setColor( 
const QColor & );
 
  166     QColor color() 
const;
 
  168     QColor usedColor( 
const QColor & ) 
const;
 
  170     void setBackgroundPen( 
const QPen & );
 
  171     QPen backgroundPen() 
const;
 
  173     void setBackgroundBrush( 
const QBrush & );
 
  174     QBrush backgroundBrush() 
const;
 
  182     double heightForWidth( 
double width, 
const QFont & = QFont() ) 
const;
 
  183     QSizeF textSize( 
const QFont & = QFont() ) 
const;
 
  185     void draw( QPainter *painter, 
const QRectF &rect ) 
const;
 
  198     LayoutCache *d_layoutCache;
 
  204     return text().isNull();
 
  210     return text().isEmpty();
 
  214 Q_DECLARE_OPERATORS_FOR_FLAGS( 
QwtText::LayoutAttributes )