- 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) static boolean
clone()
Creates and returns a copy of this object.static QStringList
families()
Overloaded function forfamilies(io.qt.gui.QFontDatabase.WritingSystem)
withwritingSystem = io.qt.gui.QFontDatabase.WritingSystem.Any
.static QStringList
families
(QFontDatabase.WritingSystem writingSystem) static QFont
static boolean
SeeQFontDatabase::
hasFamily(QString) static boolean
isBitmapScalable
(String family) Overloaded function forisBitmapScalable(java.lang.String, java.lang.String)
withstyle = (String)null
.static boolean
isBitmapScalable
(String family, String style) static boolean
isFixedPitch
(String family) Overloaded function forisFixedPitch(java.lang.String, java.lang.String)
withstyle = (String)null
.static boolean
isFixedPitch
(String family, String style) static boolean
isPrivateFamily
(String family) static boolean
isScalable
(String family) Overloaded function forisScalable(java.lang.String, java.lang.String)
withstyle = (String)null
.static boolean
isScalable
(String family, String style) static boolean
isSmoothlyScalable
(String family) Overloaded function forisSmoothlyScalable(java.lang.String, java.lang.String)
withstyle = (String)null
.static boolean
isSmoothlyScalable
(String family, String style) static boolean
static QList
<@QtPrimitiveType Integer> pointSizes
(String family) Overloaded function forpointSizes(java.lang.String, java.lang.String)
withstyle = (String)null
.static QList
<@QtPrimitiveType Integer> pointSizes
(String family, String style) static boolean
static boolean
removeApplicationFont
(int id) static QList
<@QtPrimitiveType Integer> smoothSizes
(String family, String style) static QList
<@QtPrimitiveType Integer> static QStringList
static String
styleString
(QFont font) static String
styleString
(QFontInfo fontInfo) static String
styleString
(String font) Overloaded function forstyleString(io.qt.gui.QFont)
.static QFont
static int
static String
writingSystemName
(QFontDatabase.WritingSystem writingSystem) static QList
<QFontDatabase.WritingSystem> static 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()See
QFontDatabase::
QFontDatabase()
-
-
Method Details
-
addApplicationFont
-
addApplicationFontFromData
-
applicationFontFamilies
-
bold
-
families
-
font
-
hasFamily
See
QFontDatabase::
hasFamily(QString) -
isBitmapScalable
-
isFixedPitch
-
isPrivateFamily
-
isScalable
-
isSmoothlyScalable
-
italic
-
pointSizes
-
removeAllApplicationFonts
public static boolean removeAllApplicationFonts() -
removeApplicationFont
public static boolean removeApplicationFont(int id) -
smoothSizes
-
standardSizes
-
styleString
-
styleString
-
styles
-
systemFont
-
weight
-
writingSystemName
-
writingSystemSample
-
writingSystems
-
writingSystems
-
clone
Creates and returns a copy of this object.
-
addApplicationFontFromData
public static int addApplicationFontFromData(byte [] fontData) Overloaded function for
addApplicationFontFromData(io.qt.core.QByteArray)
. -
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)
.
-