• 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
  • CDPBaseRoseSector

CDPBaseRoseSector Class

The Rose Sector Meter widget is an arc gauge with 4 needles and colored sectors for showing movement and danger zones. More...

Header: #include <CDPBaseRoseSector>
Inherits: CDPBaseMeter4N
  • List of all members, including inherited members

Properties

  • cdp1ErrorSecRouting : QString
  • cdp1NormalSecRouting : QString
  • cdp1WarningHighSecRouting : QString
  • cdp1WarningSecRouting : QString
  • cdp2ErrorSecRouting : QString
  • cdp2NormalSecRouting : QString
  • cdp2WarningHighSecRouting : QString
  • cdp2WarningSecRouting : QString
  • cdpCenterSecRouting : QString
  • 42 properties inherited from CDPBaseMeter4N
  • 42 properties inherited from CDPBaseMeter3N
  • 43 properties inherited from CDPBaseMeter2N
  • 52 properties inherited from CDPBaseMeter
  • 6 properties inherited from CDPBaseWidget

Public Functions

CDPBaseRoseSector(QWidget *parent = 0)
QString centerSecRouting()
QString errorSecRouting1()
QString errorSecRouting2()
QString normalSecRouting1()
QString normalSecRouting2()
void setCenterSecRouting(QString routing)
void setErrorSecRouting1(QString routing)
void setErrorSecRouting2(QString routing)
void setNormalSecRouting1(QString routing)
void setNormalSecRouting2(QString routing)
void setWarningHighSecRouting1(QString routing)
void setWarningHighSecRouting2(QString routing)
void setWarningSecRouting1(QString routing)
void setWarningSecRouting2(QString routing)
QString warningHighSecRouting1()
QString warningHighSecRouting2()
QString warningSecRouting1()
QString warningSecRouting2()

Reimplemented Public Functions

virtual void updateAlarmsFromSector(int layer = FirstLayer, bool bUpdate = true)
  • 76 public functions inherited from CDPBaseMeter4N
  • 76 public functions inherited from CDPBaseMeter3N
  • 77 public functions inherited from CDPBaseMeter2N
  • 90 public functions inherited from CDPBaseMeter
  • 8 public functions inherited from CDPBaseWidget
  • 17 public functions inherited from CDPBaseCom
  • 4 public functions inherited from CDPBaseControlVisible

Additional Inherited Members

  • 16 public slots inherited from CDPBaseMeter4N
  • 16 public slots inherited from CDPBaseMeter3N
  • 18 public slots inherited from CDPBaseMeter2N
  • 25 public slots inherited from CDPBaseMeter
  • 10 public slots inherited from CDPBaseWidget
  • 1 signal inherited from CDPBaseWidget
  • 2 static public members inherited from CDPBaseCom
  • 14 protected functions inherited from CDPBaseMeter
  • 4 protected functions inherited from CDPBaseCom
  • 1 protected function inherited from CDPBaseControlVisible

Detailed Description

The Rose Sector Meter widget is an arc gauge with 4 needles and colored sectors for showing movement and danger zones.

The Rose Meter is similar to the Meter 4 Needles, but has a different design and some additional routing properties for controlling the meter alarms as rose sectors (routing to CDP objects/properties).

Two sector sets can be controlled by routings to CDP objects/properties. The different routing properties of the different sets are prefixed with cdp1 and cdp2. Each set includes the following sectors; Normal, Warning, WarningHigh and Error. The sectors must be used in the order they are listed. The Normal sector is always the inner arc while the other sectors are arcs added to both sides of the Normal sector.

The CDP object/property that is routed in the routing properties must provide the number of degrees for each sector to span (for sectors other than Normal the number of degrees showing on the gauge will be multiplied by two).

Property Documentation

cdp1ErrorSecRouting : QString

