• 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
  • Products
    • Automation Designer
    • HMI Designer
    • Maritime HMIs
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • GUI - CDP Widgets
  • CDPBaseLoadingIndicator

CDPBaseLoadingIndicator Class

The Loading Indicator is a widget intended to inform the user that an operation is in progress. More...

Header: #include <CDPBaseLoadingIndicator>
Inherits: CDPBaseWidget and CDPBaseCom
  • List of all members, including inherited members

Properties

  • cdpRouting : QString
  • svgFile : QString
  • 6 properties inherited from CDPBaseWidget

Public Functions

CDPBaseLoadingIndicator(QWidget *parent = 0)
QString cdpRouting()
void setCdpRouting(QString routing)
QString svgFile()

Reimplemented Public Functions

virtual void setIQtCDPPointer(IQtCDP *pIQtCDP)
  • 8 public functions inherited from CDPBaseWidget
  • 17 public functions inherited from CDPBaseCom
  • 4 public functions inherited from CDPBaseControlVisible

Public Slots

void setSvgFile(const QString &svg)
virtual void setWidgetTheme(const QString &theme)
  • 10 public slots inherited from CDPBaseWidget

Protected Functions

virtual void hideEvent(QHideEvent *ev)
virtual void paintEvent(QPaintEvent *ev)
virtual void resizeEvent(QResizeEvent *ev)
virtual void showEvent(QShowEvent *ev)
virtual void timerEvent(QTimerEvent *ev)

Reimplemented Protected Functions

virtual void setValue(double value)
  • 4 protected functions inherited from CDPBaseCom
  • 1 protected function inherited from CDPBaseControlVisible

Additional Inherited Members

  • 1 signal inherited from CDPBaseWidget
  • 2 static public members inherited from CDPBaseCom

Detailed Description

The Loading Indicator is a widget intended to inform the user that an operation is in progress.

The widget visibility can be controlled from the control system using the cdpRouting property and toggling the value between 0 and 1.

To show the indicator as an overlay on top of other contents, we can use the overlay functionality in the Container widget.

Property Documentation

cdpRouting : QString

Access functions:

QString cdpRouting()
void setCdpRouting(QString routing)

svgFile : QString

Access functions:

QString svgFile()
void setSvgFile(const QString &svg)

Member Function Documentation

CDPBaseLoadingIndicator::CDPBaseLoadingIndicator(QWidget *parent = 0)

Default constructs an instance of CDPBaseLoadingIndicator.

[virtual protected] void CDPBaseLoadingIndicator::hideEvent(QHideEvent *ev)

[virtual protected] void CDPBaseLoadingIndicator::paintEvent(QPaintEvent *ev)

[virtual protected] void CDPBaseLoadingIndicator::resizeEvent(QResizeEvent *ev)

[virtual] void CDPBaseLoadingIndicator::setIQtCDPPointer(IQtCDP *pIQtCDP)

[virtual protected] void CDPBaseLoadingIndicator::setValue(double value)

[virtual slot] void CDPBaseLoadingIndicator::setWidgetTheme(const QString &theme)

[virtual protected] void CDPBaseLoadingIndicator::showEvent(QShowEvent *ev)

[virtual protected] void CDPBaseLoadingIndicator::timerEvent(QTimerEvent *ev)

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 2025 CDP Technologies. Privacy and cookie policy.

Return to top