• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Product
    • Design UI
    • Develop
    • Analyze and test
    • Deploy
    • Framework and toolbox
    • Compatibility
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • GUI - CDP Widgets
  • WebEngineView

WebEngineView Class

This widget is used to display web content in a native user interface. The widget is a web browser window embedded in the user interface and allows users to navigate by clicking on links or selecting elements in the web content. More...

Header: #include <CDPBaseWidgets/WebEngineView.h>
  • List of all members, including inherited members

Properties

  • url : QUrl

Public Functions

WebEngineView(QWidget *parent = 0)
void setUrl(const QUrl &url)
QUrl url() const

Detailed Description

This widget is used to display web content in a native user interface. The widget is a web browser window embedded in the user interface and allows users to navigate by clicking on links or selecting elements in the web content.

The url property holds the web address to the content to be shown in the widget.

The WebEngineView widget is supported on Linux targets and will not display on Windows or for Web UIs made using Web Assembly.

The widget is a wrapper for the QWebEngineView widget.

Note: There may be issues related to security when using this widget. One concern is the risk of remote content being hijacked. For more information see CyberSecurity Requirements.

Property Documentation

url : QUrl

This property holds the URL of the web page currently viewed.

Setting this property clears the view and loads the URL.

By default, this property contains an empty, invalid URL.

Access functions:

QUrl url() const
void setUrl(const QUrl &url)

Member Function Documentation

WebEngineView::WebEngineView(QWidget *parent = 0)

Default constructs an instance of WebEngineView.

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2024 CDP Technologies. Privacy and cookie policy.

Return to top