- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Information about the fonts available in the underlying window system
Java wrapper for Qt's class QFontDatabase
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QFontDatabase::SystemFontstatic enum
Java wrapper for Qt enum QFontDatabase::WritingSystemNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionstatic int
addApplicationFont
(String fileName) static int
addApplicationFontFromData
(QByteArray fontData) static QStringList
applicationFontFamilies
(int id) final boolean
clone()
final QStringList
families()
Overloaded function forfamilies(io.qt.gui.QFontDatabase.WritingSystem)
withwritingSystem = io.qt.gui.QFontDatabase.WritingSystem.Any
.final QStringList
families
(QFontDatabase.WritingSystem writingSystem) final QFont
final boolean
final boolean
isBitmapScalable
(String family) Overloaded function forisBitmapScalable(java.lang.String, java.lang.String)
withstyle = (String)null
.final boolean
isBitmapScalable
(String family, String style) final boolean
isFixedPitch
(String family) Overloaded function forisFixedPitch(java.lang.String, java.lang.String)
withstyle = (String)null
.final boolean
isFixedPitch
(String family, String style) final boolean
isPrivateFamily
(String family) final boolean
isScalable
(String family) Overloaded function forisScalable(java.lang.String, java.lang.String)
withstyle = (String)null
.final boolean
isScalable
(String family, String style) final boolean
isSmoothlyScalable
(String family) Overloaded function forisSmoothlyScalable(java.lang.String, java.lang.String)
withstyle = (String)null
.final boolean
isSmoothlyScalable
(String family, String style) final boolean
final QList<@QtPrimitiveType Integer>
pointSizes
(String family) Overloaded function forpointSizes(java.lang.String, java.lang.String)
withstyle = (String)null
.final QList<@QtPrimitiveType Integer>
pointSizes
(String family, String style) static boolean
static boolean
removeApplicationFont
(int id) final QList<@QtPrimitiveType Integer>
smoothSizes
(String family, String style) static QList<@QtPrimitiveType Integer>
final QStringList
final String
styleString
(QFont font) final String
styleString
(QFontInfo fontInfo) static boolean
Deprecated.static QFont
final int
static String
writingSystemName
(QFontDatabase.WritingSystem writingSystem) final QList<QFontDatabase.WritingSystem>
final QList<QFontDatabase.WritingSystem>
writingSystems
(String family) static String
writingSystemSample
(QFontDatabase.WritingSystem writingSystem) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QFontDatabase
public QFontDatabase() -
QFontDatabase
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
bold
-
families
Overloaded function for
families(io.qt.gui.QFontDatabase.WritingSystem)
withwritingSystem = io.qt.gui.QFontDatabase.WritingSystem.Any
. -
families
-
font
-
hasFamily
-
isBitmapScalable
Overloaded function for
isBitmapScalable(java.lang.String, java.lang.String)
withstyle = (String)null
. -
isBitmapScalable
-
isFixedPitch
Overloaded function for
isFixedPitch(java.lang.String, java.lang.String)
withstyle = (String)null
. -
isFixedPitch
-
isPrivateFamily
-
isScalable
Overloaded function for
isScalable(java.lang.String, java.lang.String)
withstyle = (String)null
. -
isScalable
-
isSmoothlyScalable
Overloaded function for
isSmoothlyScalable(java.lang.String, java.lang.String)
withstyle = (String)null
. -
isSmoothlyScalable
-
italic
-
pointSizes
Overloaded function for
pointSizes(java.lang.String, java.lang.String)
withstyle = (String)null
. -
pointSizes
-
smoothSizes
@QtUninvokable public final QList<@QtPrimitiveType Integer> smoothSizes(String family, String style) -
styleString
-
styleString
-
styles
-
weight
-
writingSystems
-
writingSystems
-
addApplicationFont
-
addApplicationFontFromData
-
applicationFontFamilies
-
removeAllApplicationFonts
public static boolean removeAllApplicationFonts() -
removeApplicationFont
public static boolean removeApplicationFont(int id) -
standardSizes
-
supportsThreadedFontRendering
Deprecated. -
systemFont
-
writingSystemName
-
writingSystemSample
-
clone
-