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

Classe « QWizard »

Informations générales

Héritage

builtins.object
    Object
        QPaintDevice
builtins.object
    Object
        QObject
            QWidget
                QDialog
                    QWizard

Définition

class QWizard(QDialog):

Description [extrait de QWizard.__doc__]

QWizard(self, parent: typing.Union[PySide2.QtWidgets.QWidget, NoneType] = None, flags: PySide2.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags))

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
AcceptedPySide2.QtWidgets.QDialog.DialogCode.Accepted
AeroStylePySide2.QtWidgets.QWizard.WizardStyle.AeroStyle
BackButtonPySide2.QtWidgets.QWizard.WizardButton.BackButton
BackgroundPixmapPySide2.QtWidgets.QWizard.WizardPixmap.BackgroundPixmap
BannerPixmapPySide2.QtWidgets.QWizard.WizardPixmap.BannerPixmap
CancelButtonPySide2.QtWidgets.QWizard.WizardButton.CancelButton
CancelButtonOnLeftPySide2.QtWidgets.QWizard.WizardOption.CancelButtonOnLeft
ClassicStylePySide2.QtWidgets.QWizard.WizardStyle.ClassicStyle
CommitButtonPySide2.QtWidgets.QWizard.WizardButton.CommitButton
CustomButton1PySide2.QtWidgets.QWizard.WizardButton.CustomButton1
CustomButton2PySide2.QtWidgets.QWizard.WizardButton.CustomButton2
CustomButton3PySide2.QtWidgets.QWizard.WizardButton.CustomButton3
DisabledBackButtonOnLastPagePySide2.QtWidgets.QWizard.WizardOption.DisabledBackButtonOnLastPage
DrawChildrenPySide2.QtWidgets.QWidget.RenderFlag.DrawChildren
DrawWindowBackgroundPySide2.QtWidgets.QWidget.RenderFlag.DrawWindowBackground
ExtendedWatermarkPixmapPySide2.QtWidgets.QWizard.WizardOption.ExtendedWatermarkPixmap
FinishButtonPySide2.QtWidgets.QWizard.WizardButton.FinishButton
HaveCustomButton1PySide2.QtWidgets.QWizard.WizardOption.HaveCustomButton1
HaveCustomButton2PySide2.QtWidgets.QWizard.WizardOption.HaveCustomButton2
HaveCustomButton3PySide2.QtWidgets.QWizard.WizardOption.HaveCustomButton3
HaveFinishButtonOnEarlyPagesPySide2.QtWidgets.QWizard.WizardOption.HaveFinishButtonOnEarlyPages
HaveHelpButtonPySide2.QtWidgets.QWizard.WizardOption.HaveHelpButton
HaveNextButtonOnLastPagePySide2.QtWidgets.QWizard.WizardOption.HaveNextButtonOnLastPage
HelpButtonPySide2.QtWidgets.QWizard.WizardButton.HelpButton
HelpButtonOnRightPySide2.QtWidgets.QWizard.WizardOption.HelpButtonOnRight
IgnoreMaskPySide2.QtWidgets.QWidget.RenderFlag.IgnoreMask
IgnoreSubTitlesPySide2.QtWidgets.QWizard.WizardOption.IgnoreSubTitles
IndependentPagesPySide2.QtWidgets.QWizard.WizardOption.IndependentPages
LogoPixmapPySide2.QtWidgets.QWizard.WizardPixmap.LogoPixmap
MacStylePySide2.QtWidgets.QWizard.WizardStyle.MacStyle
ModernStylePySide2.QtWidgets.QWizard.WizardStyle.ModernStyle
NButtonsPySide2.QtWidgets.QWizard.WizardButton.NButtons
NextButtonPySide2.QtWidgets.QWizard.WizardButton.NextButton
NoBackButtonOnLastPagePySide2.QtWidgets.QWizard.WizardOption.NoBackButtonOnLastPage
NoBackButtonOnStartPagePySide2.QtWidgets.QWizard.WizardOption.NoBackButtonOnStartPage
NoButtonPySide2.QtWidgets.QWizard.WizardButton.NoButton
NoCancelButtonPySide2.QtWidgets.QWizard.WizardOption.NoCancelButton
NoCancelButtonOnLastPagePySide2.QtWidgets.QWizard.WizardOption.NoCancelButtonOnLastPage
NoDefaultButtonPySide2.QtWidgets.QWizard.WizardOption.NoDefaultButton
NPixmapsPySide2.QtWidgets.QWizard.WizardPixmap.NPixmaps
NStandardButtonsPySide2.QtWidgets.QWizard.WizardButton.NStandardButtons
NStylesPySide2.QtWidgets.QWizard.WizardStyle.NStyles
PdmDepthPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDepth
PdmDevicePixelRatioPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatio
PdmDevicePixelRatioScaledPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatioScaled
PdmDpiXPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiX
PdmDpiYPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiY
PdmHeightPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeight
PdmHeightMMPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeightMM
PdmNumColorsPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmNumColors
PdmPhysicalDpiXPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiX
PdmPhysicalDpiYPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiY
PdmWidthPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidth
PdmWidthMMPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidthMM
RejectedPySide2.QtWidgets.QDialog.DialogCode.Rejected
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe35a22280>
StretchPySide2.QtWidgets.QWizard.WizardButton.Stretch
WatermarkPixmapPySide2.QtWidgets.QWizard.WizardPixmap.WatermarkPixmap

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__]
accepted
addPage(self, page: PySide2.QtWidgets.QWizardPage) -> int addPage(self, page: PySide2.QtWidgets.QWizardPage) -> int [extrait de addPage.__doc__]
back(self) back(self) [extrait de back.__doc__]
button(self, which: PySide2.QtWidgets.QWizard.WizardButton) -> PySide2.QtWidgets.QAbstractButton button(self, which: PySide2.QtWidgets.QWizard.WizardButton) -> PySide2.QtWidgets.QAbstractButton [extrait de button.__doc__]
buttonText(self, which: PySide2.QtWidgets.QWizard.WizardButton) -> str buttonText(self, which: PySide2.QtWidgets.QWizard.WizardButton) -> str [extrait de buttonText.__doc__]
cleanupPage(self, id: int) cleanupPage(self, id: int) [extrait de cleanupPage.__doc__]
currentId(self) -> int currentId(self) -> int [extrait de currentId.__doc__]
currentIdChanged
currentPage(self) -> PySide2.QtWidgets.QWizardPage currentPage(self) -> PySide2.QtWidgets.QWizardPage [extrait de currentPage.__doc__]
customButtonClicked
customContextMenuRequested
destroyed
done(self, result: int) done(self, result: int) [extrait de done.__doc__]
event(self, event: PySide2.QtCore.QEvent) -> bool event(self, event: PySide2.QtCore.QEvent) -> bool [extrait de event.__doc__]
field(self, name: str) -> typing.Any field(self, name: str) -> typing.Any [extrait de field.__doc__]
finished
hasVisitedPage(self, id: int) -> bool hasVisitedPage(self, id: int) -> bool [extrait de hasVisitedPage.__doc__]
helpRequested
initializePage(self, id: int) initializePage(self, id: int) [extrait de initializePage.__doc__]
next(self) next(self) [extrait de next.__doc__]
nextId(self) -> int nextId(self) -> int [extrait de nextId.__doc__]
objectNameChanged
options(self) -> PySide2.QtWidgets.QWizard.WizardOptions options(self) -> PySide2.QtWidgets.QWizard.WizardOptions [extrait de options.__doc__]
page(self, id: int) -> PySide2.QtWidgets.QWizardPage page(self, id: int) -> PySide2.QtWidgets.QWizardPage [extrait de page.__doc__]
pageAdded
pageIds(self) -> typing.List[int] pageIds(self) -> typing.List[int] [extrait de pageIds.__doc__]
pageRemoved
paintEvent(self, event: PySide2.QtGui.QPaintEvent) paintEvent(self, event: PySide2.QtGui.QPaintEvent) [extrait de paintEvent.__doc__]
pixmap(self, which: PySide2.QtWidgets.QWizard.WizardPixmap) -> PySide2.QtGui.QPixmap pixmap(self, which: PySide2.QtWidgets.QWizard.WizardPixmap) -> PySide2.QtGui.QPixmap [extrait de pixmap.__doc__]
rejected
removePage(self, id: int) removePage(self, id: int) [extrait de removePage.__doc__]
resizeEvent(self, event: PySide2.QtGui.QResizeEvent) resizeEvent(self, event: PySide2.QtGui.QResizeEvent) [extrait de resizeEvent.__doc__]
restart(self) restart(self) [extrait de restart.__doc__]
setButton(self, which: PySide2.QtWidgets.QWizard.WizardButton, button: PySide2.QtWidgets.QAbstractButton) setButton(self, which: PySide2.QtWidgets.QWizard.WizardButton, button: PySide2.QtWidgets.QAbstractButton) [extrait de setButton.__doc__]
setButtonLayout(self, layout: typing.Sequence[PySide2.QtWidgets.QWizard.WizardButton]) setButtonLayout(self, layout: typing.Sequence[PySide2.QtWidgets.QWizard.WizardButton]) [extrait de setButtonLayout.__doc__]
setButtonText(self, which: PySide2.QtWidgets.QWizard.WizardButton, text: str) setButtonText(self, which: PySide2.QtWidgets.QWizard.WizardButton, text: str) [extrait de setButtonText.__doc__]
setDefaultProperty(self, className: bytes, property: bytes, changedSignal: bytes) setDefaultProperty(self, className: bytes, property: bytes, changedSignal: bytes) [extrait de setDefaultProperty.__doc__]
setField(self, name: str, value: typing.Any) setField(self, name: str, value: typing.Any) [extrait de setField.__doc__]
setOption(self, option: PySide2.QtWidgets.QWizard.WizardOption, on: bool = True) setOption(self, option: PySide2.QtWidgets.QWizard.WizardOption, on: bool = True) [extrait de setOption.__doc__]
setOptions(self, options: PySide2.QtWidgets.QWizard.WizardOptions) setOptions(self, options: PySide2.QtWidgets.QWizard.WizardOptions) [extrait de setOptions.__doc__]
setPage(self, id: int, page: PySide2.QtWidgets.QWizardPage) setPage(self, id: int, page: PySide2.QtWidgets.QWizardPage) [extrait de setPage.__doc__]
setPixmap(self, which: PySide2.QtWidgets.QWizard.WizardPixmap, pixmap: PySide2.QtGui.QPixmap) setPixmap(self, which: PySide2.QtWidgets.QWizard.WizardPixmap, pixmap: PySide2.QtGui.QPixmap) [extrait de setPixmap.__doc__]
setSideWidget(self, widget: PySide2.QtWidgets.QWidget) setSideWidget(self, widget: PySide2.QtWidgets.QWidget) [extrait de setSideWidget.__doc__]
setStartId(self, id: int) setStartId(self, id: int) [extrait de setStartId.__doc__]
setSubTitleFormat(self, format: PySide2.QtCore.Qt.TextFormat) setSubTitleFormat(self, format: PySide2.QtCore.Qt.TextFormat) [extrait de setSubTitleFormat.__doc__]
setTitleFormat(self, format: PySide2.QtCore.Qt.TextFormat) setTitleFormat(self, format: PySide2.QtCore.Qt.TextFormat) [extrait de setTitleFormat.__doc__]
setVisible(self, visible: bool) setVisible(self, visible: bool) [extrait de setVisible.__doc__]
setWizardStyle(self, style: PySide2.QtWidgets.QWizard.WizardStyle) setWizardStyle(self, style: PySide2.QtWidgets.QWizard.WizardStyle) [extrait de setWizardStyle.__doc__]
sideWidget(self) -> PySide2.QtWidgets.QWidget sideWidget(self) -> PySide2.QtWidgets.QWidget [extrait de sideWidget.__doc__]
sizeHint(self) -> PySide2.QtCore.QSize sizeHint(self) -> PySide2.QtCore.QSize [extrait de sizeHint.__doc__]
startId(self) -> int startId(self) -> int [extrait de startId.__doc__]
subTitleFormat(self) -> PySide2.QtCore.Qt.TextFormat subTitleFormat(self) -> PySide2.QtCore.Qt.TextFormat [extrait de subTitleFormat.__doc__]
testOption(self, option: PySide2.QtWidgets.QWizard.WizardOption) -> bool testOption(self, option: PySide2.QtWidgets.QWizard.WizardOption) -> bool [extrait de testOption.__doc__]
titleFormat(self) -> PySide2.QtCore.Qt.TextFormat titleFormat(self) -> PySide2.QtCore.Qt.TextFormat [extrait de titleFormat.__doc__]
validateCurrentPage(self) -> bool validateCurrentPage(self) -> bool [extrait de validateCurrentPage.__doc__]
visitedPages(self) -> typing.List[int] visitedPages(self) -> typing.List[int] [extrait de visitedPages.__doc__]
windowIconChanged
windowIconTextChanged
windowTitleChanged
WizardButton
WizardOption
WizardOptions
WizardPixmap
WizardStyle
wizardStyle(self) -> PySide2.QtWidgets.QWizard.WizardStyle wizardStyle(self) -> PySide2.QtWidgets.QWizard.WizardStyle [extrait de wizardStyle.__doc__]

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

