- 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
ConstructorDescriptionSeeQFontDatabase::
QFontDatabase() QFontDatabase
(QFontDatabase other) SeeQFontDatabase::
QFontDatabase(QFontDatabase) -
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() -
QFontDatabase
See
QFontDatabase::
QFontDatabase(QFontDatabase) - Parameters:
other
-
-
-
Method Details
-
addApplicationFont
- Parameters:
fileName
-- Returns:
-
addApplicationFontFromData
- Parameters:
fontData
-- Returns:
-
applicationFontFamilies
- Parameters:
id
-- Returns:
-
bold
- Parameters:
family
-style
-- Returns:
-
families
- Parameters:
writingSystem
-- Returns:
-
font
- Parameters:
family
-style
-pointSize
-- Returns:
-
hasFamily
See
QFontDatabase::
hasFamily(QString) - Parameters:
family
-- Returns:
-
isBitmapScalable
- Parameters:
family
-style
-- Returns:
-
isFixedPitch
- Parameters:
family
-style
-- Returns:
-
isPrivateFamily
- Parameters:
family
-- Returns:
-
isScalable
- Parameters:
family
-style
-- Returns:
-
isSmoothlyScalable
- Parameters:
family
-style
-- Returns:
-
italic
- Parameters:
family
-style
-- Returns:
-
pointSizes
- Parameters:
family
-style
-- Returns:
-
removeAllApplicationFonts
public static boolean removeAllApplicationFonts()- Returns:
-
removeApplicationFont
public static boolean removeApplicationFont(int id) - Parameters:
id
-- Returns:
-
smoothSizes
- Parameters:
family
-style
-- Returns:
-
standardSizes
- Returns:
-
styleString
- Parameters:
font
-- Returns:
-
styleString
- Parameters:
fontInfo
-- Returns:
-
styles
- Parameters:
family
-- Returns:
-
systemFont
- Parameters:
type
-- Returns:
-
weight
- Parameters:
family
-style
-- Returns:
-
writingSystemName
- Parameters:
writingSystem
-- Returns:
-
writingSystemSample
- Parameters:
writingSystem
-- Returns:
-
writingSystems
- Returns:
-
writingSystems
- Parameters:
family
-- Returns:
-
clone
Creates and returns a copy of this object.
See
QFontDatabase::
QFontDatabase(QFontDatabase) -
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)
.
-