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

Informations générales

Héritage

builtins.object
    Object
        QTreeWidgetItem

Définition

class QTreeWidgetItem(Object):

Description [extrait de QTreeWidgetItem.__doc__]

QTreeWidgetItem(self, other: PySide2.QtWidgets.QTreeWidgetItem)
QTreeWidgetItem(self, parent: PySide2.QtWidgets.QTreeWidgetItem, after: PySide2.QtWidgets.QTreeWidgetItem, type: int = PySide2.QtWidgets.QListWidgetItem.ItemType.Type)
QTreeWidgetItem(self, parent: PySide2.QtWidgets.QTreeWidgetItem, strings: typing.Sequence[str], type: int = PySide2.QtWidgets.QListWidgetItem.ItemType.Type)
QTreeWidgetItem(self, parent: PySide2.QtWidgets.QTreeWidgetItem, type: int = PySide2.QtWidgets.QListWidgetItem.ItemType.Type)
QTreeWidgetItem(self, strings: typing.Sequence[str], type: int = PySide2.QtWidgets.QListWidgetItem.ItemType.Type)
QTreeWidgetItem(self, treeview: PySide2.QtWidgets.QTreeWidget, after: PySide2.QtWidgets.QTreeWidgetItem, type: int = PySide2.QtWidgets.QListWidgetItem.ItemType.Type)
QTreeWidgetItem(self, treeview: PySide2.QtWidgets.QTreeWidget, strings: typing.Sequence[str], type: int = PySide2.QtWidgets.QListWidgetItem.ItemType.Type)
QTreeWidgetItem(self, treeview: PySide2.QtWidgets.QTreeWidget, type: int = PySide2.QtWidgets.QListWidgetItem.ItemType.Type)
QTreeWidgetItem(self, type: int = PySide2.QtWidgets.QListWidgetItem.ItemType.Type)

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
DontShowIndicatorPySide2.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy.DontShowIndicator
DontShowIndicatorWhenChildlessPySide2.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy.DontShowIndicatorWhenChildless
ShowIndicatorPySide2.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy.ShowIndicator
TypePySide2.QtWidgets.QTreeWidgetItem.ItemType.Type
UserTypePySide2.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: 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__]
__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: PySide2.QtWidgets.QTreeWidgetItem) addChild(self, child: PySide2.QtWidgets.QTreeWidgetItem) [extrait de addChild.__doc__]
addChildren(self, children: typing.Sequence[PySide2.QtWidgets.QTreeWidgetItem]) addChildren(self, children: typing.Sequence[PySide2.QtWidgets.QTreeWidgetItem]) [extrait de addChildren.__doc__]
background(self, column: int) -> PySide2.QtGui.QBrush background(self, column: int) -> PySide2.QtGui.QBrush [extrait de background.__doc__]
backgroundColor(self, column: int) -> PySide2.QtGui.QColor backgroundColor(self, column: int) -> PySide2.QtGui.QColor [extrait de backgroundColor.__doc__]
checkState(self, column: int) -> PySide2.QtCore.Qt.CheckState checkState(self, column: int) -> PySide2.QtCore.Qt.CheckState [extrait de checkState.__doc__]
child(self, index: int) -> PySide2.QtWidgets.QTreeWidgetItem child(self, index: int) -> PySide2.QtWidgets.QTreeWidgetItem [extrait de child.__doc__]
childCount(self) -> int childCount(self) -> int [extrait de childCount.__doc__]
ChildIndicatorPolicy
childIndicatorPolicy(self) -> PySide2.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy childIndicatorPolicy(self) -> PySide2.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy [extrait de childIndicatorPolicy.__doc__]
clone(self) -> PySide2.QtWidgets.QTreeWidgetItem clone(self) -> PySide2.QtWidgets.QTreeWidgetItem [extrait de clone.__doc__]
columnCount(self) -> int columnCount(self) -> int [extrait de columnCount.__doc__]
data(self, column: int, role: int) -> typing.Any data(self, column: int, role: int) -> 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, column: int) -> PySide2.QtGui.QFont font(self, column: int) -> PySide2.QtGui.QFont [extrait de font.__doc__]
foreground(self, column: int) -> PySide2.QtGui.QBrush foreground(self, column: int) -> PySide2.QtGui.QBrush [extrait de foreground.__doc__]
icon(self, column: int) -> PySide2.QtGui.QIcon icon(self, column: int) -> PySide2.QtGui.QIcon [extrait de icon.__doc__]
indexOfChild(self, child: PySide2.QtWidgets.QTreeWidgetItem) -> int indexOfChild(self, child: PySide2.QtWidgets.QTreeWidgetItem) -> int [extrait de indexOfChild.__doc__]
insertChild(self, index: int, child: PySide2.QtWidgets.QTreeWidgetItem) insertChild(self, index: int, child: PySide2.QtWidgets.QTreeWidgetItem) [extrait de insertChild.__doc__]
insertChildren(self, index: int, children: typing.Sequence[PySide2.QtWidgets.QTreeWidgetItem]) insertChildren(self, index: int, children: typing.Sequence[PySide2.QtWidgets.QTreeWidgetItem]) [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) -> PySide2.QtWidgets.QTreeWidgetItem parent(self) -> PySide2.QtWidgets.QTreeWidgetItem [extrait de parent.__doc__]
read(self, in_: PySide2.QtCore.QDataStream) read(self, in_: PySide2.QtCore.QDataStream) [extrait de read.__doc__]
removeChild(self, child: PySide2.QtWidgets.QTreeWidgetItem) removeChild(self, child: PySide2.QtWidgets.QTreeWidgetItem) [extrait de removeChild.__doc__]
setBackground(self, column: int, brush: PySide2.QtGui.QBrush) setBackground(self, column: int, brush: PySide2.QtGui.QBrush) [extrait de setBackground.__doc__]
setBackgroundColor(self, column: int, color: PySide2.QtGui.QColor) setBackgroundColor(self, column: int, color: PySide2.QtGui.QColor) [extrait de setBackgroundColor.__doc__]
setCheckState(self, column: int, state: PySide2.QtCore.Qt.CheckState) setCheckState(self, column: int, state: PySide2.QtCore.Qt.CheckState) [extrait de setCheckState.__doc__]
setChildIndicatorPolicy(self, policy: PySide2.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy) setChildIndicatorPolicy(self, policy: PySide2.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy) [extrait de setChildIndicatorPolicy.__doc__]
setData(self, column: int, role: int, value: typing.Any) setData(self, column: int, role: int, value: typing.Any) [extrait de setData.__doc__]
setDisabled(self, disabled: bool) setDisabled(self, disabled: bool) [extrait de setDisabled.__doc__]
setExpanded(self, expand: bool) setExpanded(self, expand: bool) [extrait de setExpanded.__doc__]
setFirstColumnSpanned(self, span: bool) setFirstColumnSpanned(self, span: bool) [extrait de setFirstColumnSpanned.__doc__]
setFlags(self, flags: PySide2.QtCore.Qt.ItemFlags) setFlags(self, flags: PySide2.QtCore.Qt.ItemFlags) [extrait de setFlags.__doc__]
setFont(self, column: int, font: PySide2.QtGui.QFont) setFont(self, column: int, font: PySide2.QtGui.QFont) [extrait de setFont.__doc__]
setForeground(self, column: int, brush: PySide2.QtGui.QBrush) setForeground(self, column: int, brush: PySide2.QtGui.QBrush) [extrait de setForeground.__doc__]
setHidden(self, hide: bool) setHidden(self, hide: bool) [extrait de setHidden.__doc__]
setIcon(self, column: int, icon: PySide2.QtGui.QIcon) setIcon(self, column: int, icon: PySide2.QtGui.QIcon) [extrait de setIcon.__doc__]
setSelected(self, select: bool) setSelected(self, select: bool) [extrait de setSelected.__doc__]
setSizeHint(self, column: int, size: PySide2.QtCore.QSize) setSizeHint(self, column: int, size: PySide2.QtCore.QSize) [extrait de setSizeHint.__doc__]
setStatusTip(self, column: int, statusTip: str) setStatusTip(self, column: int, statusTip: str) [extrait de setStatusTip.__doc__]
setText(self, column: int, text: str) setText(self, column: int, text: str) [extrait de setText.__doc__]
setTextAlignment(self, column: int, alignment: int) setTextAlignment(self, column: int, alignment: int) [extrait de setTextAlignment.__doc__]
setTextColor(self, column: int, color: PySide2.QtGui.QColor) setTextColor(self, column: int, color: PySide2.QtGui.QColor) [extrait de setTextColor.__doc__]
setToolTip(self, column: int, toolTip: str) setToolTip(self, column: int, toolTip: str) [extrait de setToolTip.__doc__]
setWhatsThis(self, column: int, whatsThis: str) setWhatsThis(self, column: int, whatsThis: str) [extrait de setWhatsThis.__doc__]
sizeHint(self, column: int) -> PySide2.QtCore.QSize sizeHint(self, column: int) -> PySide2.QtCore.QSize [extrait de sizeHint.__doc__]
sortChildren(self, column: int, order: PySide2.QtCore.Qt.SortOrder) sortChildren(self, column: int, order: PySide2.QtCore.Qt.SortOrder) [extrait de sortChildren.__doc__]
statusTip(self, column: int) -> str statusTip(self, column: int) -> str [extrait de statusTip.__doc__]
takeChild(self, index: int) -> PySide2.QtWidgets.QTreeWidgetItem takeChild(self, index: int) -> PySide2.QtWidgets.QTreeWidgetItem [extrait de takeChild.__doc__]
takeChildren(self) -> typing.List[PySide2.QtWidgets.QTreeWidgetItem] takeChildren(self) -> typing.List[PySide2.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__]
textColor(self, column: int) -> PySide2.QtGui.QColor textColor(self, column: int) -> PySide2.QtGui.QColor [extrait de textColor.__doc__]
toolTip(self, column: int) -> str toolTip(self, column: int) -> str [extrait de toolTip.__doc__]
treeWidget(self) -> PySide2.QtWidgets.QTreeWidget treeWidget(self) -> PySide2.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: 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__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__