2 summary:: An item in QTreeView
3 categories:: GUI>Kits>Qt
7 An instance of QTreeViewItem represents an item in QTreeView. There may be multiple instances representing the same item, e.g. after calling link::Classes/TreeView#-currentItem:: multiple times.
14 RETURNS:: An integer position of this item among its siblings.
17 RETURNS:: An new instance of QTreeViewItem representing the parent item.
20 RETURNS:: A new instance of QTreeViewItem representing the child item at code::index::.
23 Appends a new child to this item.
26 An array of Strings (or nil), each for the text of one data field.
28 An instance of QTreeViewItem representing the new item.
31 Inserts a new child to this item at code::index::.
34 The position at which to insert the child.
36 An array of Strings (or nil), each for the text of one data field.
38 An instance of QTreeViewItem representing the new item.
41 The text in the data fields.
44 An array of Strings (or nil), each for the text of one data field.
47 Sets the text in the given data field.
50 An integer index of a data field.
55 The background colors of the data fields.
58 An array of Colors, each for the color of one data field.
61 Sets the background color of the given data field.
64 An integer index of a data field.
69 The text colors of the data fields.
72 An array of Colors, each for the color of one data field.
75 Sets the text color of the given data field.
78 An integer index of a data field.
83 Places another view into the given data field. Only one view can be placed into a data field at once. If a view is already present, it will be removed and destroyed.
85 If the number of data fields decreases due to a call to link::Classes/TreeView#-columns::, the views contained in removed data fields will also be removed and destroyed.
88 An integer index of a data field.
93 Removes the view from the given data field, if any.
96 An integer index of a data field.
99 The view in the given data field.
102 An integer index of a data field.
105 Implements equality comparison between two QTreeViewItem instances. Two instances are equal if they represent the same item in QTreeView.
110 Whether the item is invalid. After an item is removed, all related QTreeViewItem instances become invalid.