@NoOffset @Properties(inherit=Qt5Gui.class) public class QFont extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
AbsoluteSpacing
enum QFont::SpacingType
|
static int |
AllLowercase
enum QFont::Capitalization
|
static int |
AllPropertiesResolved
enum QFont::ResolveProperties
|
static int |
AllUppercase
enum QFont::Capitalization
|
static int |
AnyStretch
enum QFont::Stretch
|
static int |
AnyStyle
enum QFont::StyleHint
|
static int |
Black
enum QFont::Weight
|
static int |
Bold
enum QFont::Weight
|
static int |
CapitalizationResolved
enum QFont::ResolveProperties
|
static int |
Capitalize
enum QFont::Capitalization
|
static int |
Condensed
enum QFont::Stretch
|
static int |
Courier
enum QFont::StyleHint
|
static int |
Cursive
enum QFont::StyleHint
|
static int |
Decorative
enum QFont::StyleHint
|
static int |
DemiBold
enum QFont::Weight
|
static int |
Expanded
enum QFont::Stretch
|
static int |
ExtraBold
enum QFont::Weight
|
static int |
ExtraCondensed
enum QFont::Stretch
|
static int |
ExtraExpanded
enum QFont::Stretch
|
static int |
ExtraLight
enum QFont::Weight
|
static int |
FamiliesResolved
enum QFont::ResolveProperties
|
static int |
FamilyResolved
enum QFont::ResolveProperties
|
static int |
Fantasy
enum QFont::StyleHint
|
static int |
FixedPitchResolved
enum QFont::ResolveProperties
|
static int |
ForceIntegerMetrics
enum QFont::StyleStrategy
|
static int |
ForceOutline
enum QFont::StyleStrategy
|
static int |
Helvetica
enum QFont::StyleHint
|
static int |
HintingPreferenceResolved
enum QFont::ResolveProperties
|
static int |
KerningResolved
enum QFont::ResolveProperties
|
static int |
LetterSpacingResolved
enum QFont::ResolveProperties
|
static int |
Light
enum QFont::Weight
|
static int |
Medium
enum QFont::Weight
|
static int |
MixedCase
enum QFont::Capitalization
|
static int |
Monospace
enum QFont::StyleHint
|
static int |
NoAntialias
enum QFont::StyleStrategy
|
static int |
NoFontMerging
enum QFont::StyleStrategy
|
static int |
NoPropertiesResolved
enum QFont::ResolveProperties
|
static int |
Normal
enum QFont::Weight
|
static int |
NoSubpixelAntialias
enum QFont::StyleStrategy
|
static int |
OldEnglish
enum QFont::StyleHint
|
static int |
OpenGLCompatible
enum QFont::StyleStrategy
|
static int |
OverlineResolved
enum QFont::ResolveProperties
|
static int |
PercentageSpacing
enum QFont::SpacingType
|
static int |
PreferAntialias
enum QFont::StyleStrategy
|
static int |
PreferBitmap
enum QFont::StyleStrategy
|
static int |
PreferDefault
enum QFont::StyleStrategy
|
static int |
PreferDefaultHinting
enum QFont::HintingPreference
|
static int |
PreferDevice
enum QFont::StyleStrategy
|
static int |
PreferFullHinting
enum QFont::HintingPreference
|
static int |
PreferMatch
enum QFont::StyleStrategy
|
static int |
PreferNoHinting
enum QFont::HintingPreference
|
static int |
PreferNoShaping
enum QFont::StyleStrategy
|
static int |
PreferOutline
enum QFont::StyleStrategy
|
static int |
PreferQuality
enum QFont::StyleStrategy
|
static int |
PreferVerticalHinting
enum QFont::HintingPreference
|
static int |
SansSerif
enum QFont::StyleHint
|
static int |
SemiCondensed
enum QFont::Stretch
|
static int |
SemiExpanded
enum QFont::Stretch
|
static int |
Serif
enum QFont::StyleHint
|
static int |
SizeResolved
enum QFont::ResolveProperties
|
static int |
SmallCaps
enum QFont::Capitalization
|
static int |
StretchResolved
enum QFont::ResolveProperties
|
static int |
StrikeOutResolved
enum QFont::ResolveProperties
|
static int |
StyleHintResolved
enum QFont::ResolveProperties
|
static int |
StyleItalic
enum QFont::Style
|
static int |
StyleNameResolved
enum QFont::ResolveProperties
|
static int |
StyleNormal
enum QFont::Style
|
static int |
StyleOblique
enum QFont::Style
|
static int |
StyleResolved
enum QFont::ResolveProperties
|
static int |
StyleStrategyResolved
enum QFont::ResolveProperties
|
static int |
System
enum QFont::StyleHint
|
static int |
Thin
enum QFont::Weight
|
static int |
Times
enum QFont::StyleHint
|
static int |
TypeWriter
enum QFont::StyleHint
|
static int |
UltraCondensed
enum QFont::Stretch
|
static int |
UltraExpanded
enum QFont::Stretch
|
static int |
UnderlineResolved
enum QFont::ResolveProperties
|
static int |
Unstretched
enum QFont::Stretch
|
static int |
WeightResolved
enum QFont::ResolveProperties
|
static int |
WordSpacingResolved
enum QFont::ResolveProperties
|
Constructor and Description |
---|
QFont() |
QFont(long size)
Native array allocator.
|
QFont(Pointer p)
Pointer cast constructor.
|
QFont(QFont font) |
QFont(QFont font,
Qt5Gui.QPaintDevice pd) |
QFont(QString family) |
QFont(QString family,
int pointSize,
int weight,
boolean italic) |
Modifier and Type | Method and Description |
---|---|
QVariant |
asQVariant() |
boolean |
bold() |
static void |
cacheStatistics() |
int |
capitalization() |
static void |
cleanup() |
QString |
defaultFamily() |
boolean |
equals(QFont arg0) |
boolean |
exactMatch() |
QString |
family() |
boolean |
fixedPitch() |
boolean |
fromString(QString arg0) |
int |
hintingPreference() |
static void |
initialize() |
static void |
insertSubstitution(QString arg0,
QString arg1) |
boolean |
isCopyOf(QFont arg0) |
boolean |
italic() |
boolean |
kerning() |
QString |
key() |
boolean |
lessThan(QFont arg0) |
double |
letterSpacing() |
int |
letterSpacingType() |
boolean |
notEquals(QFont arg0) |
boolean |
overline() |
int |
pixelSize() |
int |
pointSize() |
double |
pointSizeF() |
QFont |
position(long position) |
QFont |
put(QFont arg0) |
boolean |
rawMode() |
QString |
rawName()
Deprecated.
|
static void |
removeSubstitutions(QString arg0) |
void |
setBold(boolean arg0) |
void |
setCapitalization(int arg0) |
void |
setFamily(QString arg0) |
void |
setFixedPitch(boolean arg0) |
void |
setHintingPreference(int hintingPreference) |
void |
setItalic(boolean b) |
void |
setKerning(boolean arg0) |
void |
setLetterSpacing(int type,
double spacing) |
void |
setOverline(boolean arg0) |
void |
setPixelSize(int arg0) |
void |
setPointSize(int arg0) |
void |
setPointSizeF(double arg0) |
void |
setRawMode(boolean arg0) |
void |
setRawName(QString arg0)
Deprecated.
|
void |
setStretch(int arg0) |
void |
setStrikeOut(boolean arg0) |
void |
setStyle(int style) |
void |
setStyleHint(int arg0) |
void |
setStyleHint(int arg0,
int arg1) |
void |
setStyleName(QString arg0) |
void |
setStyleStrategy(int s) |
void |
setUnderline(boolean arg0) |
void |
setWeight(int arg0) |
void |
setWordSpacing(double spacing) |
int |
stretch() |
boolean |
strikeOut() |
int |
style() |
int |
styleHint() |
QString |
styleName() |
int |
styleStrategy() |
static QString |
substitute(QString arg0) |
void |
swap(QFont other) |
QString |
toQString() |
boolean |
underline() |
int |
weight() |
double |
wordSpacing() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public static final int Helvetica
public static final int SansSerif
public static final int Times
public static final int Serif
public static final int Courier
public static final int TypeWriter
public static final int OldEnglish
public static final int Decorative
public static final int System
public static final int AnyStyle
public static final int Cursive
public static final int Monospace
public static final int Fantasy
public static final int PreferDefault
public static final int PreferBitmap
public static final int PreferDevice
public static final int PreferOutline
public static final int ForceOutline
public static final int PreferMatch
public static final int PreferQuality
public static final int PreferAntialias
public static final int NoAntialias
public static final int OpenGLCompatible
public static final int ForceIntegerMetrics
public static final int NoSubpixelAntialias
public static final int PreferNoShaping
public static final int NoFontMerging
public static final int PreferDefaultHinting
public static final int PreferNoHinting
public static final int PreferVerticalHinting
public static final int PreferFullHinting
public static final int Thin
public static final int ExtraLight
public static final int Light
public static final int Normal
public static final int Medium
public static final int DemiBold
public static final int Bold
public static final int ExtraBold
public static final int Black
public static final int StyleNormal
public static final int StyleItalic
public static final int StyleOblique
public static final int AnyStretch
public static final int UltraCondensed
public static final int ExtraCondensed
public static final int Condensed
public static final int SemiCondensed
public static final int Unstretched
public static final int SemiExpanded
public static final int Expanded
public static final int ExtraExpanded
public static final int UltraExpanded
public static final int MixedCase
public static final int AllUppercase
public static final int AllLowercase
public static final int SmallCaps
public static final int Capitalize
public static final int PercentageSpacing
public static final int AbsoluteSpacing
public static final int NoPropertiesResolved
public static final int FamilyResolved
public static final int SizeResolved
public static final int StyleHintResolved
public static final int StyleStrategyResolved
public static final int WeightResolved
public static final int StyleResolved
public static final int UnderlineResolved
public static final int OverlineResolved
public static final int StrikeOutResolved
public static final int FixedPitchResolved
public static final int StretchResolved
public static final int KerningResolved
public static final int CapitalizationResolved
public static final int LetterSpacingResolved
public static final int WordSpacingResolved
public static final int HintingPreferenceResolved
public static final int StyleNameResolved
public static final int FamiliesResolved
public static final int AllPropertiesResolved
public QFont(Pointer p)
Pointer.Pointer(Pointer)
.public QFont(long size)
Pointer.position(long)
.public QFont()
public QFont(@Const @ByRef QString family, int pointSize, int weight, @Cast(value="bool") boolean italic)
public QFont(@Const @ByRef QFont font, @Const Qt5Gui.QPaintDevice pd)
public int pointSize()
public void setPointSize(int arg0)
public double pointSizeF()
public void setPointSizeF(double arg0)
public int pixelSize()
public void setPixelSize(int arg0)
public int weight()
public void setWeight(int arg0)
public void setStyleHint(@Cast(value="QFont::StyleHint") int arg0, @Cast(value="QFont::StyleStrategy") int arg1)
public int stretch()
public void setStretch(int arg0)
public double letterSpacing()
public void setLetterSpacing(@Cast(value="QFont::SpacingType") int type, double spacing)
public double wordSpacing()
public void setWordSpacing(double spacing)
public void setHintingPreference(@Cast(value="QFont::HintingPreference") int hintingPreference)
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef QFont arg0)
@Cast(value="bool") @Name(value="operator !=") public boolean notEquals(@Const @ByRef QFont arg0)
@Cast(value="bool") @Name(value="operator <") public boolean lessThan(@Const @ByRef QFont arg0)
@Deprecated public void setRawName(@Const @ByRef QString arg0)
@Deprecated @ByVal public QString rawName()
public static void insertSubstitution(@Const @ByRef QString arg0, @Const @ByRef QString arg1)
public static void initialize()
public static void cleanup()
public static void cacheStatistics()
Copyright © 2020. All rights reserved.