QString elidedText(const QString &text, Qt::TextElideMode mode, int width, int flags) const const
void drawText(const QPointF &position, const QString &text)
void draw(QPainter *painter, const QPointF &position, const QTextLayout::FormatRange *selection) const const
bool isValid() const const
void setLineWidth(qreal width)
int textStart() const const