CDPBaseMeter2N2B Class
The Meter 2 Needles 2 Buttons widget has two needles and two buttons. More...
Header: | #include <CDPBaseWidgets/CDPBaseMeter2N2B.h> |
Inherits: | CDPBaseMeter2N |
Properties
|
|
- 43 properties inherited from CDPBaseMeter2N
- 52 properties inherited from CDPBaseMeter
- 6 properties inherited from CDPBaseWidget
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) |
- 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
Signals
void | b1Clicked(int value) |
void | b2Clicked(int value) |
void | pushRoutablesChanged(const QStringList &pushers) |
- 1 signal inherited from CDPBaseWidget
Protected Functions
virtual int | calcTopSpacerHeight() |
virtual QSize | sizeHint() const |
Reimplemented Protected Functions
virtual void | resizeEvent(QResizeEvent *ev) |
- 14 protected functions inherited from CDPBaseMeter
- 4 protected functions inherited from CDPBaseCom
- 1 protected function inherited from CDPBaseControlVisible
Additional Inherited Members
- 18 public slots inherited from CDPBaseMeter2N
- 25 public slots inherited from CDPBaseMeter
- 10 public slots inherited from CDPBaseWidget
- 2 static public members inherited from CDPBaseCom
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:
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
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.