Qt:Документация 4.3.2/qfontengineinfo
Материал из Wiki.crossplatform.ru
![]() | Внимание: Актуальная версия перевода документации находится здесь |
__NOTOC__
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции |
[править] QFontEngineInfo Class Reference
[модуль QtGui ]
The QFontEngineInfo class describes a specific font provided by a font engine plugin. Далее...
#include <QFontEngineInfo>
This class is under development and is subject to change.
Класс был добавлен в Qt 4.3.
[править] Свойства
|
[править] Открытые функции
- QFontEngineInfo ()
- QFontEngineInfo ( const QString & family )
- QFontEngineInfo ( const QFontEngineInfo & other )
- ~QFontEngineInfo ()
- QString family () const
- qreal pixelSize () const
- void setFamily ( const QString & name )
- void setPixelSize ( qreal size )
- void setStyle ( QFont::Style style )
- void setWeight ( int weight )
- void setWritingSystems ( const QList<QFontDatabase::WritingSystem> & writingSystems )
- QFont::Style style () const
- int weight () const
- QList<QFontDatabase::WritingSystem> writingSystems () const
- QFontEngineInfo & operator= ( const QFontEngineInfo & other )
[править] Подробное описание
The 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.
[править] Описание cвойств
[править] family : QString
the family name of the font
Функции доступа:
- QString family () const
- void setFamily ( const QString & name )
[править] pixelSize : qreal
the pixel size of the font
A pixel size of 0 represents a freely scalable font.
Функции доступа:
- qreal pixelSize () const
- void setPixelSize ( qreal size )
[править] style : QFont::Style
the style of the font
Функции доступа:
- QFont::Style style () const
- void setStyle ( QFont::Style style )
[править] weight : int
the weight of the font
The value should be from the QFont::Weight enumeration.
Функции доступа:
- int weight () const
- void setWeight ( int weight )
[править] writingSystems : QList< QFontDatabase::WritingSystem>
the writing systems supported by the font
An empty list means that any writing system is supported.
Функции доступа:
- QList<QFontDatabase::WritingSystem> writingSystems () const
- void setWritingSystems ( const QList<QFontDatabase::WritingSystem> & writingSystems )
[править] Описание функций-членов
[править] QFontEngineInfo::QFontEngineInfo ()
Constructs a new empty QFontEngineInfo.
[править] QFontEngineInfo::QFontEngineInfo ( const QString & family )
Constructs a new QFontEngineInfo with the specified family. The resulting object represents a freely scalable font with normal weight and style.
[править] QFontEngineInfo::QFontEngineInfo ( const QFontEngineInfo & other )
Creates a new font engine info object with the same attributes as other.
[править] QFontEngineInfo::~QFontEngineInfo ()
Destroys this QFontEngineInfo object.
[править] QFontEngineInfo & QFontEngineInfo::operator= ( const QFontEngineInfo & other )
Assigns other to this font engine info object, and returns a reference to this.
Copyright © 2007 Trolltech | Trademarks | Qt 4.3.2
|