Isis 3 Programmer Reference
Color.h
1 #ifndef Color_H
2 #define Color_H
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 class QColor;
11 class QRegExp;
12 class QString;
13 
14 namespace 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
Isis::Color
This class is designed to serialize QColor in a human-readable form.
Definition: Color.h:26
Isis::Color::colorRGBAFormat
static QRegExp colorRGBAFormat()
Get the colorRGBAFormat.
Definition: Color.cpp:64
Isis::Color::toRGBAString
static QString toRGBAString(QColor)
Convert a QColor to its QString.
Definition: Color.cpp:38
Isis::Color::Color
Color(const Color &)
Unused constructor?
Isis::Color::fromRGBAString
static QColor fromRGBAString(QString)
Converts a QString to its QColor.
Definition: Color.cpp:21
Isis::Color::operator=
Color & operator=(const Color &)
This function does not appear to be in use.
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16