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

Classe « QTableWidgetItem »

Informations générales

Héritage

builtins.object
    Object
        QTableWidgetItem

Définition

class QTableWidgetItem(Object):

Description [extrait de QTableWidgetItem.__doc__]

QTableWidgetItem(self, icon: Union[PySide6.QtGui.QIcon, PySide6.QtGui.QPixmap], text: str, type: int = PySide6.QtWidgets.QListWidgetItem.ItemType.Type) -> None
QTableWidgetItem(self, other: PySide6.QtWidgets.QTableWidgetItem) -> None
QTableWidgetItem(self, text: str, type: int = PySide6.QtWidgets.QListWidgetItem.ItemType.Type) -> None
QTableWidgetItem(self, type: int = PySide6.QtWidgets.QListWidgetItem.ItemType.Type) -> 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__]

Liste des attributs statiques

Nom de l'attribut Valeur
TypePySide6.QtWidgets.QTableWidgetItem.ItemType.Type
UserTypePySide6.QtWidgets.QTableWidgetItem.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: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream __lshift__(self, out: PySide6.QtCore.QDataStream) -> PySide6.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_: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream __rshift__(self, in_: PySide6.QtCore.QDataStream) -> PySide6.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__]
background(self) -> PySide6.QtGui.QBrush background(self) -> PySide6.QtGui.QBrush [extrait de background.__doc__]
checkState(self) -> PySide6.QtCore.Qt.CheckState checkState(self) -> PySide6.QtCore.Qt.CheckState [extrait de checkState.__doc__]
clone(self) -> PySide6.QtWidgets.QTableWidgetItem clone(self) -> PySide6.QtWidgets.QTableWidgetItem [extrait de clone.__doc__]
column(self) -> int column(self) -> int [extrait de column.__doc__]
data(self, role: int) -> Any data(self, role: int) -> Any [extrait de data.__doc__]
flags(self) -> PySide6.QtCore.Qt.ItemFlags flags(self) -> PySide6.QtCore.Qt.ItemFlags [extrait de flags.__doc__]
font(self) -> PySide6.QtGui.QFont font(self) -> PySide6.QtGui.QFont [extrait de font.__doc__]
foreground(self) -> PySide6.QtGui.QBrush foreground(self) -> PySide6.QtGui.QBrush [extrait de foreground.__doc__]
icon(self) -> PySide6.QtGui.QIcon icon(self) -> PySide6.QtGui.QIcon [extrait de icon.__doc__]
isSelected(self) -> bool isSelected(self) -> bool [extrait de isSelected.__doc__]
ItemType
read(self, in_: PySide6.QtCore.QDataStream) -> None read(self, in_: PySide6.QtCore.QDataStream) -> None [extrait de read.__doc__]
row(self) -> int row(self) -> int [extrait de row.__doc__]
setBackground(self, brush: Union[PySide6.QtGui.QBrush, PySide6.QtCore.Qt.BrushStyle, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor, PySide6.QtGui.QGradient, PySide6.QtGui.QImage, PySide6.QtGui.QPixmap]) -> None setBackground(self, brush: Union[PySide6.QtGui.QBrush, PySide6.QtCore.Qt.BrushStyle, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor, PySide6.QtGui.QGradient, PySide6.QtGui.QImage, PySide6.QtGui.QPixmap]) -> None [extrait de setBackground.__doc__]
setCheckState(self, state: PySide6.QtCore.Qt.CheckState) -> None setCheckState(self, state: PySide6.QtCore.Qt.CheckState) -> None [extrait de setCheckState.__doc__]
setData(self, role: int, value: Any) -> None setData(self, role: int, value: Any) -> None [extrait de setData.__doc__]
setFlags(self, flags: PySide6.QtCore.Qt.ItemFlags) -> None setFlags(self, flags: PySide6.QtCore.Qt.ItemFlags) -> None [extrait de setFlags.__doc__]
setFont(self, font: Union[PySide6.QtGui.QFont, str, Sequence[str]]) -> None setFont(self, font: Union[PySide6.QtGui.QFont, str, Sequence[str]]) -> None [extrait de setFont.__doc__]
setForeground(self, brush: Union[PySide6.QtGui.QBrush, PySide6.QtCore.Qt.BrushStyle, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor, PySide6.QtGui.QGradient, PySide6.QtGui.QImage, PySide6.QtGui.QPixmap]) -> None setForeground(self, brush: Union[PySide6.QtGui.QBrush, PySide6.QtCore.Qt.BrushStyle, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor, PySide6.QtGui.QGradient, PySide6.QtGui.QImage, PySide6.QtGui.QPixmap]) -> None [extrait de setForeground.__doc__]
setIcon(self, icon: Union[PySide6.QtGui.QIcon, PySide6.QtGui.QPixmap]) -> None setIcon(self, icon: Union[PySide6.QtGui.QIcon, PySide6.QtGui.QPixmap]) -> None [extrait de setIcon.__doc__]
setSelected(self, select: bool) -> None setSelected(self, select: bool) -> None [extrait de setSelected.__doc__]
setSizeHint(self, size: PySide6.QtCore.QSize) -> None setSizeHint(self, size: PySide6.QtCore.QSize) -> None [extrait de setSizeHint.__doc__]
setStatusTip(self, statusTip: str) -> None setStatusTip(self, statusTip: str) -> None [extrait de setStatusTip.__doc__]
setText(self, text: str) -> None setText(self, text: str) -> None [extrait de setText.__doc__]
setTextAlignment(self, alignment: int) -> None setTextAlignment(self, alignment: int) -> None [extrait de setTextAlignment.__doc__]
setToolTip(self, toolTip: str) -> None setToolTip(self, toolTip: str) -> None [extrait de setToolTip.__doc__]
setWhatsThis(self, whatsThis: str) -> None setWhatsThis(self, whatsThis: str) -> None [extrait de setWhatsThis.__doc__]
sizeHint(self) -> PySide6.QtCore.QSize sizeHint(self) -> PySide6.QtCore.QSize [extrait de sizeHint.__doc__]
statusTip(self) -> str statusTip(self) -> str [extrait de statusTip.__doc__]
tableWidget(self) -> PySide6.QtWidgets.QTableWidget tableWidget(self) -> PySide6.QtWidgets.QTableWidget [extrait de tableWidget.__doc__]
text(self) -> str text(self) -> str [extrait de text.__doc__]
textAlignment(self) -> int textAlignment(self) -> int [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: PySide6.QtCore.QDataStream) -> None write(self, out: PySide6.QtCore.QDataStream) -> None [extrait de write.__doc__]

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

__getattribute__, __init_subclass__, __subclasshook__

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

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__