|
ParaView
|
signal adaptor to allow getting/setting/observing of an rgba (0.0 - 1.0 range) More...
#include <pqSignalAdaptors.h>
Public Slots | |
| void | setColor (const QVariant &) |
| set the red component | |
Signals | |
| void | colorChanged (const QVariant &) |
| signal the color changed | |
Public Member Functions | |
| 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 | |
| QVariant | color () const |
| get the color components | |
Protected Slots | |
| void | handleColorChanged () |
Protected Attributes | |
| QByteArray | PropertyName |
| bool | EnableAlpha |
Properties | |
| QVariant | color |
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 | ( | 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
| QVariant pqSignalAdaptorColor::color | ( | ) | const |
get the color components
| void pqSignalAdaptorColor::colorChanged | ( | const QVariant & | ) | [signal] |
signal the color changed
| void pqSignalAdaptorColor::setColor | ( | const QVariant & | ) | [slot] |
set the red component
| void pqSignalAdaptorColor::handleColorChanged | ( | ) | [protected, slot] |
QByteArray pqSignalAdaptorColor::PropertyName [protected] |
Definition at line 105 of file pqSignalAdaptors.h.
bool pqSignalAdaptorColor::EnableAlpha [protected] |
Definition at line 106 of file pqSignalAdaptors.h.
QVariant pqSignalAdaptorColor::color [read, write] |
Definition at line 88 of file pqSignalAdaptors.h.
1.7.5.1