KLayout 0.29.8 (2024-10-28 63dd591e5) [master]

API reference - Class QFontDatabase

Notation used in Ruby API documentation

Module: QtGui

Description: Binding of QFontDatabase

Sub-classes: SystemFont, QFlags_SystemFont, WritingSystem, QFlags_WritingSystem

Public constructors

new QFontDatabasenewConstructor QFontDatabase::QFontDatabase()

Public methods

[const]QFontDatabase ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
voidassign(const QFontDatabase other)Assigns another object to self
[const]boolbold(string family,
string style)
Method bool QFontDatabase::bold(const QString &family, const QString &style)
[const]new QFontDatabase ptrdupCreates a copy of self
[const]string[]families(const QFontDatabase_WritingSystem writingSystem = QFontDatabase::Any)Method QStringList QFontDatabase::families(QFontDatabase::WritingSystem writingSystem)
[const]QFontfont(string family,
string style,
int pointSize)
Method QFont QFontDatabase::font(const QString &family, const QString &style, int pointSize)
[const]boolhasFamily(string family)Method bool QFontDatabase::hasFamily(const QString &family)
[const]boolisBitmapScalable?(string family,
string style = QString())
Method bool QFontDatabase::isBitmapScalable(const QString &family, const QString &style)
[const]boolisFixedPitch?(string family,
string style = QString())
Method bool QFontDatabase::isFixedPitch(const QString &family, const QString &style)
[const]boolisPrivateFamily?(string family)Method bool QFontDatabase::isPrivateFamily(const QString &family)
[const]boolisScalable?(string family,
string style = QString())
Method bool QFontDatabase::isScalable(const QString &family, const QString &style)
[const]boolisSmoothlyScalable?(string family,
string style = QString())
Method bool QFontDatabase::isSmoothlyScalable(const QString &family, const QString &style)
[const]boolitalic(string family,
string style)
Method bool QFontDatabase::italic(const QString &family, const QString &style)
int[]pointSizes(string family,
string style = QString())
Method QList<int> QFontDatabase::pointSizes(const QString &family, const QString &style)
int[]smoothSizes(string family,
string style)
Method QList<int> QFontDatabase::smoothSizes(const QString &family, const QString &style)
stringstyleString(const QFont font)Method QString QFontDatabase::styleString(const QFont &font)
stringstyleString(const QFontInfo fontInfo)Method QString QFontDatabase::styleString(const QFontInfo &fontInfo)
[const]string[]styles(string family)Method QStringList QFontDatabase::styles(const QString &family)
[const]intweight(string family,
string style)
Method int QFontDatabase::weight(const QString &family, const QString &style)
[const]QFontDatabase_WritingSystem[]writingSystemsMethod QList<QFontDatabase::WritingSystem> QFontDatabase::writingSystems()
[const]QFontDatabase_WritingSystem[]writingSystems(string family)Method QList<QFontDatabase::WritingSystem> QFontDatabase::writingSystems(const QString &family)

Public static methods and constants

