vrdSceneItemInfo

class vrdSceneItemInfo

(Inherits vrdData)

Holds information to show a vrdNode in the scenegraph tree. getTreeItemInfo in vrScenegraphService will create this structure.

class Flags
HasMetadata
HasAnimation
HasTransformVariant
HasTouchSensor
HasAnnotation

Functions

vrdSceneItemInfo.getDisplayText()
Returns:The node text
Return type:string
vrdSceneItemInfo.getFlags()
Returns:Flags shown in the column extension view
Return type:Flags
vrdSceneItemInfo.getHasFileInfo()
Returns:True, if node has a file info attached
Return type:bool
vrdSceneItemInfo.getIcon()
Returns:The node icon
Return type:QIcon
vrdSceneItemInfo.getIsChecked()
Returns:True, if item’s checkbox is checked
Return type:bool
vrdSceneItemInfo.getIsEditable()
Returns:True, if node is editable
Return type:bool
vrdSceneItemInfo.getIsImplicitShared()
Returns:True, if child of a shared node
Return type:bool
vrdSceneItemInfo.getIsShared()
Returns:True, if node is shared
Return type:bool
vrdSceneItemInfo.getIsSynchronized()
Returns:True, if synchronized root of a shared tree
Return type:bool
vrdSceneItemInfo.getIsVisible()
Returns:True, if node and all its parents are visible
Return type:bool
vrdSceneItemInfo.getNode()
Returns:The node
Return type:vrdNode
vrdSceneItemInfo.setDisplayText(displayText)

Sets the display text.

Parameters:displayText (string) – The text shown in the tree
vrdSceneItemInfo.setFlags(value)

Sets the flags for the column extension.

Parameters:value (Flags) – The flags valid for this node
vrdSceneItemInfo.setHasFileInfo(value)

Sets the file info state.

Parameters:value (bool) – True, if the node has file info attached
vrdSceneItemInfo.setIcon(icon)

Sets the icon.

Parameters:icon (QIcon) – An icon that is displayed in the tree
vrdSceneItemInfo.setIsChecked(checked)

Sets the checked state.

Parameters:checked (bool) – True, if the node is checked in the tree
vrdSceneItemInfo.setIsEditable(value)

Sets the nodes editable state.

Parameters:value (bool) – True, if node is editable
vrdSceneItemInfo.setIsImplicitShared(value)

Sets the implicit shared state.

Parameters:value (bool) – True, if node is implicit shared
vrdSceneItemInfo.setIsShared(value)

Sets the shared state.

Parameters:value (bool) – True, if node is shared
vrdSceneItemInfo.setIsSynchronized(value)

Sets the synchronized state.

Parameters:value (bool) – True, if the node is synchronized
vrdSceneItemInfo.setIsVisible(visible)

Sets the visible state.

Parameters:visible (bool) – True, if the node is visible
vrdSceneItemInfo.setNode(node)

Sets the node.

Parameters:node (vrdNode) – The node