18 #include "qwt_global.h" 
  113         PaintUsingTextFont = 1,
 
  114         PaintUsingTextColor = 2,
 
  134     QwtText(
const QString & = QString::null, 
 
  135         TextFormat textFormat = AutoText);
 
  141     int operator==(
const QwtText &) 
const;
 
  142     int operator!=(
const QwtText &) 
const;
 
  144     void setText(
const QString &, 
 
  146     QString text() 
const;
 
  149     bool isEmpty() 
const;
 
  151     void setFont(
const QFont &);
 
  154     QFont usedFont(
const QFont &) 
const;
 
  156     void setRenderFlags(
int flags);
 
  157     int renderFlags() 
const;
 
  159     void setColor(
const QColor &);
 
  160     QColor color() 
const;
 
  162     QColor usedColor(
const QColor &) 
const;
 
  164     void setBackgroundPen(
const QPen &);
 
  165     QPen backgroundPen() 
const;
 
  167     void setBackgroundBrush(
const QBrush &);
 
  168     QBrush backgroundBrush() 
const;
 
  170     void setPaintAttribute(PaintAttribute, 
bool on = 
true);
 
  171     bool testPaintAttribute(PaintAttribute) 
const;
 
  173     void setLayoutAttribute(LayoutAttribute, 
bool on = 
true);
 
  174     bool testLayoutAttribute(LayoutAttribute) 
const;
 
  176     int heightForWidth(
int width, 
const QFont & = QFont()) 
const;
 
  177     QSize textSize(
const QFont & = QFont()) 
const;
 
  179     void draw(QPainter *painter, 
const QRect &rect) 
const;
 
  192     LayoutCache *d_layoutCache;
 
  198     return text().isNull(); 
 
  204     return text().isEmpty();