[static,const]QFontDatabase_WritingSystemAnyEnum constant QFontDatabase::Any
[static,const]QFontDatabase_WritingSystemArabicEnum constant QFontDatabase::Arabic
[static,const]QFontDatabase_WritingSystemArmenianEnum constant QFontDatabase::Armenian
[static,const]QFontDatabase_WritingSystemBengaliEnum constant QFontDatabase::Bengali
[static,const]QFontDatabase_WritingSystemCyrillicEnum constant QFontDatabase::Cyrillic
[static,const]QFontDatabase_WritingSystemDevanagariEnum constant QFontDatabase::Devanagari
[static,const]QFontDatabase_SystemFontFixedFontEnum constant QFontDatabase::FixedFont
[static,const]QFontDatabase_SystemFontGeneralFontEnum constant QFontDatabase::GeneralFont
[static,const]QFontDatabase_WritingSystemGeorgianEnum constant QFontDatabase::Georgian
[static,const]QFontDatabase_WritingSystemGreekEnum constant QFontDatabase::Greek
[static,const]QFontDatabase_WritingSystemGujaratiEnum constant QFontDatabase::Gujarati
[static,const]QFontDatabase_WritingSystemGurmukhiEnum constant QFontDatabase::Gurmukhi
[static,const]QFontDatabase_WritingSystemHebrewEnum constant QFontDatabase::Hebrew
[static,const]QFontDatabase_WritingSystemJapaneseEnum constant QFontDatabase::Japanese
[static,const]QFontDatabase_WritingSystemKannadaEnum constant QFontDatabase::Kannada
[static,const]QFontDatabase_WritingSystemKhmerEnum constant QFontDatabase::Khmer
[static,const]QFontDatabase_WritingSystemKoreanEnum constant QFontDatabase::Korean
[static,const]QFontDatabase_WritingSystemLaoEnum constant QFontDatabase::Lao
[static,const]QFontDatabase_WritingSystemLatinEnum constant QFontDatabase::Latin
[static,const]QFontDatabase_WritingSystemMalayalamEnum constant QFontDatabase::Malayalam
[static,const]QFontDatabase_WritingSystemMyanmarEnum constant QFontDatabase::Myanmar
[static,const]QFontDatabase_WritingSystemNkoEnum constant QFontDatabase::Nko
[static,const]QFontDatabase_WritingSystemOghamEnum constant QFontDatabase::Ogham
[static,const]QFontDatabase_WritingSystemOriyaEnum constant QFontDatabase::Oriya
[static,const]QFontDatabase_WritingSystemOtherEnum constant QFontDatabase::Other
[static,const]QFontDatabase_WritingSystemRunicEnum constant QFontDatabase::Runic
[static,const]QFontDatabase_WritingSystemSimplifiedChineseEnum constant QFontDatabase::SimplifiedChinese
[static,const]QFontDatabase_WritingSystemSinhalaEnum constant QFontDatabase::Sinhala
[static,const]QFontDatabase_SystemFontSmallestReadableFontEnum constant QFontDatabase::SmallestReadableFont
[static,const]QFontDatabase_WritingSystemSymbolEnum constant QFontDatabase::Symbol
[static,const]QFontDatabase_WritingSystemSyriacEnum constant QFontDatabase::Syriac
[static,const]QFontDatabase_WritingSystemTamilEnum constant QFontDatabase::Tamil
[static,const]QFontDatabase_WritingSystemTeluguEnum constant QFontDatabase::Telugu
[static,const]QFontDatabase_WritingSystemThaanaEnum constant QFontDatabase::Thaana
[static,const]QFontDatabase_WritingSystemThaiEnum constant QFontDatabase::Thai
[static,const]QFontDatabase_WritingSystemTibetanEnum constant QFontDatabase::Tibetan
[static,const]QFontDatabase_SystemFontTitleFontEnum constant QFontDatabase::TitleFont
[static,const]QFontDatabase_WritingSystemTraditionalChineseEnum constant QFontDatabase::TraditionalChinese
[static,const]QFontDatabase_WritingSystemVietnameseEnum constant QFontDatabase::Vietnamese
[static,const]QFontDatabase_WritingSystemWritingSystemsCountEnum constant QFontDatabase::WritingSystemsCount
intaddApplicationFont(string fileName)Static method int QFontDatabase::addApplicationFont(const QString &fileName)
intaddApplicationFontFromData(bytes fontData)Static method int QFontDatabase::addApplicationFontFromData(const QByteArray &fontData)
string[]applicationFontFamilies(int id)Static method QStringList QFontDatabase::applicationFontFamilies(int id)
boolremoveAllApplicationFontsStatic method bool QFontDatabase::removeAllApplicationFonts()
boolremoveApplicationFont(int id)Static method bool QFontDatabase::removeApplicationFont(int id)
int[]standardSizesStatic method QList<int> QFontDatabase::standardSizes()
boolsupportsThreadedFontRenderingStatic method bool QFontDatabase::supportsThreadedFontRendering()
QFontsystemFont(const QFontDatabase_SystemFont type)Static method QFont QFontDatabase::systemFont(QFontDatabase::SystemFont type)
stringwritingSystemName(const QFontDatabase_WritingSystem writingSystem)Static method QString QFontDatabase::writingSystemName(QFontDatabase::WritingSystem writingSystem)
stringwritingSystemSample(const QFontDatabase_WritingSystem writingSystem)Static method QString QFontDatabase::writingSystemSample(QFontDatabase::WritingSystem writingSystem)

