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 « QDoubleValidator »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QValidator
                QDoubleValidator

Définition

class QDoubleValidator(QValidator):

Description [extrait de QDoubleValidator.__doc__]

QDoubleValidator(self, bottom: float, top: float, decimals: int, parent: typing.Union[PySide2.QtCore.QObject, NoneType] = None)
QDoubleValidator(self, parent: typing.Union[PySide2.QtCore.QObject, NoneType] = None)

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
AcceptablePySide2.QtGui.QValidator.State.Acceptable
IntermediatePySide2.QtGui.QValidator.State.Intermediate
InvalidPySide2.QtGui.QValidator.State.Invalid
ScientificNotationPySide2.QtGui.QDoubleValidator.Notation.ScientificNotation
StandardNotationPySide2.QtGui.QDoubleValidator.Notation.StandardNotation
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe36ac7c80>

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
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
bottom(self) -> float bottom(self) -> float [extrait de bottom.__doc__]
bottomChanged
changed
decimals(self) -> int decimals(self) -> int [extrait de decimals.__doc__]
decimalsChanged
destroyed
Notation
notation(self) -> PySide2.QtGui.QDoubleValidator.Notation notation(self) -> PySide2.QtGui.QDoubleValidator.Notation [extrait de notation.__doc__]
notationChanged
objectNameChanged
setBottom(self, arg__1: float) setBottom(self, arg__1: float) [extrait de setBottom.__doc__]
setDecimals(self, arg__1: int) setDecimals(self, arg__1: int) [extrait de setDecimals.__doc__]
setNotation(self, arg__1: PySide2.QtGui.QDoubleValidator.Notation) setNotation(self, arg__1: PySide2.QtGui.QDoubleValidator.Notation) [extrait de setNotation.__doc__]
setRange(self, bottom: float, top: float, decimals: int = 0) setRange(self, bottom: float, top: float, decimals: int = 0) [extrait de setRange.__doc__]
setTop(self, arg__1: float) setTop(self, arg__1: float) [extrait de setTop.__doc__]
top(self) -> float top(self) -> float [extrait de top.__doc__]
topChanged
validate(self, arg__1: str, arg__2: int) -> PySide2.QtGui.QValidator.State validate(self, arg__1: str, arg__2: int) -> PySide2.QtGui.QValidator.State [extrait de validate.__doc__]

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

__init_subclass__, __subclasshook__, fixup, locale, setLocale, State

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

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, registerUserData, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

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

__init_subclass__, __subclasshook__

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

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