This is a class for internal use. It is used by the TreeWidget class to hold data for the nodes in the tree More...
#include <tree.h>
This class is used by the TreeWidget to implement the tree nodes. It can be used to get information on the data, text and pixmap information of this node.
The treenode provides some functionality which is only available to the TreeWidget class. This is necessary to shield users of the TreeNode from functionality they do not require.
See also: TreeWidget
Constructs a TreeNode
Destroys a TreeNode
Set the highlighted attribute of a TreeNode.
Returns the highlighted attribute of a TreeNode.
Set the expanded attribute of a TreeNode.
Returns the expanded attribute of a TreeNode.
Sets the text that will be drawn in the TreeNode.
Returns the text that is drawn in the TreeNode.
Sets the pixmap that will be drawn in the TreeNode. If pic is 0, no pixmap will be drawn.
Returns the pixmap that is use to draw the TreeNode.
Sets the data associated with the TreeNode.
Returns the data associated with the TreeNode.
[private]
Draw a treenode on paintdevice dev at coordinates x, y. The node is drawn on a dark background if the node is highlighted.
[private]
Set the indentation level of the TreeNode.
[private]
Returns the indentation level of the TreeNode.
[private]
Returns the rectangle occupied by the treeNode. The coordinates are relative to the upper left corner of the screen area.
[private]
Flag for highlighting
[private]
Flag for expanding
[private]
Indentation level for this node. Used by TreeNode::draw
[private]
Pixmap data for this node.
[private]
Text data for this node.
[private]
Data associated to this node
[private]
The on-screen rectangle occupied by this node