Web

Property

Function

Type

Url

Sets URL address Actions editor: Property > Web > Url Code: widget.content.webUrl

string

Popup links

If Ignore, do not open pop-up links, else open in the same window Actions editor: Property > Web > Popup links Code: widget.content.popupBehavior

enum Values: Ignore OpenInTheSameWindow

Js result

Holds result of actionRunJavaScript Actions editor: Property > Web > Js result Code: widget.content.javaScripResult

string

Snapshot

Web page snapshot Actions editor: Property > Web > Snapshot Code: widget.content.snapshot

string

Current url

Gets current url Actions editor: Property > Web > Current url Code: widget.content.currentUrl

string

Current url hash

Gets current url Actions editor: Property > Web > Current url hash Code: widget.content.currentUrlHash

string

Current title

Gets current page title Actions editor: Property > Web > Current title Code: widget.content.webPageTitle

string

Progress

Gets loading progress Actions editor: Property > Web > Progress Code: widget.content.loadProgress

int

Error

Gets loading error text Actions editor: Property > Web > Error Code: widget.content.error

string

Actions

Property

Function

Run JavaScript

Run custom javascript code, i.e. alert(document.title + document.location) Actions editor: Actions > Common > Run JavaScript Code: widget.content.script.actionRunJavaScript(QString script)

Go back

Go back to previous page Actions editor: Actions > Common > Go back Code: widget.content.script.actionGoBack()

Go forward

Go forward to next page Actions editor: Actions > Common > Go forward Code: widget.content.script.actionGoForward()

Stop

Stops loading the current url Actions editor: Actions > Common > Stop Code: widget.content.script.actionStop()

Reload

Reload the current url Actions editor: Actions > Common > Reload Code: widget.content.script.actionReload()

Load html document

Loads the specified html content to the web view Actions editor: Actions > Common > Load html document Code: widget.content.script.actionLoadHtml(QString html)

Set url

Actions editor: Actions > Common > Set url Code: widget.content.script.actionSetUrl(QString url)

Events

Property

Function

Run JavaScript

Actions editor: Event > Run JavaScript Code: widget.content.script.eventJavaScriptRunned()

Page loaded

Event when page is loaded Actions editor: Event > Page loaded Code: widget.content.script.eventLoaded()

Error

Event when error is raised Actions editor: Event > Error Code: widget.content.script.eventError()

Load progress changed

Event when page loading progress is changed Actions editor: Event > Load progress changed Code: widget.content.script.eventProgress()

Url changed

Event when url is changed Actions editor: Event > Url changed Code: widget.content.script.eventUrlChanged()

Last updated