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 « PySide6.QtWidgets »

Classe « QAbstractSpinBox »

Informations générales

Héritage

builtins.object
    Object
        QPaintDevice
builtins.object
    Object
        QObject
            QWidget
                QAbstractSpinBox

Définition

class QAbstractSpinBox(QWidget):

Description [extrait de QAbstractSpinBox.__doc__]

QAbstractSpinBox(self, parent: Optional[PySide6.QtWidgets.QWidget] = None) -> 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, parent: Optional[PySide6.QtWidgets.QWidget] = None) -> None __init__(self, parent: Optional[PySide6.QtWidgets.QWidget] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AdaptiveDecimalStepTypePySide6.QtWidgets.QAbstractSpinBox.StepType.AdaptiveDecimalStepType
CorrectToNearestValuePySide6.QtWidgets.QAbstractSpinBox.CorrectionMode.CorrectToNearestValue
CorrectToPreviousValuePySide6.QtWidgets.QAbstractSpinBox.CorrectionMode.CorrectToPreviousValue
DefaultStepTypePySide6.QtWidgets.QAbstractSpinBox.StepType.DefaultStepType
DrawChildrenPySide6.QtWidgets.QWidget.RenderFlag.DrawChildren
DrawWindowBackgroundPySide6.QtWidgets.QWidget.RenderFlag.DrawWindowBackground
IgnoreMaskPySide6.QtWidgets.QWidget.RenderFlag.IgnoreMask
NoButtonsPySide6.QtWidgets.QAbstractSpinBox.ButtonSymbols.NoButtons
PdmDepthPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDepth
PdmDevicePixelRatioPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatio
PdmDevicePixelRatioScaledPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatioScaled
PdmDpiXPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiX
PdmDpiYPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiY
PdmHeightPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeight
PdmHeightMMPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeightMM
PdmNumColorsPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmNumColors
PdmPhysicalDpiXPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiX
PdmPhysicalDpiYPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiY
PdmWidthPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidth
PdmWidthMMPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidthMM
PlusMinusPySide6.QtWidgets.QAbstractSpinBox.ButtonSymbols.PlusMinus
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40dfe27080>
StepDownEnabledPySide6.QtWidgets.QAbstractSpinBox.StepEnabledFlag.StepDownEnabled
StepNonePySide6.QtWidgets.QAbstractSpinBox.StepEnabledFlag.StepNone
StepUpEnabledPySide6.QtWidgets.QAbstractSpinBox.StepEnabledFlag.StepUpEnabled
UpDownArrowsPySide6.QtWidgets.QAbstractSpinBox.ButtonSymbols.UpDownArrows

Attributs statiques hérités de la classe QPaintDevice

painters

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__]
alignment(self) -> PySide6.QtCore.Qt.Alignment alignment(self) -> PySide6.QtCore.Qt.Alignment [extrait de alignment.__doc__]
ButtonSymbols
buttonSymbols(self) -> PySide6.QtWidgets.QAbstractSpinBox.ButtonSymbols buttonSymbols(self) -> PySide6.QtWidgets.QAbstractSpinBox.ButtonSymbols [extrait de buttonSymbols.__doc__]
changeEvent(self, event: PySide6.QtCore.QEvent) -> None changeEvent(self, event: PySide6.QtCore.QEvent) -> None [extrait de changeEvent.__doc__]
clear(self) -> None clear(self) -> None [extrait de clear.__doc__]
closeEvent(self, event: PySide6.QtGui.QCloseEvent) -> None closeEvent(self, event: PySide6.QtGui.QCloseEvent) -> None [extrait de closeEvent.__doc__]
contextMenuEvent(self, event: PySide6.QtGui.QContextMenuEvent) -> None contextMenuEvent(self, event: PySide6.QtGui.QContextMenuEvent) -> None [extrait de contextMenuEvent.__doc__]
CorrectionMode
correctionMode(self) -> PySide6.QtWidgets.QAbstractSpinBox.CorrectionMode correctionMode(self) -> PySide6.QtWidgets.QAbstractSpinBox.CorrectionMode [extrait de correctionMode.__doc__]
customContextMenuRequested
destroyed
editingFinished
event(self, event: PySide6.QtCore.QEvent) -> bool event(self, event: PySide6.QtCore.QEvent) -> bool [extrait de event.__doc__]
fixup(self, input: str) -> None fixup(self, input: str) -> None [extrait de fixup.__doc__]
focusInEvent(self, event: PySide6.QtGui.QFocusEvent) -> None focusInEvent(self, event: PySide6.QtGui.QFocusEvent) -> None [extrait de focusInEvent.__doc__]
focusOutEvent(self, event: PySide6.QtGui.QFocusEvent) -> None focusOutEvent(self, event: PySide6.QtGui.QFocusEvent) -> None [extrait de focusOutEvent.__doc__]
hasAcceptableInput(self) -> bool hasAcceptableInput(self) -> bool [extrait de hasAcceptableInput.__doc__]
hasFrame(self) -> bool hasFrame(self) -> bool [extrait de hasFrame.__doc__]
hideEvent(self, event: PySide6.QtGui.QHideEvent) -> None hideEvent(self, event: PySide6.QtGui.QHideEvent) -> None [extrait de hideEvent.__doc__]
initStyleOption(self, option: PySide6.QtWidgets.QStyleOptionSpinBox) -> None initStyleOption(self, option: PySide6.QtWidgets.QStyleOptionSpinBox) -> None [extrait de initStyleOption.__doc__]
inputMethodQuery(self, arg__1: PySide6.QtCore.Qt.InputMethodQuery) -> Any inputMethodQuery(self, arg__1: PySide6.QtCore.Qt.InputMethodQuery) -> Any [extrait de inputMethodQuery.__doc__]
interpretText(self) -> None interpretText(self) -> None [extrait de interpretText.__doc__]
isAccelerated(self) -> bool isAccelerated(self) -> bool [extrait de isAccelerated.__doc__]
isGroupSeparatorShown(self) -> bool isGroupSeparatorShown(self) -> bool [extrait de isGroupSeparatorShown.__doc__]
isReadOnly(self) -> bool isReadOnly(self) -> bool [extrait de isReadOnly.__doc__]
keyboardTracking(self) -> bool keyboardTracking(self) -> bool [extrait de keyboardTracking.__doc__]
keyPressEvent(self, event: PySide6.QtGui.QKeyEvent) -> None keyPressEvent(self, event: PySide6.QtGui.QKeyEvent) -> None [extrait de keyPressEvent.__doc__]
keyReleaseEvent(self, event: PySide6.QtGui.QKeyEvent) -> None keyReleaseEvent(self, event: PySide6.QtGui.QKeyEvent) -> None [extrait de keyReleaseEvent.__doc__]
lineEdit(self) -> PySide6.QtWidgets.QLineEdit lineEdit(self) -> PySide6.QtWidgets.QLineEdit [extrait de lineEdit.__doc__]
minimumSizeHint(self) -> PySide6.QtCore.QSize minimumSizeHint(self) -> PySide6.QtCore.QSize [extrait de minimumSizeHint.__doc__]
mouseMoveEvent(self, event: PySide6.QtGui.QMouseEvent) -> None mouseMoveEvent(self, event: PySide6.QtGui.QMouseEvent) -> None [extrait de mouseMoveEvent.__doc__]
mousePressEvent(self, event: PySide6.QtGui.QMouseEvent) -> None mousePressEvent(self, event: PySide6.QtGui.QMouseEvent) -> None [extrait de mousePressEvent.__doc__]
mouseReleaseEvent(self, event: PySide6.QtGui.QMouseEvent) -> None mouseReleaseEvent(self, event: PySide6.QtGui.QMouseEvent) -> None [extrait de mouseReleaseEvent.__doc__]
objectNameChanged
paintEvent(self, event: PySide6.QtGui.QPaintEvent) -> None paintEvent(self, event: PySide6.QtGui.QPaintEvent) -> None [extrait de paintEvent.__doc__]
resizeEvent(self, event: PySide6.QtGui.QResizeEvent) -> None resizeEvent(self, event: PySide6.QtGui.QResizeEvent) -> None [extrait de resizeEvent.__doc__]
selectAll(self) -> None selectAll(self) -> None [extrait de selectAll.__doc__]
setAccelerated(self, on: bool) -> None setAccelerated(self, on: bool) -> None [extrait de setAccelerated.__doc__]
setAlignment(self, flag: PySide6.QtCore.Qt.Alignment) -> None setAlignment(self, flag: PySide6.QtCore.Qt.Alignment) -> None [extrait de setAlignment.__doc__]
setButtonSymbols(self, bs: PySide6.QtWidgets.QAbstractSpinBox.ButtonSymbols) -> None setButtonSymbols(self, bs: PySide6.QtWidgets.QAbstractSpinBox.ButtonSymbols) -> None [extrait de setButtonSymbols.__doc__]
setCorrectionMode(self, cm: PySide6.QtWidgets.QAbstractSpinBox.CorrectionMode) -> None setCorrectionMode(self, cm: PySide6.QtWidgets.QAbstractSpinBox.CorrectionMode) -> None [extrait de setCorrectionMode.__doc__]
setFrame(self, arg__1: bool) -> None setFrame(self, arg__1: bool) -> None [extrait de setFrame.__doc__]
setGroupSeparatorShown(self, shown: bool) -> None setGroupSeparatorShown(self, shown: bool) -> None [extrait de setGroupSeparatorShown.__doc__]
setKeyboardTracking(self, kt: bool) -> None setKeyboardTracking(self, kt: bool) -> None [extrait de setKeyboardTracking.__doc__]
setLineEdit(self, edit: PySide6.QtWidgets.QLineEdit) -> None setLineEdit(self, edit: PySide6.QtWidgets.QLineEdit) -> None [extrait de setLineEdit.__doc__]
setReadOnly(self, r: bool) -> None setReadOnly(self, r: bool) -> None [extrait de setReadOnly.__doc__]
setSpecialValueText(self, txt: str) -> None setSpecialValueText(self, txt: str) -> None [extrait de setSpecialValueText.__doc__]
setWrapping(self, w: bool) -> None setWrapping(self, w: bool) -> None [extrait de setWrapping.__doc__]
showEvent(self, event: PySide6.QtGui.QShowEvent) -> None showEvent(self, event: PySide6.QtGui.QShowEvent) -> None [extrait de showEvent.__doc__]
sizeHint(self) -> PySide6.QtCore.QSize sizeHint(self) -> PySide6.QtCore.QSize [extrait de sizeHint.__doc__]
specialValueText(self) -> str specialValueText(self) -> str [extrait de specialValueText.__doc__]
stepBy(self, steps: int) -> None stepBy(self, steps: int) -> None [extrait de stepBy.__doc__]
stepDown(self) -> None stepDown(self) -> None [extrait de stepDown.__doc__]
StepEnabled
stepEnabled(self) -> PySide6.QtWidgets.QAbstractSpinBox.StepEnabled stepEnabled(self) -> PySide6.QtWidgets.QAbstractSpinBox.StepEnabled [extrait de stepEnabled.__doc__]
StepEnabledFlag
StepType
stepUp(self) -> None stepUp(self) -> None [extrait de stepUp.__doc__]
text(self) -> str text(self) -> str [extrait de text.__doc__]
timerEvent(self, event: PySide6.QtCore.QTimerEvent) -> None timerEvent(self, event: PySide6.QtCore.QTimerEvent) -> None [extrait de timerEvent.__doc__]
tr
validate(self, input: str, pos: int) -> object validate(self, input: str, pos: int) -> object [extrait de validate.__doc__]
wheelEvent(self, event: PySide6.QtGui.QWheelEvent) -> None wheelEvent(self, event: PySide6.QtGui.QWheelEvent) -> None [extrait de wheelEvent.__doc__]
windowIconChanged
windowIconTextChanged
windowTitleChanged
wrapping(self) -> bool wrapping(self) -> bool [extrait de wrapping.__doc__]

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