This property holds the routing to the CDP object/property that controls number of degrees to add for sector Error. The arc will be added on both sides of the Normal sector, after Warning and WarningHigh. For the arc to show, the property alarmShow must be set to true and a color must be set in ErrorColor. It is also a requirement that both Warning and WarningHigh sectors have degrees larger than zero.

Access functions:

QString errorSecRouting1()
void setErrorSecRouting1(QString routing)

See also alarmShow and ErrorColor.

cdp1NormalSecRouting : QString

This property holds the routing to the CDP object/property that controls the inner arc of the first set of sectors. The routed object must provide the number of degrees the arc is supposed to cover. For the arc to show, the property alarmShow must be set to true and a color must be set in the NormalColor property.

Access functions:

QString normalSecRouting1()
void setNormalSecRouting1(QString routing)

See also alarmShow and NormalColor.

cdp1WarningHighSecRouting : QString

This property holds the routing to the CDP object/property that controls the number of degrees to add for sector WarningHigh. The arc will be added on both sides of the Normal sector, after Warning. For the arc to show, the property alarmShow must be set to true and a color must be set in WarningHighColor. It is also a requirement that the Warning sector has degrees larger than zero.

Access functions:

QString warningHighSecRouting1()
void setWarningHighSecRouting1(QString routing)

See also alarmShow and WarningHighColor.

cdp1WarningSecRouting : QString

This property holds the routing to the CDP object/property that controls the number of degrees to add for sector Warning. The arc will be added on both sides of the Normal sector. For the arc to show, the property alarmShow must be set to true and a color must be set in WarningColor.

Access functions:

QString warningSecRouting1()
void setWarningSecRouting1(QString routing)

See also alarmShow and WarningColor.

cdp2ErrorSecRouting : QString

This property holds the routing to the CDP object/property that controls the number of degrees to add for sector Error. The arc will be added on both sides of the Normal sector, after Warning and WarningHigh. For the arc to show, the property alarmShow2 must be set to true and a color must be set in ErrorColor2. It is also a requirement that both Warning and WarningHigh sectors have degrees larger than zero.

Access functions:

QString errorSecRouting2()
void setErrorSecRouting2(QString routing)

See also alarmShow2 and ErrorColor2.

cdp2NormalSecRouting : QString

This property holds the routing to the CDP object/property that controls the inner arc of the second set of sectors. The routed object must provide the number of degrees the arc is supposed to cover. For the arc to show, the property alarmShow must be set to true and a color must be set in the NormalColor property.

Access functions:

QString normalSecRouting2()
void setNormalSecRouting2(QString routing)

See also alarmShow2 and NormalColor2.

cdp2WarningHighSecRouting : QString

This property holds the routing to the CDP object/property that controls the number of degrees to add for sector WarningHigh. The arc will be added on both sides of the Normal sector, after Warning. For the arc to show, the property alarmShow2 must be set to true and a color must be set in WarningHighColor2. It is also a requirement that the Warning sector has degrees larger than zero.

Access functions:

QString warningHighSecRouting2()
void setWarningHighSecRouting2(QString routing)

See also alarmShow2 and WarningHighColor2.

cdp2WarningSecRouting : QString

This property holds the routing to the CDP object/property that controls the number of degrees to add for sector Warning. The arc will be added on both sides of the Normal sector. For the arc to show, the property alarmShow2 must be set to true and a color must be set in WarningColor2.

Access functions:

QString warningSecRouting2()
void setWarningSecRouting2(QString routing)

See also alarmShow2 and WarningColor2.

cdpCenterSecRouting : QString

This property holds the routing to the CDP object/property that controls the center of both sector sets. The sectors with routing properties prefixed with cdp1 and cdp2.

Access functions:

QString centerSecRouting()
void setCenterSecRouting(QString routing)

Member Function Documentation

CDPBaseRoseSector::CDPBaseRoseSector(QWidget *parent = 0)

Default constructs an instance of CDPBaseRoseSector.

[virtual] void CDPBaseRoseSector::updateAlarmsFromSector(int layer = FirstLayer, bool bUpdate = true)

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