#include <DigitalProperty.h>
Inherits DigitalProperties.
Inheritance diagram for DigitalProperty:


Public Slots | |
| void | updateProperty (QVariant pProperty) |
| Slot. | |
| void | updateFromGUI (int) |
| Slot. | |
| void | updateFromGUI (bool) |
| Slot. | |
Signals | |
| void | PropertyUpdated (QVariant pProperty) |
| emitted when outcoming value processed by the digital property component changed. | |
| void | PropertyUpdated (QVariant *pProperty) |
| emitted when outcoming value processed by the digital property component changed, provided because some connections needs a pointer. | |
| void | updated (int, QTime) |
| emitted when outcoming value processed by the digital property component changed, provided because some connections (like GUI slider) cannot handle QVariant and need int. | |
| void | updated (bool, QTime) |
| emitted when outcoming value processed by the digital property component changed, provided because some connections (like GUI check box) cannot handle QVariant and need bool. | |
Public Member Functions | |
| DigitalProperty (char *, char *) | |
| Constructor. | |
| DigitalProperty (char *, QVariant::Type) | |
| Constructor. | |
| ~DigitalProperty () | |
| Destructor. | |
| QVariant | GetProperty () const |
| Getter. | |
| void | SetProperty (QVariant pProperty) |
| Setter. | |
| QVariant::Type | GetType () const |
| Getter. | |
Properties | |
| QVariant | _property |
| _property is QVariant (generic) type. For more documentation on QVariant, see http://doc.trolltech.com/4.2/qvariant.html . | |
This class define one generic digital property of a mixed object.
| DigitalProperty::DigitalProperty | ( | char * | pName, | |
| char * | pType | |||
| ) |
Constructor.
| pName | ||
| pType | : type of QVariant |
| DigitalProperty::DigitalProperty | ( | char * | pName, | |
| QVariant::Type | pType | |||
| ) |
Constructor.
| Name |
| void DigitalProperty::SetProperty | ( | QVariant | pProperty | ) |
Setter.
| pProperty |
| void DigitalProperty::updateProperty | ( | QVariant | pProperty | ) | [slot] |
Slot.
| pProperty |
| void DigitalProperty::updateFromGUI | ( | int | pProperty | ) | [slot] |
Slot.
| pProperty |
| void DigitalProperty::updateFromGUI | ( | bool | pProperty | ) | [slot] |
Slot.
| pProperty |
| void DigitalProperty::PropertyUpdated | ( | QVariant | pProperty | ) | [signal] |
emitted when outcoming value processed by the digital property component changed.
| QVariant | pProperty |
| void DigitalProperty::PropertyUpdated | ( | QVariant * | pProperty | ) | [signal] |
emitted when outcoming value processed by the digital property component changed, provided because some connections needs a pointer.
| QVariant* | pProperty |
| void DigitalProperty::updated | ( | int | , | |
| QTime | ||||
| ) | [signal] |
emitted when outcoming value processed by the digital property component changed, provided because some connections (like GUI slider) cannot handle QVariant and need int.
| int | pProperty: value updated | |
| QTime | pTime: time stamp |
| void DigitalProperty::updated | ( | bool | , | |
| QTime | ||||
| ) | [signal] |
emitted when outcoming value processed by the digital property component changed, provided because some connections (like GUI check box) cannot handle QVariant and need bool.
| bool | pProperty: value updated | |
| QTime | pTime: time stamp |
1.5.2