User Tools

Site Tools


DzActivityLayout

Defines the layout of an Activity of the interface.

More...

Inherits :

Properties

Constructors

DAZ Script
DzActivityLayout ( String label, String desc )

Methods

DAZ Script
voidclearMemorizedState ()
BooleanisToolBarEnabled ( String toolbar )
voidsetToolbarEnabled ( String toolbar, Boolean onOff )

Signals

voidlabelChanged ( String label )

Detailed Description

Defines the layout of Toolbars, Pane Groups, Panes, Viewports and the active View Tool within an Activity of the interface.

See Also:

Properties


String : description

The description of the activity


String : label

The label of the activity

Constructors


DzActivityLayout( String label, String desc )

Default Constructor. Creates a new activity layout with the given name and description.

Parameter(s):

  • label - The label that the user will see for this layout in the activity tabs
  • description - The description of the layout.

Methods


void : clearMemorizedState()

Clears the memorized state of the activity.


Boolean : isToolBarEnabled( String toolbar )

Return Value:

  • Whether or not the toolbar with the given name is enabled for this activity layout.

void : setToolbarEnabled( String toolbar, Boolean onOff )

Sets whether or not the toolbar with the given name is enabled.

Signals


void : labelChanged( String label )

Signature:“labelChanged(const QString&)”

Emitted when the layout's label has changed.

Parameter(s):

  • label - The new label for the layout.