42 #ifndef QFONTDATABASE_H 43 #define QFONTDATABASE_H 45 #include <QtGui/qwindowdefs.h> 46 #include <QtCore/qstring.h> 47 #include <QtGui/qfont.h> 49 #include <QtCore/qstringlist.h> 50 #include <QtCore/qlist.h> 60 template <
class T>
class QList;
141 bool hasFamily(
const QString &family)
const;
147 static int addApplicationFontFromData(
const QByteArray &fontData);
148 static QStringList applicationFontFamilies(
int id);
149 static bool removeApplicationFont(
int id);
150 static bool removeAllApplicationFonts();
152 static bool supportsThreadedFontRendering();
155 static void createDatabase();
158 #if defined(Q_WS_QWS) || defined(Q_WS_QPA) || defined(Q_OS_SYMBIAN) 172 friend class QFontEngineMultiS60;
182 #endif // QFONTDATABASE_H
#define QT_END_NAMESPACE
This macro expands to.
The QByteArray class provides an array of bytes.
static bool isScalable(char **tokens)
The QString class provides a Unicode character string.
static void parseFontName(const QString &name, QString &foundry, QString &family)
This makes sense of the font family name:
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QFontDatabase class provides information about the fonts available in the underlying window syste...
The QStringList class provides a list of strings.
The QFontDialog class provides a dialog widget for selecting a font.
The QFontInfo class provides general information about fonts.
Q_CORE_EXPORT int QT_FASTCALL script(uint ucs4)
static bool isSmoothlyScalable(char **tokens)
The QFont class specifies a font used for drawing text.
static QString fileName(const QString &fileUrl)
static float pointSize(const QFontDef &fd, int dpi)
static bool isFixedPitch(char **tokens)
The QList class is a template class that provides lists.