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

Classe « QAbstractPrintDialog »

Informations générales

Héritage

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

Définition

class QAbstractPrintDialog(QDialog):

Description [extrait de QAbstractPrintDialog.__doc__]

QAbstractPrintDialog(self, printer: PySide2.QtPrintSupport.QPrinter, parent: typing.Union[PySide2.QtWidgets.QWidget, 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
AcceptedPySide2.QtWidgets.QDialog.DialogCode.Accepted
AllPagesPySide2.QtPrintSupport.QAbstractPrintDialog.PrintRange.AllPages
CurrentPagePySide2.QtPrintSupport.QAbstractPrintDialog.PrintRange.CurrentPage
DontUseSheetPySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption.DontUseSheet
DrawChildrenPySide2.QtWidgets.QWidget.RenderFlag.DrawChildren
DrawWindowBackgroundPySide2.QtWidgets.QWidget.RenderFlag.DrawWindowBackground
IgnoreMaskPySide2.QtWidgets.QWidget.RenderFlag.IgnoreMask
None_PySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption.None_
PageRangePySide2.QtPrintSupport.QAbstractPrintDialog.PrintRange.PageRange
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
PrintCollateCopiesPySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption.PrintCollateCopies
PrintCurrentPagePySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption.PrintCurrentPage
PrintPageRangePySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption.PrintPageRange
PrintSelectionPySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption.PrintSelection
PrintShowPageSizePySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption.PrintShowPageSize
PrintToFilePySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption.PrintToFile
RejectedPySide2.QtWidgets.QDialog.DialogCode.Rejected
SelectionPySide2.QtPrintSupport.QAbstractPrintDialog.PrintRange.Selection
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe3399d140>

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
addEnabledOption(self, option: PySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption) addEnabledOption(self, option: PySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption) [extrait de addEnabledOption.__doc__]
customContextMenuRequested
destroyed
enabledOptions(self) -> PySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOptions enabledOptions(self) -> PySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOptions [extrait de enabledOptions.__doc__]
finished
fromPage(self) -> int fromPage(self) -> int [extrait de fromPage.__doc__]
isOptionEnabled(self, option: PySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption) -> bool isOptionEnabled(self, option: PySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption) -> bool [extrait de isOptionEnabled.__doc__]
maxPage(self) -> int maxPage(self) -> int [extrait de maxPage.__doc__]
minPage(self) -> int minPage(self) -> int [extrait de minPage.__doc__]
objectNameChanged
PrintDialogOption
PrintDialogOptions
printer(self) -> PySide2.QtPrintSupport.QPrinter printer(self) -> PySide2.QtPrintSupport.QPrinter [extrait de printer.__doc__]
PrintRange
printRange(self) -> PySide2.QtPrintSupport.QAbstractPrintDialog.PrintRange printRange(self) -> PySide2.QtPrintSupport.QAbstractPrintDialog.PrintRange [extrait de printRange.__doc__]
rejected
setEnabledOptions(self, options: PySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOptions) setEnabledOptions(self, options: PySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOptions) [extrait de setEnabledOptions.__doc__]
setFromTo(self, fromPage: int, toPage: int) setFromTo(self, fromPage: int, toPage: int) [extrait de setFromTo.__doc__]
setMinMax(self, min: int, max: int) setMinMax(self, min: int, max: int) [extrait de setMinMax.__doc__]
setOptionTabs(self, tabs: typing.Sequence[PySide2.QtWidgets.QWidget]) setOptionTabs(self, tabs: typing.Sequence[PySide2.QtWidgets.QWidget]) [extrait de setOptionTabs.__doc__]
setPrintRange(self, range: PySide2.QtPrintSupport.QAbstractPrintDialog.PrintRange) setPrintRange(self, range: PySide2.QtPrintSupport.QAbstractPrintDialog.PrintRange) [extrait de setPrintRange.__doc__]
toPage(self) -> int toPage(self) -> int [extrait de toPage.__doc__]
windowIconChanged
windowIconTextChanged
windowTitleChanged

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

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

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, event, 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, paintEvent, palette, parentWidget, pos, previousInFocusChain, raise_, rect, redirected, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, render, RenderFlag, RenderFlags, repaint, resize, resizeEvent, 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, setVisible, setWhatsThis, setWindowFilePath, setWindowFlag, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModality, setWindowModified, setWindowOpacity, setWindowRole, setWindowState, setWindowTitle, sharedPainter, show, showEvent, showFullScreen, showMaximized, showMinimized, showNormal, size, sizeHint, 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, 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__