313#include "moc_qquickfontmetrics_p.cpp"
\reentrant \inmodule QtGui
qreal height() const
Returns the height of the font.
qreal leading() const
Returns the leading of the font.
qreal ascent() const
Returns the ascent of the font.
QRectF boundingRect(const QString &string) const
Returns the bounding rectangle of the characters in the string specified by text.
qreal strikeOutPos() const
Returns the distance from the base line to where the strikeout line should be drawn.
qreal horizontalAdvance(const QString &string, int length=-1) const
Returns the horizontal advance in pixels of the first length characters of text.
qreal lineSpacing() const
Returns the distance from one base line to the next.
qreal averageCharWidth() const
qreal descent() const
Returns the descent of the font.
qreal xHeight() const
Returns the 'x' height of the font.
qreal lineWidth() const
Returns the width of the underline and strikeout lines, adjusted for the point size of the font.
qreal underlinePos() const
Returns the distance from the base line to where an underscore should be drawn.
QRectF tightBoundingRect(const QString &text) const
qreal minRightBearing() const
Returns the minimum right bearing of the font.
qreal overlinePos() const
Returns the distance from the base line to where an overline should be drawn.
QString elidedText(const QString &text, Qt::TextElideMode mode, qreal width, int flags=0) const
qreal minLeftBearing() const
Returns the minimum left bearing of the font.
qreal maxWidth() const
Returns the width of the widest character in the font.
void fontChanged(const QFont &font)
qreal maximumCharacterWidth
Q_INVOKABLE qreal advanceWidth(const QString &text) const
\qmlmethod qreal QtQuick::FontMetrics::advanceWidth(string text)
Q_INVOKABLE QRectF boundingRect(const QString &text) const
\qmlmethod rect QtQuick::FontMetrics::boundingRect(string text)
qreal averageCharacterWidth
Q_INVOKABLE QRectF tightBoundingRect(const QString &text) const
\qmlmethod rect QtQuick::FontMetrics::tightBoundingRect(string text)
Q_INVOKABLE QString elidedText(const QString &text, Qt::TextElideMode mode, qreal width, int flags=0) const
\qmlmethod string QtQuick::FontMetrics::elidedText(string text, enumeration mode, real width,...
QQuickFontMetrics(QObject *parent=nullptr)
\qmltype FontMetrics \instantiates QQuickFontMetrics \inqmlmodule QtQuick
void setFont(const QFont &font)
qreal minimumRightBearing
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent