comp • gb.qt4 • _treeview_item

_TreeView_Item (gb.qt4)

This virtual class represents a ListView, TreeView or ColumnView item.

This class is virtual.
This class is not creatable.
This class acts like a
Return the text displayed in the specified column.
read
/
Set the text displayed in the specified column.
write
array.

Properties

Methods
Background  
Returns how many children this item has.
Children  
Returns how many children this item has.
Count  
Indicates if this item is editable, i.e. if it can be renamed by the user when he clicks on it.
Editable  
Returns or sets if the item is expanded, i.e. if its children are visible.
Expanded  
Font   Foreground  
A synonymous for the Height property.
H  
Return the height of the item.
Height  
Return the item key.
Key  
Return the key of the parent item, or a null string is the item has no parent.
ParentKey  
Return or set the picture displayed besides the item.
Picture  
Return or set the rich text displayed by the item.
RichText  
Return or set if the item is selected.
Selected  
Return or set the text displayed by the item.
Text  
A synonymous of the Width property.
W  
Return the width of the item.
Width  
Return the X coordinate of item relative to the view top-left corner.
X  
Return the Y coordinate of item relative to the view top-left corner.
Y  
Deletes all item children.
Clear  
Delete the item.
Delete  
Ensure that the item is visible on the screen.
EnsureVisible  
Move the item just after the item whose key is given by the Key parameter.
MoveAfter  
Move the item just before the item whose key is given by the Key parameter.
MoveBefore  
Move the item so that it is the first child of its parent.
MoveFirst  
Move the item so that it is the last child of its parent.
MoveLast  
Start renaming the item.
Rename  
Reparent