Deprecated methods (protected, public, static, non-static and constructors)

voidcreateUse of this method is deprecated. Use _create instead
voiddestroyUse of this method is deprecated. Use _destroy instead
[const]booldestroyed?Use of this method is deprecated. Use _destroyed? instead
[const]boolis_const_object?Use of this method is deprecated. Use _is_const_object? instead

Detailed description

Any

Signature: [static,const] QFontDatabase_WritingSystem Any

Description: Enum constant QFontDatabase::Any

Python specific notes:
The object exposes a readable attribute 'Any'. This is the getter.

Arabic

Signature: [static,const] QFontDatabase_WritingSystem Arabic

Description: Enum constant QFontDatabase::Arabic

Python specific notes:
The object exposes a readable attribute 'Arabic'. This is the getter.

Armenian

Signature: [static,const] QFontDatabase_WritingSystem Armenian

Description: Enum constant QFontDatabase::Armenian

Python specific notes:
The object exposes a readable attribute 'Armenian'. This is the getter.

Bengali

Signature: [static,const] QFontDatabase_WritingSystem Bengali

Description: Enum constant QFontDatabase::Bengali

Python specific notes:
The object exposes a readable attribute 'Bengali'. This is the getter.

Cyrillic

Signature: [static,const] QFontDatabase_WritingSystem Cyrillic

Description: Enum constant QFontDatabase::Cyrillic

Python specific notes:
The object exposes a readable attribute 'Cyrillic'. This is the getter.

Devanagari

Signature: [static,const] QFontDatabase_WritingSystem Devanagari

Description: Enum constant QFontDatabase::Devanagari

Python specific notes:
The object exposes a readable attribute 'Devanagari'. This is the getter.

FixedFont

Signature: [static,const] QFontDatabase_SystemFont FixedFont

Description: Enum constant QFontDatabase::FixedFont

Python specific notes:
The object exposes a readable attribute 'FixedFont'. This is the getter.

GeneralFont

Signature: [static,const] QFontDatabase_SystemFont GeneralFont

Description: Enum constant QFontDatabase::GeneralFont

Python specific notes:
The object exposes a readable attribute 'GeneralFont'. This is the getter.

Georgian

Signature: [static,const] QFontDatabase_WritingSystem Georgian

Description: Enum constant QFontDatabase::Georgian

Python specific notes:
The object exposes a readable attribute 'Georgian'. This is the getter.

Greek

Signature: [static,const] QFontDatabase_WritingSystem Greek

Description: Enum constant QFontDatabase::Greek

Python specific notes:
The object exposes a readable attribute 'Greek'. This is the getter.

Gujarati

Signature: [static,const] QFontDatabase_WritingSystem Gujarati

Description: Enum constant QFontDatabase::Gujarati

Python specific notes:
The object exposes a readable attribute 'Gujarati'. This is the getter.

Gurmukhi

Signature: [static,const] QFontDatabase_WritingSystem Gurmukhi

Description: Enum constant QFontDatabase::Gurmukhi

Python specific notes:
The object exposes a readable attribute 'Gurmukhi'. This is the getter.

Hebrew

Signature: [static,const] QFontDatabase_WritingSystem Hebrew

Description: Enum constant QFontDatabase::Hebrew

Python specific notes:
The object exposes a readable attribute 'Hebrew'. This is the getter.

Japanese

Signature: [static,const] QFontDatabase_WritingSystem Japanese

Description: Enum constant QFontDatabase::Japanese

