CDPBaseButtonMarker Class
The Button Marker provides two markers/bubbles for notifications More...
| Header: | #include <CDPBaseWidgets/CDPBaseButtonMarker.h> |
| Inherits: | CDPBaseButtonMsg and MultiMarker |
| Inherited By: |
Properties
|
|
- 5 properties inherited from CDPBaseButtonMsg
- 30 properties inherited from CDPBaseButton
Public Functions
| CDPBaseButtonMarker(QWidget *parent = 0) | |
| virtual | ~CDPBaseButtonMarker() |
Reimplemented Public Functions
| virtual void | setIQtCDPPointer(IQtCDP *pIQtCDP) |
| virtual void | setSvgMarkerOne(QString svg) |
| virtual void | setSvgMarkerTwo(QString svg) |
- 9 public functions inherited from CDPBaseButtonMsg
- 48 public functions inherited from MultiMarker
- 58 public functions inherited from CDPBaseButton
- 26 public functions inherited from CDPBasePadLauncher
- 3 public functions inherited from StateChanger
- 4 public functions inherited from CDPBaseControlVisible
Public Slots
| virtual void | setMarkerOneValue(int value = 0) |
| virtual void | setMarkerTwoValue(int value = 0) |
| virtual void | updateMarkerStackOrder() |
- 5 public slots inherited from CDPBaseButtonMsg
- 15 public slots inherited from CDPBaseButton
Signals
| void | markerOneClicked() |
| void | markerTwoClicked() |
- 3 signals inherited from CDPBaseButtonMsg
- 7 signals inherited from CDPBaseButton
Protected Functions
| virtual void | moveEvent(QMoveEvent *ev) |
| virtual void | resizeEvent(QResizeEvent *ev) |
- 1 protected function inherited from CDPBaseButtonMsg
- 12 protected functions inherited from CDPBaseButton
- 1 protected function inherited from CDPBasePadLauncher
- 1 protected function inherited from CDPBaseControlVisible
Additional Inherited Members
- 9 protected slots inherited from CDPBaseButton
Detailed Description
The Button Marker provides two markers/bubbles for notifications
Check out the following example to get a better understanding: How to show markers/bubbles on buttons

Property Documentation
m1CdpRouting : const QString
This property holds the path to the routed cdp object.
m1CurrentPix : const int
This property holds the current picture number.
m1FontColor : const QColor
This property holds the font color of the marker.
m1OffsetX : const int
This property holds the offset in X direction of the marker.
m1OffsetY : const int
This property holds the offset in Y direction of the marker.
m1Pixmap : const QPixmap
This property holds the marker pixmap. Can set a pixmap instead of a svg file.
m1Pos : const Qt::Corner
This property holds the position of the marker.
m1ShowNumber : const bool
This property holds whether to show numbers on the marker.
m1SvgFile : QString
This property holds the path to the svg file for the marker.
Access functions:
| virtual void | setSvgMarkerOne(QString svg) |
m2CdpRouting : const QString
This property holds the path to the routed cdp object.
m2CurrentPix : const int
This property holds the current picture number.
m2FontColor : const QColor
This property holds the font color of the marker.
m2OffsetX : const int
This property holds the offset in X direction of the marker.
m2OffsetY : const int
This property holds the offset in Y direction of the marker.
m2Pixmap : const QPixmap
This property holds the marker pixmap. Can set a pixmap instead of a svg file.
m2Pos : const Qt::Corner
This property holds the position of the marker.
m2ShowNumber : const bool
This property holds whether to show numbers on the marker.
m2SvgFile : QString
This property holds the path to the svg file for the marker.
Access functions:
| virtual void | setSvgMarkerTwo(QString svg) |
markerFont : const QFont
This property holds the font used on the markers.
markerShared : const bool
This property holds whether to allow markers to be used by containers like the CDPBaseTabWidget.
markerSize : const int
This property holds the size of the markers.
Member Function Documentation
CDPBaseButtonMarker::CDPBaseButtonMarker(QWidget *parent = 0)
Default constructs an instance of CDPBaseButtonMarker.
[virtual] CDPBaseButtonMarker::~CDPBaseButtonMarker()
Destroys the instance of CDPBaseButtonMarker. The destructor is virtual.
[signal] void CDPBaseButtonMarker::markerOneClicked()
[signal] void CDPBaseButtonMarker::markerTwoClicked()
[virtual protected] void CDPBaseButtonMarker::moveEvent(QMoveEvent *ev)
[virtual protected] void CDPBaseButtonMarker::resizeEvent(QResizeEvent *ev)
[virtual] void CDPBaseButtonMarker::setIQtCDPPointer(IQtCDP *pIQtCDP)
[virtual slot] void CDPBaseButtonMarker::setMarkerOneValue(int value = 0)
[virtual slot] void CDPBaseButtonMarker::setMarkerTwoValue(int value = 0)
[virtual slot] void CDPBaseButtonMarker::updateMarkerStackOrder()
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.