builtins.object Object QPaintDevice builtins.object Object QObject QWidget QFrame QAbstractScrollArea QAbstractItemView QListView QListWidget
class QListWidget(QListView):
QListWidget(self, parent: Optional[PySide6.QtWidgets.QWidget] = None) -> None
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__] |
Nom de l'attribut | Valeur |
---|---|
AboveItem | PySide6.QtWidgets.QAbstractItemView.DropIndicatorPosition.AboveItem |
Adjust | PySide6.QtWidgets.QListView.ResizeMode.Adjust |
AdjustIgnored | PySide6.QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustIgnored |
AdjustToContents | PySide6.QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustToContents |
AdjustToContentsOnFirstShow | PySide6.QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustToContentsOnFirstShow |
AllEditTriggers | PySide6.QtWidgets.QAbstractItemView.EditTrigger.AllEditTriggers |
AnimatingState | PySide6.QtWidgets.QAbstractItemView.State.AnimatingState |
AnyKeyPressed | PySide6.QtWidgets.QAbstractItemView.EditTrigger.AnyKeyPressed |
Batched | PySide6.QtWidgets.QListView.LayoutMode.Batched |
BelowItem | PySide6.QtWidgets.QAbstractItemView.DropIndicatorPosition.BelowItem |
Box | PySide6.QtWidgets.QFrame.Shape.Box |
CollapsingState | PySide6.QtWidgets.QAbstractItemView.State.CollapsingState |
ContiguousSelection | PySide6.QtWidgets.QAbstractItemView.SelectionMode.ContiguousSelection |
CurrentChanged | PySide6.QtWidgets.QAbstractItemView.EditTrigger.CurrentChanged |
DoubleClicked | PySide6.QtWidgets.QAbstractItemView.EditTrigger.DoubleClicked |
DragDrop | PySide6.QtWidgets.QAbstractItemView.DragDropMode.DragDrop |
DraggingState | PySide6.QtWidgets.QAbstractItemView.State.DraggingState |
DragOnly | PySide6.QtWidgets.QAbstractItemView.DragDropMode.DragOnly |
DragSelectingState | PySide6.QtWidgets.QAbstractItemView.State.DragSelectingState |
DrawChildren | PySide6.QtWidgets.QWidget.RenderFlag.DrawChildren |
DrawWindowBackground | PySide6.QtWidgets.QWidget.RenderFlag.DrawWindowBackground |
DropOnly | PySide6.QtWidgets.QAbstractItemView.DragDropMode.DropOnly |
EditingState | PySide6.QtWidgets.QAbstractItemView.State.EditingState |
EditKeyPressed | PySide6.QtWidgets.QAbstractItemView.EditTrigger.EditKeyPressed |
EnsureVisible | PySide6.QtWidgets.QAbstractItemView.ScrollHint.EnsureVisible |
ExpandingState | PySide6.QtWidgets.QAbstractItemView.State.ExpandingState |
ExtendedSelection | PySide6.QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection |
Fixed | PySide6.QtWidgets.QListView.ResizeMode.Fixed |
Free | PySide6.QtWidgets.QListView.Movement.Free |
HLine | PySide6.QtWidgets.QFrame.Shape.HLine |
IconMode | PySide6.QtWidgets.QListView.ViewMode.IconMode |
IgnoreMask | PySide6.QtWidgets.QWidget.RenderFlag.IgnoreMask |
InternalMove | PySide6.QtWidgets.QAbstractItemView.DragDropMode.InternalMove |
LeftToRight | PySide6.QtWidgets.QListView.Flow.LeftToRight |
ListMode | PySide6.QtWidgets.QListView.ViewMode.ListMode |
MoveDown | PySide6.QtWidgets.QAbstractItemView.CursorAction.MoveDown |
MoveEnd | PySide6.QtWidgets.QAbstractItemView.CursorAction.MoveEnd |
MoveHome | PySide6.QtWidgets.QAbstractItemView.CursorAction.MoveHome |
MoveLeft | PySide6.QtWidgets.QAbstractItemView.CursorAction.MoveLeft |
MoveNext | PySide6.QtWidgets.QAbstractItemView.CursorAction.MoveNext |
MovePageDown | PySide6.QtWidgets.QAbstractItemView.CursorAction.MovePageDown |
MovePageUp | PySide6.QtWidgets.QAbstractItemView.CursorAction.MovePageUp |
MovePrevious | PySide6.QtWidgets.QAbstractItemView.CursorAction.MovePrevious |
MoveRight | PySide6.QtWidgets.QAbstractItemView.CursorAction.MoveRight |
MoveUp | PySide6.QtWidgets.QAbstractItemView.CursorAction.MoveUp |
MultiSelection | PySide6.QtWidgets.QAbstractItemView.SelectionMode.MultiSelection |
NoDragDrop | PySide6.QtWidgets.QAbstractItemView.DragDropMode.NoDragDrop |
NoEditTriggers | PySide6.QtWidgets.QAbstractItemView.EditTrigger.NoEditTriggers |
NoFrame | PySide6.QtWidgets.QFrame.Shape.NoFrame |
NoSelection | PySide6.QtWidgets.QAbstractItemView.SelectionMode.NoSelection |
NoState | PySide6.QtWidgets.QAbstractItemView.State.NoState |
OnItem | PySide6.QtWidgets.QAbstractItemView.DropIndicatorPosition.OnItem |
OnViewport | PySide6.QtWidgets.QAbstractItemView.DropIndicatorPosition.OnViewport |
Panel | PySide6.QtWidgets.QFrame.Shape.Panel |
PdmDepth | PySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDepth |
PdmDevicePixelRatio | PySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatio |
PdmDevicePixelRatioScaled | PySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatioScaled |
PdmDpiX | PySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiX |
PdmDpiY | PySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiY |
PdmHeight | PySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeight |
PdmHeightMM | PySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeightMM |
PdmNumColors | PySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmNumColors |
PdmPhysicalDpiX | PySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiX |
PdmPhysicalDpiY | PySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiY |
PdmWidth | PySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidth |
PdmWidthMM | PySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidthMM |
Plain | PySide6.QtWidgets.QFrame.Shadow.Plain |
PositionAtBottom | PySide6.QtWidgets.QAbstractItemView.ScrollHint.PositionAtBottom |
PositionAtCenter | PySide6.QtWidgets.QAbstractItemView.ScrollHint.PositionAtCenter |
PositionAtTop | PySide6.QtWidgets.QAbstractItemView.ScrollHint.PositionAtTop |
Raised | PySide6.QtWidgets.QFrame.Shadow.Raised |
ScrollPerItem | PySide6.QtWidgets.QAbstractItemView.ScrollMode.ScrollPerItem |
ScrollPerPixel | PySide6.QtWidgets.QAbstractItemView.ScrollMode.ScrollPerPixel |
SelectColumns | PySide6.QtWidgets.QAbstractItemView.SelectionBehavior.SelectColumns |
SelectedClicked | PySide6.QtWidgets.QAbstractItemView.EditTrigger.SelectedClicked |
SelectItems | PySide6.QtWidgets.QAbstractItemView.SelectionBehavior.SelectItems |
SelectRows | PySide6.QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows |
Shadow_Mask | PySide6.QtWidgets.QFrame.StyleMask.Shadow_Mask |
Shape_Mask | PySide6.QtWidgets.QFrame.StyleMask.Shape_Mask |
SinglePass | PySide6.QtWidgets.QListView.LayoutMode.SinglePass |
SingleSelection | PySide6.QtWidgets.QAbstractItemView.SelectionMode.SingleSelection |
Snap | PySide6.QtWidgets.QListView.Movement.Snap |
Static | PySide6.QtWidgets.QListView.Movement.Static |
staticMetaObject | <PySide6.QtCore.QMetaObject object at 0x7f40dfdf6040> |
StyledPanel | PySide6.QtWidgets.QFrame.Shape.StyledPanel |
Sunken | PySide6.QtWidgets.QFrame.Shadow.Sunken |
TopToBottom | PySide6.QtWidgets.QListView.Flow.TopToBottom |
VLine | PySide6.QtWidgets.QFrame.Shape.VLine |
WinPanel | PySide6.QtWidgets.QFrame.Shape.WinPanel |
Signature de la méthode | Description |
---|---|
__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 | |
addItem | addItem(self, item: PySide6.QtWidgets.QListWidgetItem) -> None [extrait de addItem.__doc__] |
addItems(self, labels: Sequence[str]) -> None | addItems(self, labels: Sequence[str]) -> None [extrait de addItems.__doc__] |
clear(self) -> None | clear(self) -> None [extrait de clear.__doc__] |
clicked | |
closePersistentEditor(self, item: PySide6.QtWidgets.QListWidgetItem) -> None | closePersistentEditor(self, item: PySide6.QtWidgets.QListWidgetItem) -> None [extrait de closePersistentEditor.__doc__] |
count(self) -> int | count(self) -> int [extrait de count.__doc__] |
currentItem(self) -> PySide6.QtWidgets.QListWidgetItem | currentItem(self) -> PySide6.QtWidgets.QListWidgetItem [extrait de currentItem.__doc__] |
currentItemChanged | |
currentRow(self) -> int | currentRow(self) -> int [extrait de currentRow.__doc__] |
currentRowChanged | |
currentTextChanged | |
customContextMenuRequested | |
destroyed | |
doubleClicked | |
dropEvent(self, event: PySide6.QtGui.QDropEvent) -> None | dropEvent(self, event: PySide6.QtGui.QDropEvent) -> None [extrait de dropEvent.__doc__] |
dropMimeData(self, index: int, data: PySide6.QtCore.QMimeData, action: PySide6.QtCore.Qt.DropAction) -> bool | dropMimeData(self, index: int, data: PySide6.QtCore.QMimeData, action: PySide6.QtCore.Qt.DropAction) -> bool [extrait de dropMimeData.__doc__] |
editItem(self, item: PySide6.QtWidgets.QListWidgetItem) -> None | editItem(self, item: PySide6.QtWidgets.QListWidgetItem) -> None [extrait de editItem.__doc__] |
entered | |
event(self, e: PySide6.QtCore.QEvent) -> bool | event(self, e: PySide6.QtCore.QEvent) -> bool [extrait de event.__doc__] |
findItems(self, text: str, flags: PySide6.QtCore.Qt.MatchFlags) -> List[PySide6.QtWidgets.QListWidgetItem] | findItems(self, text: str, flags: PySide6.QtCore.Qt.MatchFlags) -> List[PySide6.QtWidgets.QListWidgetItem] [extrait de findItems.__doc__] |
iconSizeChanged | |
indexesMoved | |
indexFromItem(self, item: PySide6.QtWidgets.QListWidgetItem) -> PySide6.QtCore.QModelIndex | indexFromItem(self, item: PySide6.QtWidgets.QListWidgetItem) -> PySide6.QtCore.QModelIndex [extrait de indexFromItem.__doc__] |
insertItem | insertItem(self, row: int, item: PySide6.QtWidgets.QListWidgetItem) -> None [extrait de insertItem.__doc__] |
insertItems(self, row: int, labels: Sequence[str]) -> None | insertItems(self, row: int, labels: Sequence[str]) -> None [extrait de insertItems.__doc__] |
isPersistentEditorOpen(self, item: PySide6.QtWidgets.QListWidgetItem) -> bool | isPersistentEditorOpen(self, item: PySide6.QtWidgets.QListWidgetItem) -> bool [extrait de isPersistentEditorOpen.__doc__] |
isSortingEnabled(self) -> bool | isSortingEnabled(self) -> bool [extrait de isSortingEnabled.__doc__] |
item(self, row: int) -> PySide6.QtWidgets.QListWidgetItem | item(self, row: int) -> PySide6.QtWidgets.QListWidgetItem [extrait de item.__doc__] |
itemActivated | |
itemAt | itemAt(self, p: PySide6.QtCore.QPoint) -> PySide6.QtWidgets.QListWidgetItem [extrait de itemAt.__doc__] |
itemChanged | |
itemClicked | |
itemDoubleClicked | |
itemEntered | |
itemFromIndex(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> PySide6.QtWidgets.QListWidgetItem | itemFromIndex(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> PySide6.QtWidgets.QListWidgetItem [extrait de itemFromIndex.__doc__] |
itemPressed | |
items(self, data: PySide6.QtCore.QMimeData) -> List[PySide6.QtWidgets.QListWidgetItem] | items(self, data: PySide6.QtCore.QMimeData) -> List[PySide6.QtWidgets.QListWidgetItem] [extrait de items.__doc__] |
itemSelectionChanged | |
itemWidget(self, item: PySide6.QtWidgets.QListWidgetItem) -> PySide6.QtWidgets.QWidget | itemWidget(self, item: PySide6.QtWidgets.QListWidgetItem) -> PySide6.QtWidgets.QWidget [extrait de itemWidget.__doc__] |
mimeData(self, items: Sequence[PySide6.QtWidgets.QListWidgetItem]) -> PySide6.QtCore.QMimeData | mimeData(self, items: Sequence[PySide6.QtWidgets.QListWidgetItem]) -> PySide6.QtCore.QMimeData [extrait de mimeData.__doc__] |
mimeTypes(self) -> List[str] | mimeTypes(self) -> List[str] [extrait de mimeTypes.__doc__] |
objectNameChanged | |
openPersistentEditor(self, item: PySide6.QtWidgets.QListWidgetItem) -> None | openPersistentEditor(self, item: PySide6.QtWidgets.QListWidgetItem) -> None [extrait de openPersistentEditor.__doc__] |
pressed | |
removeItemWidget(self, item: PySide6.QtWidgets.QListWidgetItem) -> None | removeItemWidget(self, item: PySide6.QtWidgets.QListWidgetItem) -> None [extrait de removeItemWidget.__doc__] |
row(self, item: PySide6.QtWidgets.QListWidgetItem) -> int | row(self, item: PySide6.QtWidgets.QListWidgetItem) -> int [extrait de row.__doc__] |
scrollToItem(self, item: PySide6.QtWidgets.QListWidgetItem, hint: PySide6.QtWidgets.QAbstractItemView.ScrollHint = PySide6.QtWidgets.QAbstractItemView.ScrollHint.EnsureVisible) -> None | scrollToItem(self, item: PySide6.QtWidgets.QListWidgetItem, hint: PySide6.QtWidgets.QAbstractItemView.ScrollHint = PySide6.QtWidgets.QAbstractItemView.ScrollHint.EnsureVisible) -> None [extrait de scrollToItem.__doc__] |
selectedItems(self) -> List[PySide6.QtWidgets.QListWidgetItem] | selectedItems(self) -> List[PySide6.QtWidgets.QListWidgetItem] [extrait de selectedItems.__doc__] |
setCurrentItem | setCurrentItem(self, item: PySide6.QtWidgets.QListWidgetItem) -> None [extrait de setCurrentItem.__doc__] |
setCurrentRow | setCurrentRow(self, row: int) -> None [extrait de setCurrentRow.__doc__] |
setItemWidget(self, item: PySide6.QtWidgets.QListWidgetItem, widget: PySide6.QtWidgets.QWidget) -> None | setItemWidget(self, item: PySide6.QtWidgets.QListWidgetItem, widget: PySide6.QtWidgets.QWidget) -> None [extrait de setItemWidget.__doc__] |
setModel(self, model: PySide6.QtCore.QAbstractItemModel) -> None | setModel(self, model: PySide6.QtCore.QAbstractItemModel) -> None [extrait de setModel.__doc__] |
setSelectionModel(self, selectionModel: PySide6.QtCore.QItemSelectionModel) -> None | setSelectionModel(self, selectionModel: PySide6.QtCore.QItemSelectionModel) -> None [extrait de setSelectionModel.__doc__] |
setSortingEnabled(self, enable: bool) -> None | setSortingEnabled(self, enable: bool) -> None [extrait de setSortingEnabled.__doc__] |
sortItems(self, order: PySide6.QtCore.Qt.SortOrder = PySide6.QtCore.Qt.SortOrder.AscendingOrder) -> None | sortItems(self, order: PySide6.QtCore.Qt.SortOrder = PySide6.QtCore.Qt.SortOrder.AscendingOrder) -> None [extrait de sortItems.__doc__] |
supportedDropActions(self) -> PySide6.QtCore.Qt.DropActions | supportedDropActions(self) -> PySide6.QtCore.Qt.DropActions [extrait de supportedDropActions.__doc__] |
takeItem(self, row: int) -> PySide6.QtWidgets.QListWidgetItem | takeItem(self, row: int) -> PySide6.QtWidgets.QListWidgetItem [extrait de takeItem.__doc__] |
tr | |
viewportEntered | |
visualItemRect(self, item: PySide6.QtWidgets.QListWidgetItem) -> PySide6.QtCore.QRect | visualItemRect(self, item: PySide6.QtWidgets.QListWidgetItem) -> PySide6.QtCore.QRect [extrait de visualItemRect.__doc__] |
windowIconChanged | |
windowIconTextChanged | |
windowTitleChanged |
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 :