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

Informations générales

Héritage

builtins.object
    Object
        QTreeWidgetItem

Définition

class QTreeWidgetItem(Object):

Description [extrait de QTreeWidgetItem.__doc__]

QTreeWidgetItem(self, other: PySide6.QtWidgets.QTreeWidgetItem) -> None
QTreeWidgetItem(self, parent: PySide6.QtWidgets.QTreeWidgetItem, after: PySide6.QtWidgets.QTreeWidgetItem, type: int = PySide6.QtWidgets.QListWidgetItem.ItemType.Type) -> None
QTreeWidgetItem(self, parent: PySide6.QtWidgets.QTreeWidgetItem, strings: Sequence[str], type: int = PySide6.QtWidgets.QListWidgetItem.ItemType.Type) -> None
QTreeWidgetItem(self, parent: PySide6.QtWidgets.QTreeWidgetItem, type: int = PySide6.QtWidgets.QListWidgetItem.ItemType.Type) -> None
QTreeWidgetItem(self, strings: Sequence[str], type: int = PySide6.QtWidgets.QListWidgetItem.ItemType.Type) -> None
QTreeWidgetItem(self, treeview: PySide6.QtWidgets.QTreeWidget, after: PySide6.QtWidgets.QTreeWidgetItem, type: int = PySide6.QtWidgets.QListWidgetItem.ItemType.Type) -> None
QTreeWidgetItem(self, treeview: PySide6.QtWidgets.QTreeWidget, strings: Sequence[str], type: int = PySide6.QtWidgets.QListWidgetItem.ItemType.Type) -> None
QTreeWidgetItem(self, treeview: PySide6.QtWidgets.QTreeWidget, type: int = PySide6.QtWidgets.QListWidgetItem.ItemType.Type) -> None
QTreeWidgetItem(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
DontShowIndicatorPySide6.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy.DontShowIndicator
DontShowIndicatorWhenChildlessPySide6.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy.DontShowIndicatorWhenChildless
ShowIndicatorPySide6.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy.ShowIndicator
TypePySide6.QtWidgets.QTreeWidgetItem.ItemType.Type
UserTypePySide6.QtWidgets.QTreeWidgetItem.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__]
__hash__(self) Return hash(self). [extrait de __hash__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
addChild(self, child: PySide6.QtWidgets.QTreeWidgetItem) -> None addChild(self, child: PySide6.QtWidgets.QTreeWidgetItem) -> None [extrait de addChild.__doc__]
addChildren(self, children: Sequence[PySide6.QtWidgets.QTreeWidgetItem]) -> None addChildren(self, children: Sequence[PySide6.QtWidgets.QTreeWidgetItem]) -> None [extrait de addChildren.__doc__]
background(self, column: int) -> PySide6.QtGui.QBrush background(self, column: int) -> PySide6.QtGui.QBrush [extrait de background.__doc__]
checkState(self, column: int) -> PySide6.QtCore.Qt.CheckState checkState(self, column: int) -> PySide6.QtCore.Qt.CheckState [extrait de checkState.__doc__]
child(self, index: int) -> PySide6.QtWidgets.QTreeWidgetItem child(self, index: int) -> PySide6.QtWidgets.QTreeWidgetItem [extrait de child.__doc__]
childCount(self) -> int childCount(self) -> int [extrait de childCount.__doc__]
ChildIndicatorPolicy
childIndicatorPolicy(self) -> PySide6.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy childIndicatorPolicy(self) -> PySide6.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy [extrait de childIndicatorPolicy.__doc__]
clone(self) -> PySide6.QtWidgets.QTreeWidgetItem clone(self) -> PySide6.QtWidgets.QTreeWidgetItem [extrait de clone.__doc__]
columnCount(self) -> int columnCount(self) -> int [extrait de columnCount.__doc__]
data(self, column: int, role: int) -> Any data(self, column: int, role: int) -> Any [extrait de data.__doc__]
emitDataChanged(self) -> None emitDataChanged(self) -> None [extrait de emitDataChanged.__doc__]
flags(self) -> PySide6.QtCore.Qt.ItemFlags flags(self) -> PySide6.QtCore.Qt.ItemFlags [extrait de flags.__doc__]
font(self, column: int) -> PySide6.QtGui.QFont font(self, column: int) -> PySide6.QtGui.QFont [extrait de font.__doc__]
foreground(self, column: int) -> PySide6.QtGui.QBrush foreground(self, column: int) -> PySide6.QtGui.QBrush [extrait de foreground.__doc__]
icon(self, column: int) -> PySide6.QtGui.QIcon icon(self, column: int) -> PySide6.QtGui.QIcon [extrait de icon.__doc__]
indexOfChild(self, child: PySide6.QtWidgets.QTreeWidgetItem) -> int indexOfChild(self, child: PySide6.QtWidgets.QTreeWidgetItem) -> int [extrait de indexOfChild.__doc__]
insertChild(self, index: int, child: PySide6.QtWidgets.QTreeWidgetItem) -> None insertChild(self, index: int, child: PySide6.QtWidgets.QTreeWidgetItem) -> None [extrait de insertChild.__doc__]
insertChildren(self, index: int, children: Sequence[PySide6.QtWidgets.QTreeWidgetItem]) -> None insertChildren(self, index: int, children: Sequence[PySide6.QtWidgets.QTreeWidgetItem]) -> None [extrait de insertChildren.__doc__]
isDisabled(self) -> bool isDisabled(self) -> bool [extrait de isDisabled.__doc__]
isExpanded(self) -> bool isExpanded(self) -> bool [extrait de isExpanded.__doc__]
isFirstColumnSpanned(self) -> bool isFirstColumnSpanned(self) -> bool [extrait de isFirstColumnSpanned.__doc__]
isHidden(self) -> bool isHidden(self) -> bool [extrait de isHidden.__doc__]
isSelected(self) -> bool isSelected(self) -> bool [extrait de isSelected.__doc__]
ItemType
parent(self) -> PySide6.QtWidgets.QTreeWidgetItem parent(self) -> PySide6.QtWidgets.QTreeWidgetItem [extrait de parent.__doc__]
read(self, in_: PySide6.QtCore.QDataStream) -> None read(self, in_: PySide6.QtCore.QDataStream) -> None [extrait de read.__doc__]
removeChild(self, child: PySide6.QtWidgets.QTreeWidgetItem) -> None removeChild(self, child: PySide6.QtWidgets.QTreeWidgetItem) -> None [extrait de removeChild.__doc__]
setBackground(self, column: int, 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, column: int, 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, column: int, state: PySide6.QtCore.Qt.CheckState) -> None setCheckState(self, column: int, state: PySide6.QtCore.Qt.CheckState) -> None [extrait de setCheckState.__doc__]
setChildIndicatorPolicy(self, policy: PySide6.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy) -> None setChildIndicatorPolicy(self, policy: PySide6.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy) -> None [extrait de setChildIndicatorPolicy.__doc__]
setData(self, column: int, role: int, value: Any) -> None setData(self, column: int, role: int, value: Any) -> None [extrait de setData.__doc__]
setDisabled(self, disabled: bool) -> None setDisabled(self, disabled: bool) -> None [extrait de setDisabled.__doc__]
setExpanded(self, expand: bool) -> None setExpanded(self, expand: bool) -> None [extrait de setExpanded.__doc__]
setFirstColumnSpanned(self, span: bool) -> None setFirstColumnSpanned(self, span: bool) -> None [extrait de setFirstColumnSpanned.__doc__]
setFlags(self, flags: PySide6.QtCore.Qt.ItemFlags) -> None setFlags(self, flags: PySide6.QtCore.Qt.ItemFlags) -> None [extrait de setFlags.__doc__]
setFont(self, column: int, font: Union[PySide6.QtGui.QFont, str, Sequence[str]]) -> None setFont(self, column: int, font: Union[PySide6.QtGui.QFont, str, Sequence[str]]) -> None [extrait de setFont.__doc__]
setForeground(self, column: int, 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, column: int, 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__]
setHidden(self, hide: bool) -> None setHidden(self, hide: bool) -> None [extrait de setHidden.__doc__]
setIcon(self, column: int, icon: Union[PySide6.QtGui.QIcon, PySide6.QtGui.QPixmap]) -> None setIcon(self, column: int, 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, column: int, size: PySide6.QtCore.QSize) -> None setSizeHint(self, column: int, size: PySide6.QtCore.QSize) -> None [extrait de setSizeHint.__doc__]
setStatusTip(self, column: int, statusTip: str) -> None setStatusTip(self, column: int, statusTip: str) -> None [extrait de setStatusTip.__doc__]
setText(self, column: int, text: str) -> None setText(self, column: int, text: str) -> None [extrait de setText.__doc__]
setTextAlignment(self, column: int, alignment: int) -> None setTextAlignment(self, column: int, alignment: int) -> None [extrait de setTextAlignment.__doc__]
setToolTip(self, column: int, toolTip: str) -> None setToolTip(self, column: int, toolTip: str) -> None [extrait de setToolTip.__doc__]
setWhatsThis(self, column: int, whatsThis: str) -> None setWhatsThis(self, column: int, whatsThis: str) -> None [extrait de setWhatsThis.__doc__]
sizeHint(self, column: int) -> PySide6.QtCore.QSize sizeHint(self, column: int) -> PySide6.QtCore.QSize [extrait de sizeHint.__doc__]
sortChildren(self, column: int, order: PySide6.QtCore.Qt.SortOrder) -> None sortChildren(self, column: int, order: PySide6.QtCore.Qt.SortOrder) -> None [extrait de sortChildren.__doc__]
statusTip(self, column: int) -> str statusTip(self, column: int) -> str [extrait de statusTip.__doc__]
takeChild(self, index: int) -> PySide6.QtWidgets.QTreeWidgetItem takeChild(self, index: int) -> PySide6.QtWidgets.QTreeWidgetItem [extrait de takeChild.__doc__]
takeChildren(self) -> List[PySide6.QtWidgets.QTreeWidgetItem] takeChildren(self) -> List[PySide6.QtWidgets.QTreeWidgetItem] [extrait de takeChildren.__doc__]
text(self, column: int) -> str text(self, column: int) -> str [extrait de text.__doc__]
textAlignment(self, column: int) -> int textAlignment(self, column: int) -> int [extrait de textAlignment.__doc__]
toolTip(self, column: int) -> str toolTip(self, column: int) -> str [extrait de toolTip.__doc__]
treeWidget(self) -> PySide6.QtWidgets.QTreeWidget treeWidget(self) -> PySide6.QtWidgets.QTreeWidget [extrait de treeWidget.__doc__]
type(self) -> int type(self) -> int [extrait de type.__doc__]
whatsThis(self, column: int) -> str whatsThis(self, column: int) -> 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__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__