Notation used in Ruby API documentation
Module: QtGui
Description: Binding of QFontDatabase
Sub-classes: SystemFont, QFlags_SystemFont, WritingSystem, QFlags_WritingSystem
new QFontDatabase | new | Constructor QFontDatabase::QFontDatabase() |
[const] | QFontDatabase ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly 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 | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
void | assign | (const QFontDatabase other) | Assigns another object to self | |
[const] | bool | bold | (string family, string style) | Method bool QFontDatabase::bold(const QString &family, const QString &style) |
[const] | new QFontDatabase ptr | dup | Creates a copy of self | |
[const] | string[] | families | (const QFontDatabase_WritingSystem writingSystem = QFontDatabase::Any) | Method QStringList QFontDatabase::families(QFontDatabase::WritingSystem writingSystem) |
[const] | QFont | font | (string family, string style, int pointSize) | Method QFont QFontDatabase::font(const QString &family, const QString &style, int pointSize) |
[const] | bool | hasFamily | (string family) | Method bool QFontDatabase::hasFamily(const QString &family) |
[const] | bool | isBitmapScalable? | (string family, string style = QString()) | Method bool QFontDatabase::isBitmapScalable(const QString &family, const QString &style) |
[const] | bool | isFixedPitch? | (string family, string style = QString()) | Method bool QFontDatabase::isFixedPitch(const QString &family, const QString &style) |
[const] | bool | isPrivateFamily? | (string family) | Method bool QFontDatabase::isPrivateFamily(const QString &family) |
[const] | bool | isScalable? | (string family, string style = QString()) | Method bool QFontDatabase::isScalable(const QString &family, const QString &style) |
[const] | bool | isSmoothlyScalable? | (string family, string style = QString()) | Method bool QFontDatabase::isSmoothlyScalable(const QString &family, const QString &style) |
[const] | bool | italic | (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) | |
string | styleString | (const QFont font) | Method QString QFontDatabase::styleString(const QFont &font) | |
string | styleString | (const QFontInfo fontInfo) | Method QString QFontDatabase::styleString(const QFontInfo &fontInfo) | |
[const] | string[] | styles | (string family) | Method QStringList QFontDatabase::styles(const QString &family) |
[const] | int | weight | (string family, string style) | Method int QFontDatabase::weight(const QString &family, const QString &style) |
[const] | QFontDatabase_WritingSystem[] | writingSystems | Method QList<QFontDatabase::WritingSystem> QFontDatabase::writingSystems() | |
[const] | QFontDatabase_WritingSystem[] | writingSystems | (string family) | Method QList<QFontDatabase::WritingSystem> QFontDatabase::writingSystems(const QString &family) |
[static,const] | QFontDatabase_WritingSystem | Any | Enum constant QFontDatabase::Any | |
[static,const] | QFontDatabase_WritingSystem | Arabic | Enum constant QFontDatabase::Arabic | |
[static,const] | QFontDatabase_WritingSystem | Armenian | Enum constant QFontDatabase::Armenian | |
[static,const] | QFontDatabase_WritingSystem | Bengali | Enum constant QFontDatabase::Bengali | |
[static,const] | QFontDatabase_WritingSystem | Cyrillic | Enum constant QFontDatabase::Cyrillic | |
[static,const] | QFontDatabase_WritingSystem | Devanagari | Enum constant QFontDatabase::Devanagari | |
[static,const] | QFontDatabase_SystemFont | FixedFont | Enum constant QFontDatabase::FixedFont | |
[static,const] | QFontDatabase_SystemFont | GeneralFont | Enum constant QFontDatabase::GeneralFont | |
[static,const] | QFontDatabase_WritingSystem | Georgian | Enum constant QFontDatabase::Georgian | |
[static,const] | QFontDatabase_WritingSystem | Greek | Enum constant QFontDatabase::Greek | |
[static,const] | QFontDatabase_WritingSystem | Gujarati | Enum constant QFontDatabase::Gujarati | |
[static,const] | QFontDatabase_WritingSystem | Gurmukhi | Enum constant QFontDatabase::Gurmukhi | |
[static,const] | QFontDatabase_WritingSystem | Hebrew | Enum constant QFontDatabase::Hebrew | |
[static,const] | QFontDatabase_WritingSystem | Japanese | Enum constant QFontDatabase::Japanese | |
[static,const] | QFontDatabase_WritingSystem | Kannada | Enum constant QFontDatabase::Kannada | |
[static,const] | QFontDatabase_WritingSystem | Khmer | Enum constant QFontDatabase::Khmer | |
[static,const] | QFontDatabase_WritingSystem | Korean | Enum constant QFontDatabase::Korean | |
[static,const] | QFontDatabase_WritingSystem | Lao | Enum constant QFontDatabase::Lao | |
[static,const] | QFontDatabase_WritingSystem | Latin | Enum constant QFontDatabase::Latin | |
[static,const] | QFontDatabase_WritingSystem | Malayalam | Enum constant QFontDatabase::Malayalam | |
[static,const] | QFontDatabase_WritingSystem | Myanmar | Enum constant QFontDatabase::Myanmar | |
[static,const] | QFontDatabase_WritingSystem | Nko | Enum constant QFontDatabase::Nko | |
[static,const] | QFontDatabase_WritingSystem | Ogham | Enum constant QFontDatabase::Ogham | |
[static,const] | QFontDatabase_WritingSystem | Oriya | Enum constant QFontDatabase::Oriya | |
[static,const] | QFontDatabase_WritingSystem | Other | Enum constant QFontDatabase::Other | |
[static,const] | QFontDatabase_WritingSystem | Runic | Enum constant QFontDatabase::Runic | |
[static,const] | QFontDatabase_WritingSystem | SimplifiedChinese | Enum constant QFontDatabase::SimplifiedChinese | |
[static,const] | QFontDatabase_WritingSystem | Sinhala | Enum constant QFontDatabase::Sinhala | |
[static,const] | QFontDatabase_SystemFont | SmallestReadableFont | Enum constant QFontDatabase::SmallestReadableFont | |
[static,const] | QFontDatabase_WritingSystem | Symbol | Enum constant QFontDatabase::Symbol | |
[static,const] | QFontDatabase_WritingSystem | Syriac | Enum constant QFontDatabase::Syriac | |
[static,const] | QFontDatabase_WritingSystem | Tamil | Enum constant QFontDatabase::Tamil | |
[static,const] | QFontDatabase_WritingSystem | Telugu | Enum constant QFontDatabase::Telugu | |
[static,const] | QFontDatabase_WritingSystem | Thaana | Enum constant QFontDatabase::Thaana | |
[static,const] | QFontDatabase_WritingSystem | Thai | Enum constant QFontDatabase::Thai | |
[static,const] | QFontDatabase_WritingSystem | Tibetan | Enum constant QFontDatabase::Tibetan | |
[static,const] | QFontDatabase_SystemFont | TitleFont | Enum constant QFontDatabase::TitleFont | |
[static,const] | QFontDatabase_WritingSystem | TraditionalChinese | Enum constant QFontDatabase::TraditionalChinese | |
[static,const] | QFontDatabase_WritingSystem | Vietnamese | Enum constant QFontDatabase::Vietnamese | |
[static,const] | QFontDatabase_WritingSystem | WritingSystemsCount | Enum constant QFontDatabase::WritingSystemsCount | |
int | addApplicationFont | (string fileName) | Static method int QFontDatabase::addApplicationFont(const QString &fileName) | |
int | addApplicationFontFromData | (bytes fontData) | Static method int QFontDatabase::addApplicationFontFromData(const QByteArray &fontData) | |
string[] | applicationFontFamilies | (int id) | Static method QStringList QFontDatabase::applicationFontFamilies(int id) | |
bool | removeAllApplicationFonts | Static method bool QFontDatabase::removeAllApplicationFonts() | ||
bool | removeApplicationFont | (int id) | Static method bool QFontDatabase::removeApplicationFont(int id) | |
int[] | standardSizes | Static method QList<int> QFontDatabase::standardSizes() | ||
bool | supportsThreadedFontRendering | Static method bool QFontDatabase::supportsThreadedFontRendering() | ||
QFont | systemFont | (const QFontDatabase_SystemFont type) | Static method QFont QFontDatabase::systemFont(QFontDatabase::SystemFont type) | |
string | writingSystemName | (const QFontDatabase_WritingSystem writingSystem) | Static method QString QFontDatabase::writingSystemName(QFontDatabase::WritingSystem writingSystem) | |
string | writingSystemSample | (const QFontDatabase_WritingSystem writingSystem) | Static method QString QFontDatabase::writingSystemSample(QFontDatabase::WritingSystem writingSystem) |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | destroyed? | Use of this method is deprecated. Use _destroyed? instead | |
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
Any | Signature: [static,const] QFontDatabase_WritingSystem Any Description: Enum constant QFontDatabase::Any Python specific notes: |
Arabic | Signature: [static,const] QFontDatabase_WritingSystem Arabic Description: Enum constant QFontDatabase::Arabic Python specific notes: |
Armenian | Signature: [static,const] QFontDatabase_WritingSystem Armenian Description: Enum constant QFontDatabase::Armenian Python specific notes: |
Bengali | Signature: [static,const] QFontDatabase_WritingSystem Bengali Description: Enum constant QFontDatabase::Bengali Python specific notes: |
Cyrillic | Signature: [static,const] QFontDatabase_WritingSystem Cyrillic Description: Enum constant QFontDatabase::Cyrillic Python specific notes: |
Devanagari | Signature: [static,const] QFontDatabase_WritingSystem Devanagari Description: Enum constant QFontDatabase::Devanagari Python specific notes: |
FixedFont | Signature: [static,const] QFontDatabase_SystemFont FixedFont Description: Enum constant QFontDatabase::FixedFont Python specific notes: |
GeneralFont | Signature: [static,const] QFontDatabase_SystemFont GeneralFont Description: Enum constant QFontDatabase::GeneralFont Python specific notes: |
Georgian | Signature: [static,const] QFontDatabase_WritingSystem Georgian Description: Enum constant QFontDatabase::Georgian Python specific notes: |
Greek | Signature: [static,const] QFontDatabase_WritingSystem Greek Description: Enum constant QFontDatabase::Greek Python specific notes: |
Gujarati | Signature: [static,const] QFontDatabase_WritingSystem Gujarati Description: Enum constant QFontDatabase::Gujarati Python specific notes: |
Gurmukhi | Signature: [static,const] QFontDatabase_WritingSystem Gurmukhi Description: Enum constant QFontDatabase::Gurmukhi Python specific notes: |
Hebrew | Signature: [static,const] QFontDatabase_WritingSystem Hebrew Description: Enum constant QFontDatabase::Hebrew Python specific notes: |
Japanese | Signature: [static,const] QFontDatabase_WritingSystem Japanese Description: Enum constant QFontDatabase::Japanese Python specific notes: |
Kannada | Signature: [static,const] QFontDatabase_WritingSystem Kannada Description: Enum constant QFontDatabase::Kannada Python specific notes: |
Khmer | Signature: [static,const] QFontDatabase_WritingSystem Khmer Description: Enum constant QFontDatabase::Khmer Python specific notes: |
Korean | Signature: [static,const] QFontDatabase_WritingSystem Korean Description: Enum constant QFontDatabase::Korean Python specific notes: |
Lao | Signature: [static,const] QFontDatabase_WritingSystem Lao Description: Enum constant QFontDatabase::Lao Python specific notes: |
Latin | Signature: [static,const] QFontDatabase_WritingSystem Latin Description: Enum constant QFontDatabase::Latin Python specific notes: |
Malayalam | Signature: [static,const] QFontDatabase_WritingSystem Malayalam Description: Enum constant QFontDatabase::Malayalam Python specific notes: |
Myanmar | Signature: [static,const] QFontDatabase_WritingSystem Myanmar Description: Enum constant QFontDatabase::Myanmar Python specific notes: |
Nko | Signature: [static,const] QFontDatabase_WritingSystem Nko Description: Enum constant QFontDatabase::Nko Python specific notes: |
Ogham | Signature: [static,const] QFontDatabase_WritingSystem Ogham Description: Enum constant QFontDatabase::Ogham Python specific notes: |
Oriya | Signature: [static,const] QFontDatabase_WritingSystem Oriya Description: Enum constant QFontDatabase::Oriya Python specific notes: |
Other | Signature: [static,const] QFontDatabase_WritingSystem Other Description: Enum constant QFontDatabase::Other Python specific notes: |
Runic | Signature: [static,const] QFontDatabase_WritingSystem Runic Description: Enum constant QFontDatabase::Runic Python specific notes: |
SimplifiedChinese | Signature: [static,const] QFontDatabase_WritingSystem SimplifiedChinese Description: Enum constant QFontDatabase::SimplifiedChinese Python specific notes: |
Sinhala | Signature: [static,const] QFontDatabase_WritingSystem Sinhala Description: Enum constant QFontDatabase::Sinhala Python specific notes: |
SmallestReadableFont | Signature: [static,const] QFontDatabase_SystemFont SmallestReadableFont Description: Enum constant QFontDatabase::SmallestReadableFont Python specific notes: |
Symbol | Signature: [static,const] QFontDatabase_WritingSystem Symbol Description: Enum constant QFontDatabase::Symbol Python specific notes: |
Syriac | Signature: [static,const] QFontDatabase_WritingSystem Syriac Description: Enum constant QFontDatabase::Syriac Python specific notes: |
Tamil | Signature: [static,const] QFontDatabase_WritingSystem Tamil Description: Enum constant QFontDatabase::Tamil Python specific notes: |
Telugu | Signature: [static,const] QFontDatabase_WritingSystem Telugu Description: Enum constant QFontDatabase::Telugu Python specific notes: |
Thaana | Signature: [static,const] QFontDatabase_WritingSystem Thaana Description: Enum constant QFontDatabase::Thaana Python specific notes: |
Thai | Signature: [static,const] QFontDatabase_WritingSystem Thai Description: Enum constant QFontDatabase::Thai Python specific notes: |
Tibetan | Signature: [static,const] QFontDatabase_WritingSystem Tibetan Description: Enum constant QFontDatabase::Tibetan Python specific notes: |
TitleFont | Signature: [static,const] QFontDatabase_SystemFont TitleFont Description: Enum constant QFontDatabase::TitleFont Python specific notes: |
TraditionalChinese | Signature: [static,const] QFontDatabase_WritingSystem TraditionalChinese Description: Enum constant QFontDatabase::TraditionalChinese Python specific notes: |
Vietnamese | Signature: [static,const] QFontDatabase_WritingSystem Vietnamese Description: Enum constant QFontDatabase::Vietnamese Python specific notes: |
WritingSystemsCount | Signature: [static,const] QFontDatabase_WritingSystem WritingSystemsCount Description: Enum constant QFontDatabase::WritingSystemsCount Python specific notes: |
_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: |
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: |
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) |