Isis Developer Reference
Color.h
Go to the documentation of this file.
1#ifndef Color_H
2#define Color_H
8/* SPDX-License-Identifier: CC0-1.0 */
9
10class QColor;
11class QRegExp;
12class QString;
13
14namespace Isis {
26 class Color {
27 public:
28 static QColor fromRGBAString(QString);
29 static QString toRGBAString(QColor);
30 static QRegExp colorRGBAFormat();
31
32 private:
33 Color();
39 Color(const Color &);
40 ~Color();
46 Color &operator=(const Color &);
47 };
48}
49
50#endif
This class is designed to serialize QColor in a human-readable form.
Definition Color.h:26
static QString toRGBAString(QColor)
Convert a QColor to its QString.
Definition Color.cpp:38
static QRegExp colorRGBAFormat()
Get the colorRGBAFormat.
Definition Color.cpp:64
static QColor fromRGBAString(QString)
Converts a QString to its QColor.
Definition Color.cpp:21
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16