QFontEngineInfo Class ReferenceThe QFontEngineInfo class describes a specific font provided by a font engine plugin. More... #include <QFontEngineInfo> This class is under development and is subject to change. This class was introduced in Qt 4.3. Properties
Public Functions
Detailed DescriptionThe QFontEngineInfo class describes a specific font provided by a font engine plugin. QFontEngineInfo is used to describe a request of a font to a font engine plugin as well as to describe the actual fonts a plugin provides. See also QAbstractFontEngine and QFontEnginePlugin. Property Documentation
|
QString | family () const |
void | setFamily ( const QString & name ) |
the pixel size of the font
A pixel size of 0 represents a freely scalable font.
Access functions:
qreal | pixelSize () const |
void | setPixelSize ( qreal size ) |
the style of the font
Access functions:
QFont::Style | style () const |
void | setStyle ( QFont::Style style ) |
the weight of the font
The value should be from the QFont::Weight enumeration.
Access functions:
int | weight () const |
void | setWeight ( int weight ) |
the writing systems supported by the font
An empty list means that any writing system is supported.
Access functions:
QList<QFontDatabase::WritingSystem> | writingSystems () const |
void | setWritingSystems ( const QList<QFontDatabase::WritingSystem> & writingSystems ) |
Constructs a new empty QFontEngineInfo.
Constructs a new QFontEngineInfo with the specified family. The resulting object represents a freely scalable font with normal weight and style.
Creates a new font engine info object with the same attributes as other.
Destroys this QFontEngineInfo object.
Assigns other to this font engine info object, and returns a reference to this.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.