__init_subclass__, __subclasshook__, accept, adjustPosition, closeEvent, contextMenuEvent, DialogCode, eventFilter, exec_, extension, isSizeGripEnabled, keyPressEvent, minimumSizeHint, open, orientation, reject, result, setExtension, setModal, setOrientation, setResult, setSizeGripEnabled, showEvent, showExtension

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, changeEvent, childAt, childrenRect, childrenRegion, clearFocus, clearMask, close, closeEvent, contentsMargins, contentsRect, contextMenuEvent, contextMenuPolicy, create, createWindowContainer, createWinId, cursor, destroy, devType, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, effectiveWinId, ensurePolished, enterEvent, find, focusInEvent, focusNextChild, focusNextPrevChild, focusOutEvent, focusPolicy, focusPreviousChild, focusProxy, focusWidget, font, fontInfo, fontMetrics, foregroundRole, frameGeometry, frameSize, geometry, getContentsMargins, grab, grabGesture, grabKeyboard, grabMouse, grabShortcut, graphicsEffect, graphicsProxyWidget, hasFocus, hasHeightForWidth, hasMouseTracking, hasTabletTracking, height, heightForWidth, hide, hideEvent, initPainter, inputMethodEvent, inputMethodHints, inputMethodQuery, insertAction, insertActions, internalWinId, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isEnabledToTLW, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isTopLevel, isVisible, isVisibleTo, isWindow, isWindowModified, keyboardGrabber, keyPressEvent, keyReleaseEvent, layout, layoutDirection, leaveEvent, locale, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, metric, minimumHeight, minimumSize, minimumSizeHint, minimumWidth, mouseDoubleClickEvent, mouseGrabber, mouseMoveEvent, mousePressEvent, mouseReleaseEvent, 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, setShortcutAutoRepeat, setShortcutEnabled, setSizeIncrement, setSizePolicy, setStatusTip, setStyle, setStyleSheet, setTabletTracking, setTabOrder, setToolTip, setToolTipDuration, setUpdatesEnabled, setWhatsThis, setWindowFilePath, setWindowFlag, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModality, setWindowModified, setWindowOpacity, setWindowRole, setWindowState, setWindowTitle, sharedPainter, show, showEvent, 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, wheelEvent, 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, 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__