Isis 3 Programmer Reference
|
This class is designed to serialize QColor in a human-readable form. More...
#include <Color.h>
Static Public Member Functions | |
static QColor | fromRGBAString (QString) |
Converts a QString to its QColor. | |
static QString | toRGBAString (QColor) |
Convert a QColor to its QString. | |
static QRegExp | colorRGBAFormat () |
Get the colorRGBAFormat. | |
Private Member Functions | |
Color (const Color &) | |
Unused constructor? | |
Color & | operator= (const Color &) |
This function does not appear to be in use. | |
This class is designed to serialize QColor in a human-readable form.
QColor provides no string conversions that include the alpha value (probably because argb and rgba both look the same and neither are standard). But encoding the colors using hex is worse than the non-standard conversion – so this class will convert to/from rgba.
|
private |
Unused constructor?
|
static |
Get the colorRGBAFormat.
Definition at line 64 of file Color.cpp.
Referenced by fromRGBAString().
|
static |
Converts a QString to its QColor.
Definition at line 21 of file Color.cpp.
References colorRGBAFormat(), and Isis::toInt().
Referenced by Isis::ImageList::applyColors(), and Isis::ImageListActionWorkOrder::execute().
This function does not appear to be in use.
|
static |
Convert a QColor to its QString.
Definition at line 38 of file Color.cpp.
References Isis::IException::Unknown.
Referenced by Isis::ImageList::saveAndApplyColor(), Isis::ImageList::saveAndApplyRandomColor(), and Isis::ImageListActionWorkOrder::setupExecution().