CDPBaseMeter2N2B Class

The Meter 2 Needles 2 Buttons widget has two needles and two buttons. More...

Header: #include <CDPBaseMeter2N2B>
Inherits: CDPBaseMeter2N

Properties

Public Functions

CDPBaseMeter2N2B(QWidget *parent = 0)
~CDPBaseMeter2N2B()
virtual QString b1CdpPressed()
virtual QString b1CdpStyle()
virtual QSize b1Size()
virtual bool b1SvgBorderPixmap()
virtual QString b1SvgFile()
virtual QString b1UiFileName()
virtual int b1ValueToEmit()
virtual QString b2CdpPressed()
virtual QString b2CdpStyle()
virtual int b2OffsetBottom()
virtual QSize b2Size()
virtual bool b2SvgBorderPixmap()
virtual QString b2SvgFile()
virtual QString b2UiFileName()
virtual int b2ValueToEmit()
virtual bool scaleButtons()
virtual void setB1CdpPressed(QString routing)
virtual void setB1CdpStyle(QString routing)
virtual void setB1Size(QSize s, bool isOriginalSize = true)
virtual void setB1SvgBorderPixmap(bool borderPix)
virtual void setB1SvgFile(QString svg)
virtual void setB1UiFileName(QString name)
virtual void setB1ValueToEmit(int value)
virtual void setB2CdpPressed(QString routing)
virtual void setB2CdpStyle(QString routing)
virtual void setB2OffsetBottom(int offset)
virtual void setB2Size(QSize s, bool isOriginalSize = true)
virtual void setB2SvgBorderPixmap(bool borderPix)
virtual void setB2SvgFile(QString svg)
virtual void setB2UiFileName(QString name)
virtual void setB2ValueToEmit(int value)
virtual void setScaleButtons(bool scale)

Reimplemented Public Functions

virtual const QStringList &pushRoutables() const
virtual void setIQtCDPPointer(IQtCDP *pIQtCDP)

Signals

void b1Clicked(int value)
void b2Clicked(int value)
virtual void pushRoutablesChanged(const QStringList &pushers)

Protected Functions

virtual int calcTopSpacerHeight()
virtual QSize sizeHint() const

Reimplemented Protected Functions

virtual void resizeEvent(QResizeEvent *ev)

Additional Inherited Members

Detailed Description

The Meter 2 Needles 2 Buttons widget has two needles and two buttons.

The CDPBaseMeter2N2B widget inherits CDPBaseMeter2N with all of its properties.

Property Documentation

b1CdpPressed : QString

This property holds routing to get style when pressed.

Access functions:

virtual QString b1CdpPressed()
virtual void setB1CdpPressed(QString routing)

b1CdpStyle : QString

This property holds routing to get style.

Access functions:

virtual QString b1CdpStyle()
virtual void setB1CdpStyle(QString routing)

b1Size : QSize

This property holds the size of the button.

Access functions:

virtual QSize b1Size()
virtual void setB1Size(QSize s, bool isOriginalSize = true)

b1SvgBorderPixmap : bool

This property holds a boolean that determines whether to use the svg's border pixmap margins.

Access functions:

virtual bool b1SvgBorderPixmap()
virtual void setB1SvgBorderPixmap(bool borderPix)

b1SvgFile : QString

This property holds the path of the svg file/resource for button 1.

Access functions:

virtual QString b1SvgFile()
virtual void setB1SvgFile(QString svg)

b1UiFileName : QString

This property holds path to Ui file.

Access functions:

virtual QString b1UiFileName()
virtual void setB1UiFileName(QString name)

b1ValueToEmit : int

This property holds set value to emit to cdp on clicked().

Access functions:

virtual int b1ValueToEmit()
virtual void setB1ValueToEmit(int value)

b2CdpPressed : QString

This property holds routing to get style when pressed.

Access functions:

virtual QString b2CdpPressed()
virtual void setB2CdpPressed(QString routing)

b2CdpStyle : QString

This property holds routing to get style.

Access functions:

virtual QString b2CdpStyle()
virtual void setB2CdpStyle(QString routing)

b2OffsetBottom : int

This property holds offset of bottom 2.

Access functions:

virtual int b2OffsetBottom()
virtual void setB2OffsetBottom(int offset)

b2Size : QSize

This property holds the size of button 2.

Access functions:

virtual QSize b2Size()
virtual void setB2Size(QSize s, bool isOriginalSize = true)

b2SvgBorderPixmap : bool

This property holds a boolean that determines whether to use the svg's border pixmap margins.

Access functions:

virtual bool b2SvgBorderPixmap()
virtual void setB2SvgBorderPixmap(bool borderPix)

b2SvgFile : QString

This property holds the path of the svg file/resource for button 2.

Access functions:

virtual QString b2SvgFile()
virtual void setB2SvgFile(QString svg)

b2UiFileName : QString

This property holds path to Ui file.

Access functions:

virtual QString b2UiFileName()
virtual void setB2UiFileName(QString name)

b2ValueToEmit : int

This property holds value to emit to cdp on clicked().

Access functions:

virtual int b2ValueToEmit()
virtual void setB2ValueToEmit(int value)

pushRoutables : const QStringList

Access functions:

virtual const QStringList &pushRoutables() const

Notifier signal:

virtual void pushRoutablesChanged(const QStringList &pushers)

scaleButtons : bool

This property holds a boolean that determines whether to scale the buttons with the meter.

Access functions:

virtual bool scaleButtons()
virtual void setScaleButtons(bool scale)

Member Function Documentation

CDPBaseMeter2N2B::CDPBaseMeter2N2B(QWidget *parent = 0)

Default constructs an instance of CDPBaseMeter2N2B.

CDPBaseMeter2N2B::~CDPBaseMeter2N2B()

Destroys the instance of CDPBaseMeter2N2B.

[signal] void CDPBaseMeter2N2B::b1Clicked(int value)

[signal] void CDPBaseMeter2N2B::b2Clicked(int value)

[virtual protected] int CDPBaseMeter2N2B::calcTopSpacerHeight()

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

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

[virtual protected] QSize CDPBaseMeter2N2B::sizeHint() const