- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Information about the fonts available in the underlying window system
Java wrapper for Qt class QFontDatabase
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQFontDatabase::SystemFont
static enum
Java wrapper for Qt enumQFontDatabase::WritingSystem
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
addApplicationFont
(String fileName) static int
addApplicationFontFromData
(byte [] fontData) Overloaded function foraddApplicationFontFromData(io.qt.core.QByteArray)
.static int
addApplicationFontFromData
(QByteArray fontData) static QStringList
applicationFontFamilies
(int id) final boolean
clone()
Creates and returns a copy of this object.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
SeeQFontDatabase::
hasFamily(QString)const 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) final String
styleString
(String font) Overloaded function forstyleString(io.qt.gui.QFont)
.static boolean
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()
-
-
Method Details
-
bold
-
families
-
font
-
hasFamily
See
QFontDatabase::
hasFamily(QString)const -
isBitmapScalable
-
isFixedPitch
-
isPrivateFamily
-
isScalable
-
isSmoothlyScalable
-
italic
-
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
public static boolean supportsThreadedFontRendering() -
systemFont
-
writingSystemName
-
writingSystemSample
-
clone
Creates and returns a copy of this object.
-
families
Overloaded function for
families(io.qt.gui.QFontDatabase.WritingSystem)
withwritingSystem = io.qt.gui.QFontDatabase.WritingSystem.Any
. -
isBitmapScalable
Overloaded function for
isBitmapScalable(java.lang.String, java.lang.String)
withstyle = (String)null
. -
isFixedPitch
Overloaded function for
isFixedPitch(java.lang.String, java.lang.String)
withstyle = (String)null
. -
isScalable
Overloaded function for
isScalable(java.lang.String, java.lang.String)
withstyle = (String)null
. -
isSmoothlyScalable
Overloaded function for
isSmoothlyScalable(java.lang.String, java.lang.String)
withstyle = (String)null
. -
pointSizes
Overloaded function for
pointSizes(java.lang.String, java.lang.String)
withstyle = (String)null
. -
styleString
Overloaded function for
styleString(io.qt.gui.QFont)
. -
addApplicationFontFromData
public static int addApplicationFontFromData(byte [] fontData) Overloaded function for
addApplicationFontFromData(io.qt.core.QByteArray)
.
-