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. More... | |
static QString | toRGBAString (QColor) |
Convert a QColor to its QString. More... | |
static QRegExp | colorRGBAFormat () |
Get the colorRGBAFormat. More... | |
Private Member Functions | |
Color (const Color &) | |
Unused constructor? More... | |
Color & | operator= (const Color &) |
This function does not appear to be in use. More... | |
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 58 of file Color.cpp.
Referenced by fromRGBAString().
|
static |
Converts a QString to its QColor.
Definition at line 15 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 32 of file Color.cpp.
References _FILEINFO_, and Isis::IException::Unknown.
Referenced by Isis::ImageList::saveAndApplyColor(), Isis::ImageList::saveAndApplyRandomColor(), and Isis::ImageListActionWorkOrder::setupExecution().