NAME

Qt::Gui::QFontMetrics

PUBLIC METHODS

QFontMetrics(const QFont & arg0)
QFontMetrics(const QFontMetrics & arg0)
QFontMetrics(const QFont & arg0, QPaintDevice * pd)
~QFontMetrics()
int ascent()
int averageCharWidth()
QRect boundingRect(QChar arg0)
QRect boundingRect(const QString & text)
QRect boundingRect(const QRect & r, int flags, const QString & text, int tabstops, int * tabarray)
QRect boundingRect(const QRect & r, int flags, const QString & text, int tabstops, int * tabarray = 0)
QRect boundingRect(const QRect & r, int flags, const QString & text, int tabstops = 0, int * tabarray = 0)
QRect boundingRect(int x, int y, int w, int h, int flags, const QString & text, int tabstops, int * tabarray)
QRect boundingRect(int x, int y, int w, int h, int flags, const QString & text, int tabstops, int * tabarray = 0)
QRect boundingRect(int x, int y, int w, int h, int flags, const QString & text, int tabstops = 0, int * tabarray = 0)
int charWidth(const QString & str, int pos)
int descent()
QString elidedText(const QString & text, Qt::TextElideMode mode, int width, int flags)
QString elidedText(const QString & text, Qt::TextElideMode mode, int width, int flags = 0)
int height()
bool inFont(QChar arg0)
int leading()
int leftBearing(QChar arg0)
int lineSpacing()
int lineWidth()
int maxWidth()
int minLeftBearing()
int minRightBearing()
bool operator!=(const QFontMetrics & other)
bool operator!=(const QFontMetrics & other)
QFontMetrics & operator=(const QFontMetrics & arg0)
bool operator==(const QFontMetrics & other)
bool operator==(const QFontMetrics & other)
int overlinePos()
int rightBearing(QChar arg0)
QSize size(int flags, const QString & str, int tabstops, int * tabarray)
QSize size(int flags, const QString & str, int tabstops, int * tabarray = 0)
QSize size(int flags, const QString & str, int tabstops = 0, int * tabarray = 0)
int strikeOutPos()
QRect tightBoundingRect(const QString & text)
int underlinePos()
int width(QChar arg0)
int width(const QString & arg0, int len)
int width(const QString & arg0, int len = -1)
int width(const QString & arg0, int len, int flags)
int xHeight()

ENUM VALUES

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html