__init_subclass__, __repr__, __subclasshook__, acceptDrops, accessibleDescription, accessibleName, actionEvent, actions, activateWindow, addAction, addActions, adjustSize, autoFillBackground, backgroundRole, backingStore, baseSize, childAt, childrenRect, childrenRegion, clearFocus, clearMask, close, contentsMargins, contentsRect, contextMenuPolicy, create, createWindowContainer, createWinId, cursor, destroy, devType, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, effectiveWinId, ensurePolished, enterEvent, find, focusNextChild, focusNextPrevChild, focusPolicy, focusPreviousChild, focusProxy, focusWidget, font, fontInfo, fontMetrics, foregroundRole, frameGeometry, frameSize, geometry, grab, grabGesture, grabKeyboard, grabMouse, grabShortcut, graphicsEffect, graphicsProxyWidget, hasFocus, hasHeightForWidth, hasMouseTracking, hasTabletTracking, height, heightForWidth, hide, initPainter, inputMethodEvent, inputMethodHints, insertAction, insertActions, internalWinId, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isTopLevel, isVisible, isVisibleTo, isWindow, isWindowModified, keyboardGrabber, layout, layoutDirection, leaveEvent, locale, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, metric, minimumHeight, minimumSize, minimumWidth, mouseDoubleClickEvent, mouseGrabber, move, moveEvent, nativeEvent, nativeParentWidget, nextInFocusChain, normalGeometry, overrideWindowFlags, overrideWindowState, paintEngine, palette, parentWidget, pos, previousInFocusChain, raise_, rect, redirected, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, render, RenderFlag, RenderFlags, repaint, resize, restoreGeometry, saveGeometry, screen, scroll, setAcceptDrops, setAccessibleDescription, setAccessibleName, setAttribute, setAutoFillBackground, setBackgroundRole, setBaseSize, setContentsMargins, setContextMenuPolicy, setCursor, setDisabled, setEnabled, setFixedHeight, setFixedSize, setFixedWidth, setFocus, setFocusPolicy, setFocusProxy, setFont, setForegroundRole, setGeometry, setGraphicsEffect, setHidden, setInputMethodHints, setLayout, setLayoutDirection, setLocale, setMask, setMaximumHeight, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumWidth, setMouseTracking, setPalette, setParent, setScreen, setShortcutAutoRepeat, setShortcutEnabled, setSizeIncrement, setSizePolicy, setStatusTip, setStyle, setStyleSheet, setTabletTracking, setTabOrder, setToolTip, setToolTipDuration, setUpdatesEnabled, setVisible, setWhatsThis, setWindowFilePath, setWindowFlag, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModality, setWindowModified, setWindowOpacity, setWindowRole, setWindowState, setWindowTitle, sharedPainter, show, showFullScreen, showMaximized, showMinimized, showNormal, size, sizeIncrement, sizePolicy, stackUnder, statusTip, style, styleSheet, tabletEvent, testAttribute, toolTip, toolTipDuration, topLevelWidget, underMouse, ungrabGesture, unsetCursor, unsetLayoutDirection, unsetLocale, update, updateGeometry, updateMicroFocus, updatesEnabled, visibleRegion, whatsThis, width, window, windowFilePath, windowFlags, windowHandle, windowIcon, windowIconText, windowModality, windowOpacity, windowRole, windowState, windowTitle, windowType, winId, x, y

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

__init_subclass__, __subclasshook__, colorCount, depth, devicePixelRatio, devicePixelRatioF, devicePixelRatioFScale, devType, height, heightMM, initPainter, logicalDpiX, logicalDpiY, metric, PaintDeviceMetric, paintEngine, paintingActive, physicalDpiX, physicalDpiY, redirected, sharedPainter, width, widthMM

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, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread

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

__getattribute__, __init_subclass__, __subclasshook__

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

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