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

Informations générales

Héritage

builtins.object
    Object
        QPaintDevice
builtins.object
    Object
        QObject
            QWidget
                QFrame
                    QAbstractScrollArea
                        QAbstractItemView
                            QColumnView

Définition

class QColumnView(QAbstractItemView):

Description [extrait de QColumnView.__doc__]

QColumnView(self, 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
AboveItemPySide2.QtWidgets.QAbstractItemView.DropIndicatorPosition.AboveItem
AdjustIgnoredPySide2.QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustIgnored
AdjustToContentsPySide2.QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustToContents
AdjustToContentsOnFirstShowPySide2.QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustToContentsOnFirstShow
AllEditTriggersPySide2.QtWidgets.QAbstractItemView.EditTrigger.AllEditTriggers
AnimatingStatePySide2.QtWidgets.QAbstractItemView.State.AnimatingState
AnyKeyPressedPySide2.QtWidgets.QAbstractItemView.EditTrigger.AnyKeyPressed
BelowItemPySide2.QtWidgets.QAbstractItemView.DropIndicatorPosition.BelowItem
BoxPySide2.QtWidgets.QFrame.Shape.Box
CollapsingStatePySide2.QtWidgets.QAbstractItemView.State.CollapsingState
ContiguousSelectionPySide2.QtWidgets.QAbstractItemView.SelectionMode.ContiguousSelection
CurrentChangedPySide2.QtWidgets.QAbstractItemView.EditTrigger.CurrentChanged
DoubleClickedPySide2.QtWidgets.QAbstractItemView.EditTrigger.DoubleClicked
DragDropPySide2.QtWidgets.QAbstractItemView.DragDropMode.DragDrop
DraggingStatePySide2.QtWidgets.QAbstractItemView.State.DraggingState
DragOnlyPySide2.QtWidgets.QAbstractItemView.DragDropMode.DragOnly
DragSelectingStatePySide2.QtWidgets.QAbstractItemView.State.DragSelectingState
DrawChildrenPySide2.QtWidgets.QWidget.RenderFlag.DrawChildren
DrawWindowBackgroundPySide2.QtWidgets.QWidget.RenderFlag.DrawWindowBackground
DropOnlyPySide2.QtWidgets.QAbstractItemView.DragDropMode.DropOnly
EditingStatePySide2.QtWidgets.QAbstractItemView.State.EditingState
EditKeyPressedPySide2.QtWidgets.QAbstractItemView.EditTrigger.EditKeyPressed
EnsureVisiblePySide2.QtWidgets.QAbstractItemView.ScrollHint.EnsureVisible
ExpandingStatePySide2.QtWidgets.QAbstractItemView.State.ExpandingState
ExtendedSelectionPySide2.QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection
HLinePySide2.QtWidgets.QFrame.Shape.HLine
IgnoreMaskPySide2.QtWidgets.QWidget.RenderFlag.IgnoreMask
InternalMovePySide2.QtWidgets.QAbstractItemView.DragDropMode.InternalMove
MoveDownPySide2.QtWidgets.QAbstractItemView.CursorAction.MoveDown
MoveEndPySide2.QtWidgets.QAbstractItemView.CursorAction.MoveEnd
MoveHomePySide2.QtWidgets.QAbstractItemView.CursorAction.MoveHome
MoveLeftPySide2.QtWidgets.QAbstractItemView.CursorAction.MoveLeft
MoveNextPySide2.QtWidgets.QAbstractItemView.CursorAction.MoveNext
MovePageDownPySide2.QtWidgets.QAbstractItemView.CursorAction.MovePageDown
MovePageUpPySide2.QtWidgets.QAbstractItemView.CursorAction.MovePageUp
MovePreviousPySide2.QtWidgets.QAbstractItemView.CursorAction.MovePrevious
MoveRightPySide2.QtWidgets.QAbstractItemView.CursorAction.MoveRight
MoveUpPySide2.QtWidgets.QAbstractItemView.CursorAction.MoveUp
MultiSelectionPySide2.QtWidgets.QAbstractItemView.SelectionMode.MultiSelection
NoDragDropPySide2.QtWidgets.QAbstractItemView.DragDropMode.NoDragDrop
NoEditTriggersPySide2.QtWidgets.QAbstractItemView.EditTrigger.NoEditTriggers
NoFramePySide2.QtWidgets.QFrame.Shape.NoFrame
NoSelectionPySide2.QtWidgets.QAbstractItemView.SelectionMode.NoSelection
NoStatePySide2.QtWidgets.QAbstractItemView.State.NoState
OnItemPySide2.QtWidgets.QAbstractItemView.DropIndicatorPosition.OnItem
OnViewportPySide2.QtWidgets.QAbstractItemView.DropIndicatorPosition.OnViewport
PanelPySide2.QtWidgets.QFrame.Shape.Panel
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
PlainPySide2.QtWidgets.QFrame.Shadow.Plain
PositionAtBottomPySide2.QtWidgets.QAbstractItemView.ScrollHint.PositionAtBottom
PositionAtCenterPySide2.QtWidgets.QAbstractItemView.ScrollHint.PositionAtCenter
PositionAtTopPySide2.QtWidgets.QAbstractItemView.ScrollHint.PositionAtTop
RaisedPySide2.QtWidgets.QFrame.Shadow.Raised
ScrollPerItemPySide2.QtWidgets.QAbstractItemView.ScrollMode.ScrollPerItem
ScrollPerPixelPySide2.QtWidgets.QAbstractItemView.ScrollMode.ScrollPerPixel
SelectColumnsPySide2.QtWidgets.QAbstractItemView.SelectionBehavior.SelectColumns
SelectedClickedPySide2.QtWidgets.QAbstractItemView.EditTrigger.SelectedClicked
SelectItemsPySide2.QtWidgets.QAbstractItemView.SelectionBehavior.SelectItems
SelectRowsPySide2.QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows
Shadow_MaskPySide2.QtWidgets.QFrame.StyleMask.Shadow_Mask
Shape_MaskPySide2.QtWidgets.QFrame.StyleMask.Shape_Mask
SingleSelectionPySide2.QtWidgets.QAbstractItemView.SelectionMode.SingleSelection
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe3597adc0>
StyledPanelPySide2.QtWidgets.QFrame.Shape.StyledPanel
SunkenPySide2.QtWidgets.QFrame.Shadow.Sunken
VLinePySide2.QtWidgets.QFrame.Shape.VLine
WinPanelPySide2.QtWidgets.QFrame.Shape.WinPanel

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__]
activated
clicked
columnWidths(self) -> typing.List[int] columnWidths(self) -> typing.List[int] [extrait de columnWidths.__doc__]
createColumn(self, rootIndex: PySide2.QtCore.QModelIndex) -> PySide2.QtWidgets.QAbstractItemView createColumn(self, rootIndex: PySide2.QtCore.QModelIndex) -> PySide2.QtWidgets.QAbstractItemView [extrait de createColumn.__doc__]
currentChanged(self, current: PySide2.QtCore.QModelIndex, previous: PySide2.QtCore.QModelIndex) currentChanged(self, current: PySide2.QtCore.QModelIndex, previous: PySide2.QtCore.QModelIndex) [extrait de currentChanged.__doc__]
customContextMenuRequested
destroyed
doubleClicked
entered
horizontalOffset(self) -> int horizontalOffset(self) -> int [extrait de horizontalOffset.__doc__]
iconSizeChanged
indexAt(self, point: PySide2.QtCore.QPoint) -> PySide2.QtCore.QModelIndex indexAt(self, point: PySide2.QtCore.QPoint) -> PySide2.QtCore.QModelIndex [extrait de indexAt.__doc__]
initializeColumn(self, column: PySide2.QtWidgets.QAbstractItemView) initializeColumn(self, column: PySide2.QtWidgets.QAbstractItemView) [extrait de initializeColumn.__doc__]
isIndexHidden(self, index: PySide2.QtCore.QModelIndex) -> bool isIndexHidden(self, index: PySide2.QtCore.QModelIndex) -> bool [extrait de isIndexHidden.__doc__]
moveCursor(self, cursorAction: PySide2.QtWidgets.QAbstractItemView.CursorAction, modifiers: PySide2.QtCore.Qt.KeyboardModifiers) -> PySide2.QtCore.QModelIndex moveCursor(self, cursorAction: PySide2.QtWidgets.QAbstractItemView.CursorAction, modifiers: PySide2.QtCore.Qt.KeyboardModifiers) -> PySide2.QtCore.QModelIndex [extrait de moveCursor.__doc__]
objectNameChanged
pressed
previewWidget(self) -> PySide2.QtWidgets.QWidget previewWidget(self) -> PySide2.QtWidgets.QWidget [extrait de previewWidget.__doc__]
resizeEvent(self, event: PySide2.QtGui.QResizeEvent) resizeEvent(self, event: PySide2.QtGui.QResizeEvent) [extrait de resizeEvent.__doc__]
resizeGripsVisible(self) -> bool resizeGripsVisible(self) -> bool [extrait de resizeGripsVisible.__doc__]
rowsInserted(self, parent: PySide2.QtCore.QModelIndex, start: int, end: int) rowsInserted(self, parent: PySide2.QtCore.QModelIndex, start: int, end: int) [extrait de rowsInserted.__doc__]
scrollContentsBy(self, dx: int, dy: int) scrollContentsBy(self, dx: int, dy: int) [extrait de scrollContentsBy.__doc__]
scrollTo(self, index: PySide2.QtCore.QModelIndex, hint: PySide2.QtWidgets.QAbstractItemView.ScrollHint = PySide2.QtWidgets.QAbstractItemView.ScrollHint.EnsureVisible) scrollTo(self, index: PySide2.QtCore.QModelIndex, hint: PySide2.QtWidgets.QAbstractItemView.ScrollHint = PySide2.QtWidgets.QAbstractItemView.ScrollHint.EnsureVisible) [extrait de scrollTo.__doc__]
selectAll(self) selectAll(self) [extrait de selectAll.__doc__]
setColumnWidths(self, list: typing.Sequence[int]) setColumnWidths(self, list: typing.Sequence[int]) [extrait de setColumnWidths.__doc__]
setModel(self, model: PySide2.QtCore.QAbstractItemModel) setModel(self, model: PySide2.QtCore.QAbstractItemModel) [extrait de setModel.__doc__]
setPreviewWidget(self, widget: PySide2.QtWidgets.QWidget) setPreviewWidget(self, widget: PySide2.QtWidgets.QWidget) [extrait de setPreviewWidget.__doc__]
setResizeGripsVisible(self, visible: bool) setResizeGripsVisible(self, visible: bool) [extrait de setResizeGripsVisible.__doc__]
setRootIndex(self, index: PySide2.QtCore.QModelIndex) setRootIndex(self, index: PySide2.QtCore.QModelIndex) [extrait de setRootIndex.__doc__]
setSelection(self, rect: PySide2.QtCore.QRect, command: PySide2.QtCore.QItemSelectionModel.SelectionFlags) setSelection(self, rect: PySide2.QtCore.QRect, command: PySide2.QtCore.QItemSelectionModel.SelectionFlags) [extrait de setSelection.__doc__]
setSelectionModel(self, selectionModel: PySide2.QtCore.QItemSelectionModel) setSelectionModel(self, selectionModel: PySide2.QtCore.QItemSelectionModel) [extrait de setSelectionModel.__doc__]
sizeHint(self) -> PySide2.QtCore.QSize sizeHint(self) -> PySide2.QtCore.QSize [extrait de sizeHint.__doc__]
updatePreviewWidget
verticalOffset(self) -> int verticalOffset(self) -> int [extrait de verticalOffset.__doc__]
viewportEntered
visualRect(self, index: PySide2.QtCore.QModelIndex) -> PySide2.QtCore.QRect visualRect(self, index: PySide2.QtCore.QModelIndex) -> PySide2.QtCore.QRect [extrait de visualRect.__doc__]
visualRegionForSelection(self, selection: PySide2.QtCore.QItemSelection) -> PySide2.QtGui.QRegion visualRegionForSelection(self, selection: PySide2.QtCore.QItemSelection) -> PySide2.QtGui.QRegion [extrait de visualRegionForSelection.__doc__]
windowIconChanged
windowIconTextChanged
windowTitleChanged

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