Python specific notes:
The object exposes a readable attribute 'Japanese'. This is the getter.

Kannada

Signature: [static,const] QFontDatabase_WritingSystem Kannada

Description: Enum constant QFontDatabase::Kannada

Python specific notes:
The object exposes a readable attribute 'Kannada'. This is the getter.

Khmer

Signature: [static,const] QFontDatabase_WritingSystem Khmer

Description: Enum constant QFontDatabase::Khmer

Python specific notes:
The object exposes a readable attribute 'Khmer'. This is the getter.

Korean

Signature: [static,const] QFontDatabase_WritingSystem Korean

Description: Enum constant QFontDatabase::Korean

Python specific notes:
The object exposes a readable attribute 'Korean'. This is the getter.

Lao

Signature: [static,const] QFontDatabase_WritingSystem Lao

Description: Enum constant QFontDatabase::Lao

Python specific notes:
The object exposes a readable attribute 'Lao'. This is the getter.

Latin

Signature: [static,const] QFontDatabase_WritingSystem Latin

Description: Enum constant QFontDatabase::Latin

Python specific notes:
The object exposes a readable attribute 'Latin'. This is the getter.

Malayalam

Signature: [static,const] QFontDatabase_WritingSystem Malayalam

Description: Enum constant QFontDatabase::Malayalam

Python specific notes:
The object exposes a readable attribute 'Malayalam'. This is the getter.

Myanmar

Signature: [static,const] QFontDatabase_WritingSystem Myanmar

Description: Enum constant QFontDatabase::Myanmar

Python specific notes:
The object exposes a readable attribute 'Myanmar'. This is the getter.

Nko

Signature: [static,const] QFontDatabase_WritingSystem Nko

Description: Enum constant QFontDatabase::Nko

Python specific notes:
The object exposes a readable attribute 'Nko'. This is the getter.

Ogham

Signature: [static,const] QFontDatabase_WritingSystem Ogham

Description: Enum constant QFontDatabase::Ogham

Python specific notes:
The object exposes a readable attribute 'Ogham'. This is the getter.

Oriya

Signature: [static,const] QFontDatabase_WritingSystem Oriya

Description: Enum constant QFontDatabase::Oriya

Python specific notes:
The object exposes a readable attribute 'Oriya'. This is the getter.

Other

Signature: [static,const] QFontDatabase_WritingSystem Other

Description: Enum constant QFontDatabase::Other

Python specific notes:
The object exposes a readable attribute 'Other'. This is the getter.

Runic

Signature: [static,const] QFontDatabase_WritingSystem Runic

Description: Enum constant QFontDatabase::Runic

Python specific notes:
The object exposes a readable attribute 'Runic'. This is the getter.

SimplifiedChinese

Signature: [static,const] QFontDatabase_WritingSystem SimplifiedChinese

Description: Enum constant QFontDatabase::SimplifiedChinese

Python specific notes:
The object exposes a readable attribute 'SimplifiedChinese'. This is the getter.

Sinhala

Signature: [static,const] QFontDatabase_WritingSystem Sinhala

Description: Enum constant QFontDatabase::Sinhala

Python specific notes:
The object exposes a readable attribute 'Sinhala'. This is the getter.

SmallestReadableFont

Signature: [static,const] QFontDatabase_SystemFont SmallestReadableFont

Description: Enum constant QFontDatabase::SmallestReadableFont

Python specific notes:
The object exposes a readable attribute 'SmallestReadableFont'. This is the getter.

Symbol

Signature: [static,const] QFontDatabase_WritingSystem Symbol

Description: Enum constant QFontDatabase::Symbol

Python specific notes:
The object exposes a readable attribute 'Symbol'. This is the getter.

Syriac

Signature: [static,const] QFontDatabase_WritingSystem Syriac

Description: Enum constant QFontDatabase::Syriac

Python specific notes:
The object exposes a readable attribute 'Syriac'. This is the getter.

Tamil

Signature: [static,const] QFontDatabase_WritingSystem Tamil

