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.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) -> None
QStandardItem(self, icon: Union[PySide6.QtGui.QIcon, PySide6.QtGui.QPixmap], text: str) -> None
QStandardItem(self, other: PySide6.QtGui.QStandardItem) -> None
QStandardItem(self, rows: int, columns: int = 1) -> None
QStandardItem(self, text: str) -> 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.QtGui.QStandardItem.ItemType.Type
UserTypePySide6.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: 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__]
accessibleDescription(self) -> str accessibleDescription(self) -> str [extrait de accessibleDescription.__doc__]
accessibleText(self) -> str accessibleText(self) -> str [extrait de accessibleText.__doc__]
appendColumn(self, items: Sequence[PySide6.QtGui.QStandardItem]) -> None appendColumn(self, items: Sequence[PySide6.QtGui.QStandardItem]) -> None [extrait de appendColumn.__doc__]
appendRow appendRow(self, item: PySide6.QtGui.QStandardItem) -> None [extrait de appendRow.__doc__]
appendRows(self, items: Sequence[PySide6.QtGui.QStandardItem]) -> None appendRows(self, items: Sequence[PySide6.QtGui.QStandardItem]) -> None [extrait de appendRows.__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__]
child(self, row: int, column: int = 0) -> PySide6.QtGui.QStandardItem child(self, row: int, column: int = 0) -> PySide6.QtGui.QStandardItem [extrait de child.__doc__]
clearData(self) -> None clearData(self) -> None [extrait de clearData.__doc__]
clone(self) -> PySide6.QtGui.QStandardItem clone(self) -> PySide6.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) -> Any data(self, role: int = 257) -> 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) -> 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__]
hasChildren(self) -> bool hasChildren(self) -> bool [extrait de hasChildren.__doc__]
icon(self) -> PySide6.QtGui.QIcon icon(self) -> PySide6.QtGui.QIcon [extrait de icon.__doc__]
index(self) -> PySide6.QtCore.QModelIndex index(self) -> PySide6.QtCore.QModelIndex [extrait de index.__doc__]
insertColumn(self, column: int, items: Sequence[PySide6.QtGui.QStandardItem]) -> None insertColumn(self, column: int, items: Sequence[PySide6.QtGui.QStandardItem]) -> None [extrait de insertColumn.__doc__]
insertColumns(self, column: int, count: int) -> None insertColumns(self, column: int, count: int) -> None [extrait de insertColumns.__doc__]
insertRow insertRow(self, row: int, item: PySide6.QtGui.QStandardItem) -> None [extrait de insertRow.__doc__]
insertRows insertRows(self, row: int, count: int) -> None [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__]
isUserTristate(self) -> bool isUserTristate(self) -> bool [extrait de isUserTristate.__doc__]
ItemType
model(self) -> PySide6.QtGui.QStandardItemModel model(self) -> PySide6.QtGui.QStandardItemModel [extrait de model.__doc__]
parent(self) -> PySide6.QtGui.QStandardItem parent(self) -> PySide6.QtGui.QStandardItem [extrait de parent.__doc__]
read(self, in_: PySide6.QtCore.QDataStream) -> None read(self, in_: PySide6.QtCore.QDataStream) -> None [extrait de read.__doc__]
removeColumn(self, column: int) -> None removeColumn(self, column: int) -> None [extrait de removeColumn.__doc__]
removeColumns(self, column: int, count: int) -> None removeColumns(self, column: int, count: int) -> None [extrait de removeColumns.__doc__]
removeRow(self, row: int) -> None removeRow(self, row: int) -> None [extrait de removeRow.__doc__]
removeRows(self, row: int, count: int) -> None removeRows(self, row: int, count: int) -> None [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) -> None setAccessibleDescription(self, accessibleDescription: str) -> None [extrait de setAccessibleDescription.__doc__]
setAccessibleText(self, accessibleText: str) -> None setAccessibleText(self, accessibleText: str) -> None [extrait de setAccessibleText.__doc__]
setAutoTristate(self, tristate: bool) -> None setAutoTristate(self, tristate: bool) -> None [extrait de setAutoTristate.__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__]
setCheckable(self, checkable: bool) -> None setCheckable(self, checkable: bool) -> None [extrait de setCheckable.__doc__]
setCheckState(self, checkState: PySide6.QtCore.Qt.CheckState) -> None setCheckState(self, checkState: PySide6.QtCore.Qt.CheckState) -> None [extrait de setCheckState.__doc__]
setChild setChild(self, row: int, column: int, item: PySide6.QtGui.QStandardItem) -> None [extrait de setChild.__doc__]
setColumnCount(self, columns: int) -> None setColumnCount(self, columns: int) -> None [extrait de setColumnCount.__doc__]
setData(self, value: Any, role: int = 257) -> None setData(self, value: Any, role: int = 257) -> None [extrait de setData.__doc__]
setDragEnabled(self, dragEnabled: bool) -> None setDragEnabled(self, dragEnabled: bool) -> None [extrait de setDragEnabled.__doc__]
setDropEnabled(self, dropEnabled: bool) -> None setDropEnabled(self, dropEnabled: bool) -> None [extrait de setDropEnabled.__doc__]
setEditable(self, editable: bool) -> None setEditable(self, editable: bool) -> None [extrait de setEditable.__doc__]
setEnabled(self, enabled: bool) -> None setEnabled(self, enabled: bool) -> None [extrait de setEnabled.__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__]
setRowCount(self, rows: int) -> None setRowCount(self, rows: int) -> None [extrait de setRowCount.__doc__]
setSelectable(self, selectable: bool) -> None setSelectable(self, selectable: bool) -> None [extrait de setSelectable.__doc__]
setSizeHint(self, sizeHint: PySide6.QtCore.QSize) -> None setSizeHint(self, sizeHint: 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, textAlignment: PySide6.QtCore.Qt.Alignment) -> None setTextAlignment(self, textAlignment: PySide6.QtCore.Qt.Alignment) -> None [extrait de setTextAlignment.__doc__]
setToolTip(self, toolTip: str) -> None setToolTip(self, toolTip: str) -> None [extrait de setToolTip.__doc__]
setUserTristate(self, tristate: bool) -> None setUserTristate(self, tristate: bool) -> None [extrait de setUserTristate.__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__]
sortChildren(self, column: int, order: PySide6.QtCore.Qt.SortOrder = PySide6.QtCore.Qt.SortOrder.AscendingOrder) -> None sortChildren(self, column: int, order: PySide6.QtCore.Qt.SortOrder = PySide6.QtCore.Qt.SortOrder.AscendingOrder) -> None [extrait de sortChildren.__doc__]
statusTip(self) -> str statusTip(self) -> str [extrait de statusTip.__doc__]
takeChild(self, row: int, column: int = 0) -> PySide6.QtGui.QStandardItem takeChild(self, row: int, column: int = 0) -> PySide6.QtGui.QStandardItem [extrait de takeChild.__doc__]
takeColumn(self, column: int) -> List[PySide6.QtGui.QStandardItem] takeColumn(self, column: int) -> List[PySide6.QtGui.QStandardItem] [extrait de takeColumn.__doc__]
takeRow(self, row: int) -> List[PySide6.QtGui.QStandardItem] takeRow(self, row: int) -> List[PySide6.QtGui.QStandardItem] [extrait de takeRow.__doc__]
text(self) -> str text(self) -> str [extrait de text.__doc__]
textAlignment(self) -> PySide6.QtCore.Qt.Alignment textAlignment(self) -> PySide6.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: 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__