vrdSceneItemInfo¶
-
class
vrdSceneItemInfo
¶
(Inherits vrdData
)
Holds information to show a vrdNode in the scenegraph tree. getTreeItemInfo in vrScenegraphService will create this structure.
Summary¶
- Functions:
- getDisplayText() → string
- getFlags() → Flags
- getHasFileInfo() → bool
- getIcon() → QIcon
- getIsChecked() → bool
- getIsEditable() → bool
- getIsImplicitShared() → bool
- getIsShared() → bool
- getIsSynchronized() → bool
- getIsVisible() → bool
- getNode() → vrdNode
- setDisplayText(displayText)
- setFlags(value)
- setHasFileInfo(value)
- setIcon(icon)
- setIsChecked(checked)
- setIsEditable(value)
- setIsImplicitShared(value)
- setIsShared(value)
- setIsSynchronized(value)
- setIsVisible(visible)
- setNode(node)
Functions¶
-
vrdSceneItemInfo.
getDisplayText
()¶ Returns: The node text Return type: string
-
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
Returns: True, if child of a shared node Return type: bool
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.
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
Sets the implicit shared state.
Parameters: value (bool) – True, if node is implicit shared
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