builtins.object Object QPaintDevice builtins.object Object QObject QWidget QDialog QFontDialog
class QFontDialog(QDialog):
QFontDialog(self, initial: PySide2.QtGui.QFont, parent: typing.Union[PySide2.QtWidgets.QWidget, NoneType] = None) QFontDialog(self, parent: typing.Union[PySide2.QtWidgets.QWidget, NoneType] = None)
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__] |
Nom de l'attribut | Valeur |
---|---|
Accepted | PySide2.QtWidgets.QDialog.DialogCode.Accepted |
DontUseNativeDialog | PySide2.QtWidgets.QFontDialog.FontDialogOption.DontUseNativeDialog |
DrawChildren | PySide2.QtWidgets.QWidget.RenderFlag.DrawChildren |
DrawWindowBackground | PySide2.QtWidgets.QWidget.RenderFlag.DrawWindowBackground |
IgnoreMask | PySide2.QtWidgets.QWidget.RenderFlag.IgnoreMask |
MonospacedFonts | PySide2.QtWidgets.QFontDialog.FontDialogOption.MonospacedFonts |
NoButtons | PySide2.QtWidgets.QFontDialog.FontDialogOption.NoButtons |
NonScalableFonts | PySide2.QtWidgets.QFontDialog.FontDialogOption.NonScalableFonts |
PdmDepth | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDepth |
PdmDevicePixelRatio | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatio |
PdmDevicePixelRatioScaled | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatioScaled |
PdmDpiX | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiX |
PdmDpiY | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiY |
PdmHeight | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeight |
PdmHeightMM | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeightMM |
PdmNumColors | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmNumColors |
PdmPhysicalDpiX | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiX |
PdmPhysicalDpiY | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiY |
PdmWidth | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidth |
PdmWidthMM | PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidthMM |
ProportionalFonts | PySide2.QtWidgets.QFontDialog.FontDialogOption.ProportionalFonts |
Rejected | PySide2.QtWidgets.QDialog.DialogCode.Rejected |
ScalableFonts | PySide2.QtWidgets.QFontDialog.FontDialogOption.ScalableFonts |
staticMetaObject | <PySide2.QtCore.QMetaObject object at 0x7efe35a28440> |
Signature de la méthode | Description |
---|---|
__delattr__(self, name) | Implement delattr(self, name). [extrait de __delattr__.__doc__] |
__setattr__(self, name, value) | Implement setattr(self, name, value). [extrait de __setattr__.__doc__] |
accepted | |
changeEvent(self, event: PySide2.QtCore.QEvent) | changeEvent(self, event: PySide2.QtCore.QEvent) [extrait de changeEvent.__doc__] |
currentFont(self) -> PySide2.QtGui.QFont | currentFont(self) -> PySide2.QtGui.QFont [extrait de currentFont.__doc__] |
currentFontChanged | |
customContextMenuRequested | |
destroyed | |
done(self, result: int) | done(self, result: int) [extrait de done.__doc__] |
eventFilter(self, object: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) -> bool | eventFilter(self, object: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) -> bool [extrait de eventFilter.__doc__] |
finished | |
FontDialogOption | |
FontDialogOptions | |
fontSelected | |
getFont | getFont(initial: PySide2.QtGui.QFont, parent: typing.Union[PySide2.QtWidgets.QWidget, NoneType] = None, title: str = '', options: PySide2.QtWidgets.QFontDialog.FontDialogOptions = Default(QFontDialog.FontDialogOptions)) -> typing.Tuple[PySide2.QtGui.QFont, bool] [extrait de getFont.__doc__] |
objectNameChanged | |
open | open(self) [extrait de open.__doc__] |
options(self) -> PySide2.QtWidgets.QFontDialog.FontDialogOptions | options(self) -> PySide2.QtWidgets.QFontDialog.FontDialogOptions [extrait de options.__doc__] |
rejected | |
selectedFont(self) -> PySide2.QtGui.QFont | selectedFont(self) -> PySide2.QtGui.QFont [extrait de selectedFont.__doc__] |
setCurrentFont(self, font: PySide2.QtGui.QFont) | setCurrentFont(self, font: PySide2.QtGui.QFont) [extrait de setCurrentFont.__doc__] |
setOption(self, option: PySide2.QtWidgets.QFontDialog.FontDialogOption, on: bool = True) | setOption(self, option: PySide2.QtWidgets.QFontDialog.FontDialogOption, on: bool = True) [extrait de setOption.__doc__] |
setOptions(self, options: PySide2.QtWidgets.QFontDialog.FontDialogOptions) | setOptions(self, options: PySide2.QtWidgets.QFontDialog.FontDialogOptions) [extrait de setOptions.__doc__] |
setVisible(self, visible: bool) | setVisible(self, visible: bool) [extrait de setVisible.__doc__] |
testOption(self, option: PySide2.QtWidgets.QFontDialog.FontDialogOption) -> bool | testOption(self, option: PySide2.QtWidgets.QFontDialog.FontDialogOption) -> bool [extrait de testOption.__doc__] |
windowIconChanged | |
windowIconTextChanged | |
windowTitleChanged |
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 :