Description: Enum constant QFontDatabase::Tamil

Python specific notes:
The object exposes a readable attribute 'Tamil'. This is the getter.

Telugu

Signature: [static,const] QFontDatabase_WritingSystem Telugu

Description: Enum constant QFontDatabase::Telugu

Python specific notes:
The object exposes a readable attribute 'Telugu'. This is the getter.

Thaana

Signature: [static,const] QFontDatabase_WritingSystem Thaana

Description: Enum constant QFontDatabase::Thaana

Python specific notes:
The object exposes a readable attribute 'Thaana'. This is the getter.

Thai

Signature: [static,const] QFontDatabase_WritingSystem Thai

Description: Enum constant QFontDatabase::Thai

Python specific notes:
The object exposes a readable attribute 'Thai'. This is the getter.

Tibetan

Signature: [static,const] QFontDatabase_WritingSystem Tibetan

Description: Enum constant QFontDatabase::Tibetan

Python specific notes:
The object exposes a readable attribute 'Tibetan'. This is the getter.

TitleFont

Signature: [static,const] QFontDatabase_SystemFont TitleFont

Description: Enum constant QFontDatabase::TitleFont

Python specific notes:
The object exposes a readable attribute 'TitleFont'. This is the getter.

TraditionalChinese

Signature: [static,const] QFontDatabase_WritingSystem TraditionalChinese

Description: Enum constant QFontDatabase::TraditionalChinese

Python specific notes:
The object exposes a readable attribute 'TraditionalChinese'. This is the getter.

Vietnamese

Signature: [static,const] QFontDatabase_WritingSystem Vietnamese

Description: Enum constant QFontDatabase::Vietnamese

Python specific notes:
The object exposes a readable attribute 'Vietnamese'. This is the getter.

WritingSystemsCount

Signature: [static,const] QFontDatabase_WritingSystem WritingSystemsCount

Description: Enum constant QFontDatabase::WritingSystemsCount

Python specific notes:
The object exposes a readable attribute 'WritingSystemsCount'. This is the getter.

_const_cast

Signature: [const] QFontDatabase ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

addApplicationFont

Signature: [static] int addApplicationFont (string fileName)

Description: Static method int QFontDatabase::addApplicationFont(const QString &fileName)

This method is static and can be called without an instance.

addApplicationFontFromData

Signature: [static] int addApplicationFontFromData (bytes fontData)

Description: Static method int QFontDatabase::addApplicationFontFromData(const QByteArray &fontData)

This method is static and can be called without an instance.

applicationFontFamilies

Signature: [static] string[] applicationFontFamilies (int id)

Description: Static method QStringList QFontDatabase::applicationFontFamilies(int id)

This method is static and can be called without an instance.

assign

Signature: void assign (const QFontDatabase other)

Description: Assigns another object to self

bold

Signature: [const] bool bold (string family, string style)

Description: Method bool QFontDatabase::bold(const QString &family, const QString &style)

create

Signature: void create

Description: Ensures the C++ object is created

Use of this method is deprecated. Use _create instead

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

destroy

Signature: void destroy

Description: Explicitly destroys the object

Use of this method is deprecated. Use _destroy instead

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

destroyed?

