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

Classe « QStandardItem »

Informations générales

Héritage

builtins.object
    Object
        QStandardItem

Définition

class QStandardItem(Object):

Description [extrait de QStandardItem.__doc__]

QStandardItem(self)
QStandardItem(self, icon: PySide2.QtGui.QIcon, text: str)
QStandardItem(self, other: PySide2.QtGui.QStandardItem)
QStandardItem(self, rows: int, columns: int = 1)
QStandardItem(self, text: str)

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
TypePySide2.QtGui.QStandardItem.ItemType.Type
UserTypePySide2.QtGui.QStandardItem.ItemType.UserType

Liste des opérateurs

Signature de l'opérateur Description
__eq__(self, value) Return self==value. [extrait de __eq__.__doc__]
__ge__(self, value) Return self>=value. [extrait de __ge__.__doc__]
__gt__(self, value) Return self>value. [extrait de __gt__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lshift__(self, out: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream __lshift__(self, out: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream [extrait de __lshift__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]
__rlshift__(self, value) Return value<<self. [extrait de __rlshift__.__doc__]
__rrshift__(self, value) Return value>>self. [extrait de __rrshift__.__doc__]
__rshift__(self, in_: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream __rshift__(self, in_: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream [extrait de __rshift__.__doc__]

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__]
accessibleDescription(self) -> str accessibleDescription(self) -> str [extrait de accessibleDescription.__doc__]
accessibleText(self) -> str accessibleText(self) -> str [extrait de accessibleText.__doc__]
appendColumn(self, items: typing.Sequence[PySide2.QtGui.QStandardItem]) appendColumn(self, items: typing.Sequence[PySide2.QtGui.QStandardItem]) [extrait de appendColumn.__doc__]
appendRow appendRow(self, item: PySide2.QtGui.QStandardItem) [extrait de appendRow.__doc__]
appendRows(self, items: typing.Sequence[PySide2.QtGui.QStandardItem]) appendRows(self, items: typing.Sequence[PySide2.QtGui.QStandardItem]) [extrait de appendRows.__doc__]
background(self) -> PySide2.QtGui.QBrush background(self) -> PySide2.QtGui.QBrush [extrait de background.__doc__]
checkState(self) -> PySide2.QtCore.Qt.CheckState checkState(self) -> PySide2.QtCore.Qt.CheckState [extrait de checkState.__doc__]
child(self, row: int, column: int = 0) -> PySide2.QtGui.QStandardItem child(self, row: int, column: int = 0) -> PySide2.QtGui.QStandardItem [extrait de child.__doc__]
clearData(self) clearData(self) [extrait de clearData.__doc__]
clone(self) -> PySide2.QtGui.QStandardItem clone(self) -> PySide2.QtGui.QStandardItem [extrait de clone.__doc__]
column(self) -> int column(self) -> int [extrait de column.__doc__]
columnCount(self) -> int columnCount(self) -> int [extrait de columnCount.__doc__]
data(self, role: int = 257) -> typing.Any data(self, role: int = 257) -> typing.Any [extrait de data.__doc__]
emitDataChanged(self) emitDataChanged(self) [extrait de emitDataChanged.__doc__]
flags(self) -> PySide2.QtCore.Qt.ItemFlags flags(self) -> PySide2.QtCore.Qt.ItemFlags [extrait de flags.__doc__]
font(self) -> PySide2.QtGui.QFont font(self) -> PySide2.QtGui.QFont [extrait de font.__doc__]
foreground(self) -> PySide2.QtGui.QBrush foreground(self) -> PySide2.QtGui.QBrush [extrait de foreground.__doc__]
hasChildren(self) -> bool hasChildren(self) -> bool [extrait de hasChildren.__doc__]
icon(self) -> PySide2.QtGui.QIcon icon(self) -> PySide2.QtGui.QIcon [extrait de icon.__doc__]
index(self) -> PySide2.QtCore.QModelIndex index(self) -> PySide2.QtCore.QModelIndex [extrait de index.__doc__]
insertColumn(self, column: int, items: typing.Sequence[PySide2.QtGui.QStandardItem]) insertColumn(self, column: int, items: typing.Sequence[PySide2.QtGui.QStandardItem]) [extrait de insertColumn.__doc__]
insertColumns(self, column: int, count: int) insertColumns(self, column: int, count: int) [extrait de insertColumns.__doc__]
insertRow insertRow(self, row: int, item: PySide2.QtGui.QStandardItem) [extrait de insertRow.__doc__]
insertRows insertRows(self, row: int, count: int) [extrait de insertRows.__doc__]
isAutoTristate(self) -> bool isAutoTristate(self) -> bool [extrait de isAutoTristate.__doc__]
isCheckable(self) -> bool isCheckable(self) -> bool [extrait de isCheckable.__doc__]
isDragEnabled(self) -> bool isDragEnabled(self) -> bool [extrait de isDragEnabled.__doc__]
isDropEnabled(self) -> bool isDropEnabled(self) -> bool [extrait de isDropEnabled.__doc__]
isEditable(self) -> bool isEditable(self) -> bool [extrait de isEditable.__doc__]
isEnabled(self) -> bool isEnabled(self) -> bool [extrait de isEnabled.__doc__]
isSelectable(self) -> bool isSelectable(self) -> bool [extrait de isSelectable.__doc__]
isTristate(self) -> bool isTristate(self) -> bool [extrait de isTristate.__doc__]
isUserTristate(self) -> bool isUserTristate(self) -> bool [extrait de isUserTristate.__doc__]
ItemType
model(self) -> PySide2.QtGui.QStandardItemModel model(self) -> PySide2.QtGui.QStandardItemModel [extrait de model.__doc__]
parent(self) -> PySide2.QtGui.QStandardItem parent(self) -> PySide2.QtGui.QStandardItem [extrait de parent.__doc__]
read(self, in_: PySide2.QtCore.QDataStream) read(self, in_: PySide2.QtCore.QDataStream) [extrait de read.__doc__]
removeColumn(self, column: int) removeColumn(self, column: int) [extrait de removeColumn.__doc__]
removeColumns(self, column: int, count: int) removeColumns(self, column: int, count: int) [extrait de removeColumns.__doc__]
removeRow(self, row: int) removeRow(self, row: int) [extrait de removeRow.__doc__]
removeRows(self, row: int, count: int) removeRows(self, row: int, count: int) [extrait de removeRows.__doc__]
row(self) -> int row(self) -> int [extrait de row.__doc__]
rowCount(self) -> int rowCount(self) -> int [extrait de rowCount.__doc__]
setAccessibleDescription(self, accessibleDescription: str) setAccessibleDescription(self, accessibleDescription: str) [extrait de setAccessibleDescription.__doc__]
setAccessibleText(self, accessibleText: str) setAccessibleText(self, accessibleText: str) [extrait de setAccessibleText.__doc__]
setAutoTristate(self, tristate: bool) setAutoTristate(self, tristate: bool) [extrait de setAutoTristate.__doc__]
setBackground(self, brush: PySide2.QtGui.QBrush) setBackground(self, brush: PySide2.QtGui.QBrush) [extrait de setBackground.__doc__]
setCheckable(self, checkable: bool) setCheckable(self, checkable: bool) [extrait de setCheckable.__doc__]
setCheckState(self, checkState: PySide2.QtCore.Qt.CheckState) setCheckState(self, checkState: PySide2.QtCore.Qt.CheckState) [extrait de setCheckState.__doc__]
setChild setChild(self, row: int, column: int, item: PySide2.QtGui.QStandardItem) [extrait de setChild.__doc__]
setColumnCount(self, columns: int) setColumnCount(self, columns: int) [extrait de setColumnCount.__doc__]
setData(self, value: typing.Any, role: int = 257) setData(self, value: typing.Any, role: int = 257) [extrait de setData.__doc__]
setDragEnabled(self, dragEnabled: bool) setDragEnabled(self, dragEnabled: bool) [extrait de setDragEnabled.__doc__]
setDropEnabled(self, dropEnabled: bool) setDropEnabled(self, dropEnabled: bool) [extrait de setDropEnabled.__doc__]
setEditable(self, editable: bool) setEditable(self, editable: bool) [extrait de setEditable.__doc__]
setEnabled(self, enabled: bool) setEnabled(self, enabled: bool) [extrait de setEnabled.__doc__]
setFlags(self, flags: PySide2.QtCore.Qt.ItemFlags) setFlags(self, flags: PySide2.QtCore.Qt.ItemFlags) [extrait de setFlags.__doc__]
setFont(self, font: PySide2.QtGui.QFont) setFont(self, font: PySide2.QtGui.QFont) [extrait de setFont.__doc__]
setForeground(self, brush: PySide2.QtGui.QBrush) setForeground(self, brush: PySide2.QtGui.QBrush) [extrait de setForeground.__doc__]
setIcon(self, icon: PySide2.QtGui.QIcon) setIcon(self, icon: PySide2.QtGui.QIcon) [extrait de setIcon.__doc__]
setRowCount(self, rows: int) setRowCount(self, rows: int) [extrait de setRowCount.__doc__]
setSelectable(self, selectable: bool) setSelectable(self, selectable: bool) [extrait de setSelectable.__doc__]
setSizeHint(self, sizeHint: PySide2.QtCore.QSize) setSizeHint(self, sizeHint: PySide2.QtCore.QSize) [extrait de setSizeHint.__doc__]
setStatusTip(self, statusTip: str) setStatusTip(self, statusTip: str) [extrait de setStatusTip.__doc__]
setText(self, text: str) setText(self, text: str) [extrait de setText.__doc__]
setTextAlignment(self, textAlignment: PySide2.QtCore.Qt.Alignment) setTextAlignment(self, textAlignment: PySide2.QtCore.Qt.Alignment) [extrait de setTextAlignment.__doc__]
setToolTip(self, toolTip: str) setToolTip(self, toolTip: str) [extrait de setToolTip.__doc__]
setTristate(self, tristate: bool) setTristate(self, tristate: bool) [extrait de setTristate.__doc__]
setUserTristate(self, tristate: bool) setUserTristate(self, tristate: bool) [extrait de setUserTristate.__doc__]
setWhatsThis(self, whatsThis: str) setWhatsThis(self, whatsThis: str) [extrait de setWhatsThis.__doc__]
sizeHint(self) -> PySide2.QtCore.QSize sizeHint(self) -> PySide2.QtCore.QSize [extrait de sizeHint.__doc__]
sortChildren(self, column: int, order: PySide2.QtCore.Qt.SortOrder = PySide2.QtCore.Qt.SortOrder.AscendingOrder) sortChildren(self, column: int, order: PySide2.QtCore.Qt.SortOrder = PySide2.QtCore.Qt.SortOrder.AscendingOrder) [extrait de sortChildren.__doc__]
statusTip(self) -> str statusTip(self) -> str [extrait de statusTip.__doc__]
takeChild(self, row: int, column: int = 0) -> PySide2.QtGui.QStandardItem takeChild(self, row: int, column: int = 0) -> PySide2.QtGui.QStandardItem [extrait de takeChild.__doc__]
takeColumn(self, column: int) -> typing.List[PySide2.QtGui.QStandardItem] takeColumn(self, column: int) -> typing.List[PySide2.QtGui.QStandardItem] [extrait de takeColumn.__doc__]
takeRow(self, row: int) -> typing.List[PySide2.QtGui.QStandardItem] takeRow(self, row: int) -> typing.List[PySide2.QtGui.QStandardItem] [extrait de takeRow.__doc__]
text(self) -> str text(self) -> str [extrait de text.__doc__]
textAlignment(self) -> PySide2.QtCore.Qt.Alignment textAlignment(self) -> PySide2.QtCore.Qt.Alignment [extrait de textAlignment.__doc__]
toolTip(self) -> str toolTip(self) -> str [extrait de toolTip.__doc__]
type(self) -> int type(self) -> int [extrait de type.__doc__]
whatsThis(self) -> str whatsThis(self) -> str [extrait de whatsThis.__doc__]
write(self, out: PySide2.QtCore.QDataStream) write(self, out: PySide2.QtCore.QDataStream) [extrait de write.__doc__]

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__