signal adaptor to allow getting/setting/observing of an rgba (0.0 - 1.0 range)
More...
#include <pqSignalAdaptors.h>
Inherits QObject.
|
| pqSignalAdaptorColor (QObject *p, const char *colorProperty, const char *signal, bool enableAlpha) |
| constructor requires a QObject, the name of the QColor property, and a signal for property changes More...
|
|
QVariant | color () const |
| get the color components More...
|
|
signal adaptor to allow getting/setting/observing of an rgba (0.0 - 1.0 range)
Definition at line 85 of file pqSignalAdaptors.h.
§ pqSignalAdaptorColor()
pqSignalAdaptorColor::pqSignalAdaptorColor |
( |
QObject * |
p, |
|
|
const char * |
colorProperty, |
|
|
const char * |
signal, |
|
|
bool |
enableAlpha |
|
) |
| |
constructor requires a QObject, the name of the QColor property, and a signal for property changes
§ color()
QVariant pqSignalAdaptorColor::color |
( |
| ) |
const |
§ colorChanged
void pqSignalAdaptorColor::colorChanged |
( |
const QVariant & |
| ) |
|
|
signal |
§ setColor
void pqSignalAdaptorColor::setColor |
( |
const QVariant & |
| ) |
|
|
slot |
§ handleColorChanged
void pqSignalAdaptorColor::handleColorChanged |
( |
| ) |
|
|
protectedslot |
§ PropertyName
QByteArray pqSignalAdaptorColor::PropertyName |
|
protected |
§ EnableAlpha
bool pqSignalAdaptorColor::EnableAlpha |
|
protected |
§ color
QVariant pqSignalAdaptorColor::color |
|
readwrite |
The documentation for this class was generated from the following file: