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 this activity


String : label

The label of this 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 this activity tabs
  • description - The description of the layout.

Methods


void : clearMemorizedState()

Clears the memorized state of this activity.


Boolean : isToolBarEnabled( String toolbar )

Parameter(s):

  • toolbar - The name of the toolbar.

Return Value:

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

void : setToolbarEnabled( String toolbar, Boolean onOff )

Sets whether or not a toolbar is enabled in this activity.

Parameter(s):

  • toolbar - The name of the toolbar.
  • onOff - The enabled state to set.

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.