__init_subclass__, __subclasshook__, alternatingRowColors, autoScrollMargin, clearSelection, closeEditor, closePersistentEditor, commitData, currentIndex, CursorAction, dataChanged, defaultDropAction, dirtyRegionOffset, doAutoScroll, doItemsLayout, DragDropMode, dragDropMode, dragDropOverwriteMode, dragEnabled, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, DropIndicatorPosition, dropIndicatorPosition, edit, editorDestroyed, EditTrigger, EditTriggers, editTriggers, event, eventFilter, executeDelayedItemsLayout, focusInEvent, focusNextPrevChild, focusOutEvent, hasAutoScroll, horizontalScrollbarAction, horizontalScrollbarValueChanged, horizontalScrollMode, horizontalStepsPerItem, iconSize, indexWidget, inputMethodEvent, inputMethodQuery, isPersistentEditorOpen, itemDelegate, itemDelegateForColumn, itemDelegateForRow, keyboardSearch, keyPressEvent, model, mouseDoubleClickEvent, mouseMoveEvent, mousePressEvent, mouseReleaseEvent, openPersistentEditor, reset, resetHorizontalScrollMode, resetVerticalScrollMode, rootIndex, rowsAboutToBeRemoved, scheduleDelayedItemsLayout, scrollDirtyRegion, ScrollHint, ScrollMode, scrollToBottom, scrollToTop, selectedIndexes, SelectionBehavior, selectionBehavior, selectionChanged, selectionCommand, SelectionMode, selectionMode, selectionModel, setAlternatingRowColors, setAutoScroll, setAutoScrollMargin, setCurrentIndex, setDefaultDropAction, setDirtyRegion, setDragDropMode, setDragDropOverwriteMode, setDragEnabled, setDropIndicatorShown, setEditTriggers, setHorizontalScrollMode, setHorizontalStepsPerItem, setIconSize, setIndexWidget, setItemDelegate, setItemDelegateForColumn, setItemDelegateForRow, setSelectionBehavior, setSelectionMode, setState, setTabKeyNavigation, setTextElideMode, setVerticalScrollMode, setVerticalStepsPerItem, showDropIndicator, sizeHintForColumn, sizeHintForIndex, sizeHintForRow, startAutoScroll, startDrag, State, state, stopAutoScroll, tabKeyNavigation, textElideMode, timerEvent, update, updateEditorData, updateEditorGeometries, updateGeometries, verticalScrollbarAction, verticalScrollbarValueChanged, verticalScrollMode, verticalStepsPerItem, viewOptions, viewportEvent, viewportSizeHint

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

__init_subclass__, __subclasshook__, addScrollBarWidget, contextMenuEvent, cornerWidget, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, event, eventFilter, horizontalScrollBar, horizontalScrollBarPolicy, keyPressEvent, maximumViewportSize, minimumSizeHint, mouseDoubleClickEvent, mouseMoveEvent, mousePressEvent, mouseReleaseEvent, paintEvent, scrollBarWidgets, setCornerWidget, setHorizontalScrollBar, setHorizontalScrollBarPolicy, setSizeAdjustPolicy, setupViewport, setVerticalScrollBar, setVerticalScrollBarPolicy, setViewport, setViewportMargins, SizeAdjustPolicy, sizeAdjustPolicy, verticalScrollBar, verticalScrollBarPolicy, viewport, viewportEvent, viewportMargins, viewportSizeHint, wheelEvent

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

__init_subclass__, __subclasshook__, changeEvent, drawFrame, event, frameRect, frameShadow, frameShape, frameStyle, frameWidth, initStyleOption, lineWidth, midLineWidth, paintEvent, setFrameRect, setFrameShadow, setFrameShape, setFrameStyle, setLineWidth, setMidLineWidth, Shadow, Shape, StyleMask

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, 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, 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__