This class manages help documentation for the application.
There is only one instance of this manager in an application. This instance is created and owned by DzApp. Request the instance via DzApp::getHelpMgr().
See Also:
void : browseToIdentifier( String identifier )
Opens the help browser at the given identifier.
Parameter(s):
void : browseToKeyword( String keyword )
Opens the help browser at the given keyword.
Parameter(s):
void : browseToPage( String page )
Opens the spacified page in the help browser.
Parameter(s):
void : browseToUrl( String url )
Opens the help browser at the given url.
Parameter(s):
Array : findFilterAttributes( String name )
Parameter(s):
Return Value:
String : findIdentifierUrl( String id )
Parameter(s):
Return Value:
String : findKeywordUrl( String keyword )
Parameter(s):
Return Value:
String : getDescription( String label )
Parameter(s):
Return Value:
label
(if any), otherwise an empty string.Array : getFilterAttributes( Number which )
Parameter(s):
Return Value:
String : getFilterName( Number which )
Parameter(s):
Return Value:
String : getGroup( String label )
Parameter(s):
Return Value:
label
(if any), otherwise an empty string.Return Value:
Since:
Return Value:
String : getHelpString( String label )
Parameter(s):
Return Value:
label
(if any), otherwise an empty string.String : getHelpStringReplacement( String group, String key )
Parameter(s):
Return Value:
Since:
Array : getHelpStringReplacementGroups()
Return Value:
Since:
Array : getHelpStringReplacementKeys( String group )
Parameter(s):
Return Value:
Since:
String : getIdentifier( Number which )
Parameter(s):
Return Value:
String : getIdentifierUrl( Number which )
Parameter(s):
Return Value:
String : getKeyword( Number which )
Parameter(s):
Return Value:
String : getKeywordUrl( Number which )
Parameter(s):
Return Value:
Number : getNumFilters()
Return Value:
Return Value:
Number : getNumKeywords()
Return Value:
String : getStatusTip( String label )
Parameter(s):
Return Value:
label
(if any), otherwise an empty string.String : getToolTip( String label )
Parameter(s):
Return Value:
label
(if any), otherwise an empty string.Boolean : hasHelpItem( String label )
Parameter(s):
Return Value:
true
if a help item with the given label exists, otherwise false
.Boolean : isHelpItemUsed( String label )
Parameter(s):
Return Value:
true
if a help item with the given label is used, otherwise false
.Boolean : removeHelpItem( String label )
Removes the help item with the given label.
Parameter(s):
Return Value:
true
if label
was removed, otherwise false
.Boolean : renameHelpItem( String oldLabel, String newLabel )
Changes the name for the help item with the given label.
Parameter(s):
Return Value:
true
if oldLabel
was renamed, otherwise false
.DzError : saveHelpItems( String filename, Array groups=[], Array labels=[] )
Save the inline help to the specified path.
Parameter(s):
Return Value:
Attention:
path
ends in a filename (has a file extension), a single file is saved - see saveHelpItemsFile(). If path
has no file extension, it is treated as a directory path and a file named after each group in groups
is saved. If any group is an empty string, for the purposes of generating a filename, it will be replaced with a single underscore ('_') character.Since:
void : setDescription( String label, String description )
Sets the description for the help item with the given label. If a help item does not exist, one will be created.
Parameter(s):
void : setGroup( String label, String group )
Sets the group for the help item with the given label. If a help item does not exist, one will be created.
Parameter(s):
void : setHelpItem( String label, String group, String description, String toolTip, String statusTip, String helpString )
Sets the values for the help item with the given label. If a help item does not exist, one will be created.
Parameter(s):
void : setHelpString( String label, String helpString )
Sets the whats this help string for the help item with the given label. If a help item does not exist, one will be created.
Parameter(s):
void : setHelpStringReplacement( String group, String key, String value )
Sets a key
/ value
pair for a help string replacement in the specified group
.
Parameter(s):
Attention:
See Also:
Since:
void : setStatusTip( String label, String statusTip )
Sets the status tip for the help item with the given label. If a help item does not exist, one will be created.
Parameter(s):
void : setToolTip( String label, String toolTip )
Sets the tool tip for the help item with the given label. If a help item does not exist, one will be created.
Parameter(s):
void : updateHelp( QWidget widget )
Called to update the inline help for a widget.
Parameter(s):
void : updateHelp( DzAction action )
Called to update the inline help for an action.
Parameter(s):