User Tools

Site Tools


DzPropertyGroupTree

Represents the root of a property group tree.

More...

Inherits :

Methods

Signals

Detailed Description

See Also:

Methods


DzPropertyGroup : findChild( String name )

Parameter(s):

  • name - The name of the property group to look for.

Return Value:

  • The child with the given path (if any), otherwise NULL.

DzProperty : findProperty( String name )

Attempts to find a property with a given name.

Parameter(s):

  • name - The name of the property to find.

Return Value:

  • The found property (if any), otherwise NULL.

Since:

  • 4.7.1.43

DzProperty : findPropertyByLabel( String label )

Attempts to find a property with a given label.

Parameter(s):

  • label - The label of the property to find.

Return Value:

  • The found property (if any), otherwise NULL.

Since:

  • 4.11.0.166

Array : getAllPaths()

Return Value:

  • A list of all property group paths in this tree.

Array : getAllProperties()

Return Value:

  • A list of all properties in this tree.

Since:

  • 4.9.4.101

DzPropertyGroup : getDefaultGroup()

Return Value:

  • The default property group for the tree; i.e., “General”

DzPropertyGroup : getFirstChild()

Return Value:

  • The first child group (if any), otherwise NULL.

DzElement : getOwner()

Return Value:

  • The element that this property group tree belongs to.

bool : isPrivate()

Return Value:

  • true if this property group tree is private, otherwise false.

void : setIsPrivate( Boolean onoff )

Sets whether or not this property group tree is private.

Parameter(s):

  • onOff - If true, the property group tree is set private.

void : sortGroups()

Alpha-numerically sorts the property groups, keeping “General” at the top.

Signals


void : childListChanged()

Signature:“childListChanged()”

Emitted when the child list of the group has changed.


void : propertyVisiblityChanged( DzPropertyGroup grp, DzProperty prop )

Signature:“propertyVisiblityChanged(DzPropertyGroup*,DzProperty*)”

Emitted when the visibility of a property in the tree has changed.

Parameter(s):

  • grp - The group containing the property.
  • prop - The property that changed.

void : treeChanged()

Signature:“treeChanged()”

Emitted when the tree has changed.


void : treeSorted()

Signature:“treeSorted()”

Emitted when the tree is sorted.