Signature: [const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

Use of this method is deprecated. Use _destroyed? instead

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

dup

Signature: [const] new QFontDatabase ptr dup

Description: Creates a copy of self

Python specific notes:
This method also implements '__copy__' and '__deepcopy__'.

families

Signature: [const] string[] families (const QFontDatabase_WritingSystem writingSystem = QFontDatabase::Any)

Description: Method QStringList QFontDatabase::families(QFontDatabase::WritingSystem writingSystem)

font

Signature: [const] QFont font (string family, string style, int pointSize)

Description: Method QFont QFontDatabase::font(const QString &family, const QString &style, int pointSize)

hasFamily

Signature: [const] bool hasFamily (string family)

Description: Method bool QFontDatabase::hasFamily(const QString &family)

isBitmapScalable?

Signature: [const] bool isBitmapScalable? (string family, string style = QString())

Description: Method bool QFontDatabase::isBitmapScalable(const QString &family, const QString &style)

isFixedPitch?

Signature: [const] bool isFixedPitch? (string family, string style = QString())

Description: Method bool QFontDatabase::isFixedPitch(const QString &family, const QString &style)

isPrivateFamily?

Signature: [const] bool isPrivateFamily? (string family)

Description: Method bool QFontDatabase::isPrivateFamily(const QString &family)

isScalable?

Signature: [const] bool isScalable? (string family, string style = QString())

Description: Method bool QFontDatabase::isScalable(const QString &family, const QString &style)

isSmoothlyScalable?

Signature: [const] bool isSmoothlyScalable? (string family, string style = QString())

Description: Method bool QFontDatabase::isSmoothlyScalable(const QString &family, const QString &style)

is_const_object?

Signature: [const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

Use of this method is deprecated. Use _is_const_object? instead

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

italic

Signature: [const] bool italic (string family, string style)

Description: Method bool QFontDatabase::italic(const QString &family, const QString &style)

new

Signature: [static] new QFontDatabase new

Description: Constructor QFontDatabase::QFontDatabase()

This method creates an object of class QFontDatabase.

Python specific notes:
This method is the default initializer of the object.

pointSizes

Signature: int[] pointSizes (string family, string style = QString())

Description: Method QList<int> QFontDatabase::pointSizes(const QString &family, const QString &style)

removeAllApplicationFonts

Signature: [static] bool removeAllApplicationFonts

Description: Static method bool QFontDatabase::removeAllApplicationFonts()

This method is static and can be called without an instance.

removeApplicationFont

Signature: [static] bool removeApplicationFont (int id)

Description: Static method bool QFontDatabase::removeApplicationFont(int id)

This method is static and can be called without an instance.

smoothSizes

Signature: int[] smoothSizes (string family, string style)

Description: Method QList<int> QFontDatabase::smoothSizes(const QString &family, const QString &style)

standardSizes

Signature: [static] int[] standardSizes

Description: Static method QList<int> QFontDatabase::standardSizes()

This method is static and can be called without an instance.

styleString

(1) Signature: string styleString (const QFont font)

Description: Method QString QFontDatabase::styleString(const QFont &font)

(2) Signature: string styleString (const QFontInfo fontInfo)

Description: Method QString QFontDatabase::styleString(const QFontInfo &fontInfo)

styles

Signature: [const] string[] styles (string family)

Description: Method QStringList QFontDatabase::styles(const QString &family)

supportsThreadedFontRendering

Signature: [static] bool supportsThreadedFontRendering

Description: Static method bool QFontDatabase::supportsThreadedFontRendering()

This method is static and can be called without an instance.

systemFont

Signature: [static] QFont systemFont (const QFontDatabase_SystemFont type)

Description: Static method QFont QFontDatabase::systemFont(QFontDatabase::SystemFont type)

This method is static and can be called without an instance.

weight

Signature: [const] int weight (string family, string style)

Description: Method int QFontDatabase::weight(const QString &family, const QString &style)

writingSystemName

Signature: [static] string writingSystemName (const QFontDatabase_WritingSystem writingSystem)

Description: Static method QString QFontDatabase::writingSystemName(QFontDatabase::WritingSystem writingSystem)

This method is static and can be called without an instance.

writingSystemSample

Signature: [static] string writingSystemSample (const QFontDatabase_WritingSystem writingSystem)

Description: Static method QString QFontDatabase::writingSystemSample(QFontDatabase::WritingSystem writingSystem)

This method is static and can be called without an instance.

writingSystems

(1) Signature: [const] QFontDatabase_WritingSystem[] writingSystems

Description: Method QList<QFontDatabase::WritingSystem> QFontDatabase::writingSystems()

(2) Signature: [const] QFontDatabase_WritingSystem[] writingSystems (string family)

Description: Method QList<QFontDatabase::WritingSystem> QFontDatabase::writingSystems(const QString &family)