45 #include <QtGui/qfont.h> 46 #include <QtCore/qsharedpointer.h> 57 QFontInfo(
const QFont &);
58 QFontInfo(
const QFontInfo &);
61 QFontInfo &operator=(
const QFontInfo &);
67 qreal pointSizeF()
const;
72 bool underline()
const;
73 bool overline()
const;
74 bool strikeOut()
const;
75 bool fixedPitch()
const;
79 bool exactMatch()
const;
#define QT_END_NAMESPACE
This macro expands to.
The QString class provides a Unicode character string.
#define QT_BEGIN_NAMESPACE
This macro expands to.
static float pixelSize(const QFontDef &request, int dpi)
bool bold() const
Returns true if weight() would return a value greater than QFont::Normal; otherwise returns false...
const char * styleHint(const QFontDef &request)
The QFontInfo class provides general information about fonts.
Style
This enum describes the different styles of glyphs that are used to display text. ...
StyleHint
Style hints are used by the font matching algorithm to find an appropriate default family if a select...
The QFont class specifies a font used for drawing text.
QExplicitlySharedDataPointer< QFontPrivate > d
static float pointSize(const QFontDef &fd, int dpi)