NAME

Qt::Gui::QFontDatabase

PUBLIC METHODS

QFontDatabase()
static int addApplicationFont(const QString & fileName)
static int addApplicationFontFromData(const QByteArray & fontData)
static QStringList applicationFontFamilies(int id)
bool bold(const QString & family, const QString & style)
QStringList families(QFontDatabase::WritingSystem writingSystem = QFontDatabase::Any)
QStringList families(QFontDatabase::WritingSystem writingSystem)
QFont font(const QString & family, const QString & style, int pointSize)
bool isBitmapScalable(const QString & family, const QString & style = QString())
bool isBitmapScalable(const QString & family, const QString & style)
bool isFixedPitch(const QString & family, const QString & style = QString())
bool isFixedPitch(const QString & family, const QString & style)
bool isScalable(const QString & family, const QString & style = QString())
bool isScalable(const QString & family, const QString & style)
bool isSmoothlyScalable(const QString & family, const QString & style = QString())
bool isSmoothlyScalable(const QString & family, const QString & style)
bool italic(const QString & family, const QString & style)
static bool removeAllApplicationFonts()
static bool removeApplicationFont(int id)
QString styleString(const QFont & font)
QString styleString(const QFontInfo & fontInfo)
QStringList styles(const QString & family)
static bool supportsThreadedFontRendering()
int weight(const QString & family, const QString & style)
static QString writingSystemName(QFontDatabase::WritingSystem writingSystem)
static QString writingSystemSample(QFontDatabase::WritingSystem writingSystem)

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 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