"linkDelegationPolicy"

This property controls the behaviour of the WebView Ewo when a link is clicked.

Synopsis

void shape.linkDelegationPolicy( string policy);

Parameters

Parameter Description
policy

Defines which link delegation policy is employed. 4 policies are available:

DontDelegateLinks:

  • The links are not delegated. Instead, the WebView EWO handles them all. The linkClicked event is not executed.

DelegateExternalLinks:

  • When activating links that point to documents stored on the local file system or equivalent (e.g.: Qt resource system) the link is handled and the linkClicked event is not executed.
  • For resources outside the local system, the linkClicked event is executed.

DelegateAllLinks:

  • Whenever a link is activated, the linkClicked event is executed.

NavigateAndDelegateAllLinks:

  • The WebView EWO navigates to the link address and the linkClicked event is executed.

Description

This function describes which links are followed and if the linkClicked event is executed, when a link is activated in the WebView Ewo.

Assignment

WebView EWO