35 from python_qt_binding.QtWidgets
import QTreeWidgetItem
40 Internal subclass of QTreeWidgetItem which adds a 'name' member to make 41 it easier to extract the item name and create an inspector when an item 50 A class that wraps the default QTreeWidgetItem, so that we can manipulate 51 all of the nodes in the tree in the same way (even the invisible root node) 61 def update(self, status, displayname):
64 self._item.name = status.name
66 self._item.setIcon(0, util.level_to_icon(status.level))
67 self._item.setText(1, status.message)
78 self._item.removeChild(self.
_children[child]._item)
87 self._item.addChild(self.
_children[key]._item)
94 self._item.removeChild(self.
_children[key]._item)
96 self._item.addChild(value._item)
def __getitem__(self, key)
def __init__(self, item=None)
def __setitem__(self, key, value)
def update(self, status, displayname)
def __contains__(self, key)