- 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
ModifierConstructorDescriptionDeprecated.Call the static functions insteadprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionstatic int
addApplicationFont
(String fileName) static int
addApplicationFontFromData
(QByteArray fontData) static QStringList
applicationFontFamilies
(int id) static boolean
clone()
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
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
pointSizes
(String family) Overloaded function forpointSizes(java.lang.String, java.lang.String)
withstyle = (String)null
.pointSizes
(String family, String style) static boolean
static boolean
removeApplicationFont
(int id) smoothSizes
(String family, String style) static QStringList
static String
styleString
(QFont font) static String
styleString
(QFontInfo fontInfo) 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
Deprecated.Call the static functions instead -
QFontDatabase
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addApplicationFont
-
addApplicationFontFromData
-
applicationFontFamilies
-
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
-
removeAllApplicationFonts
public static boolean removeAllApplicationFonts() -
removeApplicationFont
public static boolean removeApplicationFont(int id) -
smoothSizes
-
standardSizes
-
styleString
-
styleString
-
styles
-
systemFont
-
weight
-
writingSystemName
-
writingSystemSample
-
writingSystems
-
writingSystems
-
clone
-