#include <qfont.h>
Definition at line 64 of file qfont.h.
|
| enum | StyleHint {
Helvetica,
SansSerif = Helvetica,
Times,
Serif = Times,
Courier,
TypeWriter = Courier,
OldEnglish,
Decorative = OldEnglish,
System,
AnyStyle,
Cursive,
Monospace,
Fantasy
} |
| |
| enum | StyleStrategy {
PreferDefault = 0x0001,
PreferBitmap = 0x0002,
PreferDevice = 0x0004,
PreferOutline = 0x0008,
ForceOutline = 0x0010,
PreferMatch = 0x0020,
PreferQuality = 0x0040,
PreferAntialias = 0x0080,
NoAntialias = 0x0100,
OpenGLCompatible = 0x0200,
ForceIntegerMetrics = 0x0400,
NoFontMerging = 0x8000
} |
| |
| enum | HintingPreference { PreferDefaultHinting = 0,
PreferNoHinting = 1,
PreferVerticalHinting = 2,
PreferFullHinting = 3
} |
| |
| enum | Weight {
Light = 25,
Normal = 50,
DemiBold = 63,
Bold = 75,
Black = 87
} |
| |
| enum | Style { StyleNormal,
StyleItalic,
StyleOblique
} |
| |
| enum | Stretch {
UltraCondensed = 50,
ExtraCondensed = 62,
Condensed = 75,
SemiCondensed = 87,
Unstretched = 100,
SemiExpanded = 112,
Expanded = 125,
ExtraExpanded = 150,
UltraExpanded = 200
} |
| |
| enum | Capitalization {
MixedCase,
AllUppercase,
AllLowercase,
SmallCaps,
Capitalize
} |
| |
| enum | SpacingType { PercentageSpacing,
AbsoluteSpacing
} |
| |
| enum | ResolveProperties {
FamilyResolved = 0x0001,
SizeResolved = 0x0002,
StyleHintResolved = 0x0004,
StyleStrategyResolved = 0x0008,
WeightResolved = 0x0010,
StyleResolved = 0x0020,
UnderlineResolved = 0x0040,
OverlineResolved = 0x0080,
StrikeOutResolved = 0x0100,
FixedPitchResolved = 0x0200,
StretchResolved = 0x0400,
KerningResolved = 0x0800,
CapitalizationResolved = 0x1000,
LetterSpacingResolved = 0x2000,
WordSpacingResolved = 0x4000,
HintingPreferenceResolved = 0x8000,
StyleNameResolved = 0x10000,
AllPropertiesResolved = 0x1ffff
} |
| |
| Enumerator |
|---|
| Helvetica |
|
| SansSerif |
|
| Times |
|
| Serif |
|
| Courier |
|
| TypeWriter |
|
| OldEnglish |
|
| Decorative |
|
| System |
|
| AnyStyle |
|
| Cursive |
|
| Monospace |
|
| Fantasy |
|
Definition at line 69 of file qfont.h.
| Enumerator |
|---|
| PreferDefault |
|
| PreferBitmap |
|
| PreferDevice |
|
| PreferOutline |
|
| ForceOutline |
|
| PreferMatch |
|
| PreferQuality |
|
| PreferAntialias |
|
| NoAntialias |
|
| OpenGLCompatible |
|
| ForceIntegerMetrics |
|
| NoFontMerging |
|
Definition at line 81 of file qfont.h.
| Enumerator |
|---|
| PreferDefaultHinting |
|
| PreferNoHinting |
|
| PreferVerticalHinting |
|
| PreferFullHinting |
|
Definition at line 96 of file qfont.h.
| Enumerator |
|---|
| Light |
|
| Normal |
|
| DemiBold |
|
| Bold |
|
| Black |
|
Definition at line 103 of file qfont.h.
| Enumerator |
|---|
| StyleNormal |
|
| StyleItalic |
|
| StyleOblique |
|
Definition at line 111 of file qfont.h.
| Enumerator |
|---|
| UltraCondensed |
|
| ExtraCondensed |
|
| Condensed |
|
| SemiCondensed |
|
| Unstretched |
|
| SemiExpanded |
|
| Expanded |
|
| ExtraExpanded |
|
| UltraExpanded |
|
Definition at line 117 of file qfont.h.
| Enumerator |
|---|
| MixedCase |
|
| AllUppercase |
|
| AllLowercase |
|
| SmallCaps |
|
| Capitalize |
|
Definition at line 129 of file qfont.h.
| Enumerator |
|---|
| PercentageSpacing |
|
| AbsoluteSpacing |
|
Definition at line 137 of file qfont.h.
| Enumerator |
|---|
| FamilyResolved |
|
| SizeResolved |
|
| StyleHintResolved |
|
| StyleStrategyResolved |
|
| WeightResolved |
|
| StyleResolved |
|
| UnderlineResolved |
|
| OverlineResolved |
|
| StrikeOutResolved |
|
| FixedPitchResolved |
|
| StretchResolved |
|
| KerningResolved |
|
| CapitalizationResolved |
|
| LetterSpacingResolved |
|
| WordSpacingResolved |
|
| HintingPreferenceResolved |
|
| StyleNameResolved |
|
| AllPropertiesResolved |
|
Definition at line 142 of file qfont.h.
| QFont |
( |
const QString & |
family, |
|
|
int |
pointSize = -1, |
|
|
int |
weight = -1, |
|
|
bool |
italic = false |
|
) |
| |
| qreal pointSizeF |
( |
| ) |
const |
| void setPointSizeF |
( |
qreal |
| ) |
|
| void setBold |
( |
bool |
enable | ) |
|
|
inline |
Definition at line 360 of file qfont.h.
void setStyle(Style style)
| void setUnderline |
( |
bool |
| ) |
|
| void setOverline |
( |
bool |
| ) |
|
| void setStrikeOut |
( |
bool |
| ) |
|
| bool fixedPitch |
( |
| ) |
const |
| void setFixedPitch |
( |
bool |
| ) |
|
| qreal letterSpacing |
( |
| ) |
const |
| qreal wordSpacing |
( |
| ) |
const |
| void setWordSpacing |
( |
qreal |
spacing | ) |
|
| bool exactMatch |
( |
| ) |
const |
| bool operator== |
( |
const QFont & |
| ) |
const |
| bool operator!= |
( |
const QFont & |
| ) |
const |
| bool operator< |
( |
const QFont & |
| ) |
const |
| bool isCopyOf |
( |
const QFont & |
| ) |
const |
| bool fromString |
( |
const QString & |
| ) |
|
| static void initialize |
( |
| ) |
|
|
static |
| static void cacheStatistics |
( |
| ) |
|
|
static |
Definition at line 287 of file qfont.h.
287 {
return resolve_mask; }
| void resolve |
( |
uint |
mask | ) |
|
|
inline |
| friend class QFontPrivate |
|
friend |
| friend class QFontDialogPrivate |
|
friend |
| friend class QPainterPrivate |
|
friend |
| friend class QPSPrintEngineFont |
|
friend |
| friend class QWidgetPrivate |
|
friend |
| friend class Q3TextFormatCollection |
|
friend |
| friend class QStackTextEngine |
|
friend |
| friend struct QScriptLine |
|
friend |
| friend class QWin32PaintEngine |
|
friend |
| friend class QAlphaPaintEngine |
|
friend |
| friend class QTextItemInt |
|
friend |
| friend class QPicturePaintEngine |
|
friend |
| friend class QPainterReplayer |
|
friend |
| friend class QPaintBufferEngine |
|
friend |
| friend class QCommandLinkButtonPrivate |
|
friend |
The documentation for this class was generated from the following file: