Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide2.QtGui »

Classe « QFontDatabase »

Informations générales

Héritage

builtins.object
    Object
        QFontDatabase

Définition

class QFontDatabase(Object):

Description [extrait de QFontDatabase.__doc__]

QFontDatabase(self)
QFontDatabase(self, QFontDatabase: PySide2.QtGui.QFontDatabase)

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AnyPySide2.QtGui.QFontDatabase.WritingSystem.Any
ArabicPySide2.QtGui.QFontDatabase.WritingSystem.Arabic
ArmenianPySide2.QtGui.QFontDatabase.WritingSystem.Armenian
BengaliPySide2.QtGui.QFontDatabase.WritingSystem.Bengali
CyrillicPySide2.QtGui.QFontDatabase.WritingSystem.Cyrillic
DevanagariPySide2.QtGui.QFontDatabase.WritingSystem.Devanagari
FixedFontPySide2.QtGui.QFontDatabase.SystemFont.FixedFont
GeneralFontPySide2.QtGui.QFontDatabase.SystemFont.GeneralFont
GeorgianPySide2.QtGui.QFontDatabase.WritingSystem.Georgian
GreekPySide2.QtGui.QFontDatabase.WritingSystem.Greek
GujaratiPySide2.QtGui.QFontDatabase.WritingSystem.Gujarati
GurmukhiPySide2.QtGui.QFontDatabase.WritingSystem.Gurmukhi
HebrewPySide2.QtGui.QFontDatabase.WritingSystem.Hebrew
JapanesePySide2.QtGui.QFontDatabase.WritingSystem.Japanese
KannadaPySide2.QtGui.QFontDatabase.WritingSystem.Kannada
KhmerPySide2.QtGui.QFontDatabase.WritingSystem.Khmer
KoreanPySide2.QtGui.QFontDatabase.WritingSystem.Korean
LaoPySide2.QtGui.QFontDatabase.WritingSystem.Lao
LatinPySide2.QtGui.QFontDatabase.WritingSystem.Latin
MalayalamPySide2.QtGui.QFontDatabase.WritingSystem.Malayalam
MyanmarPySide2.QtGui.QFontDatabase.WritingSystem.Myanmar
NkoPySide2.QtGui.QFontDatabase.WritingSystem.Nko
OghamPySide2.QtGui.QFontDatabase.WritingSystem.Ogham
OriyaPySide2.QtGui.QFontDatabase.WritingSystem.Oriya
OtherPySide2.QtGui.QFontDatabase.WritingSystem.Other
RunicPySide2.QtGui.QFontDatabase.WritingSystem.Runic
SimplifiedChinesePySide2.QtGui.QFontDatabase.WritingSystem.SimplifiedChinese
SinhalaPySide2.QtGui.QFontDatabase.WritingSystem.Sinhala
SmallestReadableFontPySide2.QtGui.QFontDatabase.SystemFont.SmallestReadableFont
SymbolPySide2.QtGui.QFontDatabase.WritingSystem.Symbol
SyriacPySide2.QtGui.QFontDatabase.WritingSystem.Syriac
TamilPySide2.QtGui.QFontDatabase.WritingSystem.Tamil
TeluguPySide2.QtGui.QFontDatabase.WritingSystem.Telugu
ThaanaPySide2.QtGui.QFontDatabase.WritingSystem.Thaana
ThaiPySide2.QtGui.QFontDatabase.WritingSystem.Thai
TibetanPySide2.QtGui.QFontDatabase.WritingSystem.Tibetan
TitleFontPySide2.QtGui.QFontDatabase.SystemFont.TitleFont
TraditionalChinesePySide2.QtGui.QFontDatabase.WritingSystem.TraditionalChinese
VietnamesePySide2.QtGui.QFontDatabase.WritingSystem.Vietnamese
WritingSystemsCountPySide2.QtGui.QFontDatabase.WritingSystem.WritingSystemsCount

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__copy__(self) __copy__(self) [extrait de __copy__.__doc__]
addApplicationFont(fileName: str) -> int addApplicationFont(fileName: str) -> int [extrait de addApplicationFont.__doc__]
addApplicationFontFromData(fontData: PySide2.QtCore.QByteArray) -> int addApplicationFontFromData(fontData: PySide2.QtCore.QByteArray) -> int [extrait de addApplicationFontFromData.__doc__]
applicationFontFamilies(id: int) -> typing.List[str] applicationFontFamilies(id: int) -> typing.List[str] [extrait de applicationFontFamilies.__doc__]
bold(self, family: str, style: str) -> bool bold(self, family: str, style: str) -> bool [extrait de bold.__doc__]
families(self, writingSystem: PySide2.QtGui.QFontDatabase.WritingSystem = PySide2.QtGui.QFontDatabase.WritingSystem.Any) -> typing.List[str] families(self, writingSystem: PySide2.QtGui.QFontDatabase.WritingSystem = PySide2.QtGui.QFontDatabase.WritingSystem.Any) -> typing.List[str] [extrait de families.__doc__]
font(self, family: str, style: str, pointSize: int) -> PySide2.QtGui.QFont font(self, family: str, style: str, pointSize: int) -> PySide2.QtGui.QFont [extrait de font.__doc__]
hasFamily(self, family: str) -> bool hasFamily(self, family: str) -> bool [extrait de hasFamily.__doc__]
isBitmapScalable(self, family: str, style: str = '') -> bool isBitmapScalable(self, family: str, style: str = '') -> bool [extrait de isBitmapScalable.__doc__]
isFixedPitch(self, family: str, style: str = '') -> bool isFixedPitch(self, family: str, style: str = '') -> bool [extrait de isFixedPitch.__doc__]
isPrivateFamily(self, family: str) -> bool isPrivateFamily(self, family: str) -> bool [extrait de isPrivateFamily.__doc__]
isScalable(self, family: str, style: str = '') -> bool isScalable(self, family: str, style: str = '') -> bool [extrait de isScalable.__doc__]
isSmoothlyScalable(self, family: str, style: str = '') -> bool isSmoothlyScalable(self, family: str, style: str = '') -> bool [extrait de isSmoothlyScalable.__doc__]
italic(self, family: str, style: str) -> bool italic(self, family: str, style: str) -> bool [extrait de italic.__doc__]
pointSizes(self, family: str, style: str = '') -> typing.List[int] pointSizes(self, family: str, style: str = '') -> typing.List[int] [extrait de pointSizes.__doc__]
removeAllApplicationFonts() -> bool removeAllApplicationFonts() -> bool [extrait de removeAllApplicationFonts.__doc__]
removeApplicationFont(id: int) -> bool removeApplicationFont(id: int) -> bool [extrait de removeApplicationFont.__doc__]
smoothSizes(self, family: str, style: str) -> typing.List[int] smoothSizes(self, family: str, style: str) -> typing.List[int] [extrait de smoothSizes.__doc__]
standardSizes() -> typing.List[int] standardSizes() -> typing.List[int] [extrait de standardSizes.__doc__]
styles(self, family: str) -> typing.List[str] styles(self, family: str) -> typing.List[str] [extrait de styles.__doc__]
styleString styleString(self, font: PySide2.QtGui.QFont) -> str [extrait de styleString.__doc__]
supportsThreadedFontRendering() -> bool supportsThreadedFontRendering() -> bool [extrait de supportsThreadedFontRendering.__doc__]
SystemFont
systemFont(type: PySide2.QtGui.QFontDatabase.SystemFont) -> PySide2.QtGui.QFont systemFont(type: PySide2.QtGui.QFontDatabase.SystemFont) -> PySide2.QtGui.QFont [extrait de systemFont.__doc__]
weight(self, family: str, style: str) -> int weight(self, family: str, style: str) -> int [extrait de weight.__doc__]
WritingSystem
writingSystemName(writingSystem: PySide2.QtGui.QFontDatabase.WritingSystem) -> str writingSystemName(writingSystem: PySide2.QtGui.QFontDatabase.WritingSystem) -> str [extrait de writingSystemName.__doc__]
writingSystems writingSystems(self) -> typing.List[PySide2.QtGui.QFontDatabase.WritingSystem] [extrait de writingSystems.__doc__]
writingSystemSample(writingSystem: PySide2.QtGui.QFontDatabase.WritingSystem) -> str writingSystemSample(writingSystem: PySide2.QtGui.QFontDatabase.WritingSystem) -> str [extrait de writingSystemSample.__doc__]

Méthodes héritées de la classe Object

__init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__delattr__, __dir__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__