User Tools

Site Tools


DzInfoTabs

Tab bar that provides Tips, MetaData, and Info tabs…

More...

Inherits :

Methods

DAZ Script
NumbercurrentTab ()
voidhideStack ()
BooleanisStackHidden ()
voidsetCurrentTab ( Number which )
voidsetFileInfo ( DzAsset asset )
voidsetInfo ( DzAsset asset )
voidsetMetaInfo ( DzAsset asset )
voidsetNodeInfo ( DzNode node )
voidsetProductInfo ( DzProductAssetContainer product )
DzErrorsetTipUIScript ( String path )
voidshowFileTab ( Boolean onOff )
voidshowMetaTab ( Boolean onOff )
voidshowNodeTab ( Boolean onOff )
voidshowRenderTab ( Boolean onOff )
voidshowStack ()
voidshowStoreTab ( Boolean onOff )

Signals

Detailed Description

Tab bar that provides Tips, MetaData, and Info tabs that can be used to provide various information about products.

Methods


Number : currentTab()

Return Value:

  • The index of the current tab

void : hideStack()

Hides the widget responsible for displaying tab contents


Boolean : isStackHidden()

Return Value:

  • true if the widget responsible for displaying tab contents is hidden, false otherwise

void : setCurrentTab( Number which )

Sets the current tab to which

Parameter(s):

  • which - The tab to make current

void : setFileInfo( DzAsset asset )

Sets the file info for the given asset

Parameter(s):

  • asset - The asset file from which file info will be populated

void : setInfo( DzAsset asset )

Sets file and meta data info for the given asset

Parameter(s):

  • asset - The asset file from which file and metadata info will be populated

void : setMetaInfo( DzAsset asset )

Sets metadata info for the given asset

Parameter(s):

  • asset - The asset file from which file info will be populated

void : setNodeInfo( DzNode node )

Sets info for the given node

Parameter(s):

  • node - The node from which info will be populated

void : setProductInfo( DzProductAssetContainer product )

Sets file info from the given asset container

Parameter(s):

  • product - The product from which product info will be populated

DzError : setTipUIScript( String path )

Sets the UI script responsible for displaying the contents of the Tips tab

Parameter(s):

  • path - The path to the UI script file to use

Return Value:

  • A DzError error code indicating the status of setting the UI File

void : showFileTab( Boolean onOff )

Specifies whether the file tab is shown or not

Parameter(s):

  • onOff - If true, the file tab will be shown, otherwise it will be hidden

void : showMetaTab( Boolean onOff )

Specifies whether the metadata tab is shown or not

Parameter(s):

  • onOff - If true, the metadata tab will be shown, otherwise it will be hidden

void : showNodeTab( Boolean onOff )

Specifies whether the node tab is shown or not

Parameter(s):

  • onOff - If true, the node tab will be shown, otherwise it will be hidden

void : showRenderTab( Boolean onOff )

Specifies whether the render tab is shown or not

Parameter(s):

  • onOff - If true, the render tab will be shown, otherwise it will be hidden

void : showStack()

Shows the widget responsible for displaying the contents of the tabs


void : showStoreTab( Boolean onOff )

Specifies whether the store tab is shown or not

Parameter(s):

  • onOff - If true, the store tab will be shown, otherwise it will be hidden

Since:

  • 4.8.1.79

Signals


void : keywordAddUniqueClicked( String keyword )

Signature:“keywordAddUniqueClicked(const QString&)”

Emitted when a keyword is clicked and the CTRL modifier key is pressed.

Parameter(s):

  • keyword - The link text for the keyword clicked.

void : keywordSetClicked( String keyword )

Signature:“keywordSetClicked(const QString&)”

Emitted when a keyword is clicked.

Parameter(s):

  • keyword - The link text for the keyword clicked.

void : renderApplyClicked()

Signature:“renderApplyClicked()”

Emitted when the apply button on the render tab is clicked.