mosaic.widgets.StyledListWidgetItem#
- StyledListWidgetItem#
Methods
__init__(text[, visible, metadata, parent, ...])addChild(self, child)addChildren(self, children)background(self, column)checkState(self, column)child(self, index)childCount(self)childIndicatorPolicy(self)clone(self)columnCount(self)data(self, column, role)emitDataChanged(self)flags(self)font(self, column)foreground(self, column)icon(self, column)indexOfChild(self, achild)insertChild(self, index, child)insertChildren(self, index, children)isDisabled(self)isExpanded(self)isFirstColumnSpanned(self)isHidden(self)isSelected(self)parent(self)read(self, in_)removeChild(self, child)setBackground(self, column, brush)setCheckState(self, column, state)setChildIndicatorPolicy(self, policy)setData(self, column, role, value)setDisabled(self, disabled)setExpanded(self, aexpand)setFirstColumnSpanned(self, aspan)setFlags(self, aflags)setFont(self, column, afont)setForeground(self, column, brush)setHidden(self, ahide)setIcon(self, column, aicon)setSelected(self, aselect)setSizeHint(self, column, size)setStatusTip(self, column, astatusTip)setText(self, column, atext)setTextAlignment(setTextAlignment)setToolTip(self, column, atoolTip)setWhatsThis(self, column, awhatsThis)set_visible(visible)Update visibility state and icon.
sizeHint(self, column)sortChildren(self, column, order)statusTip(self, column)takeChild(self, index)takeChildren(self)text()Get item text for backward compatibility.
textAlignment(self, column)toolTip(self, column)treeWidget(self)type(self)update(other)update_icon(visible)Update the item icon based on type and visibility.
whatsThis(self, column)write(self, out)Attributes
DontShowIndicatorDontShowIndicatorWhenChildlessShowIndicatorTypeUserTypealias of
StyledTreeWidgetItem