66 qint32 index() const; |
67 qint32 index() const; |
67 bool isDirect() const; |
68 bool isDirect() const; |
68 QString indexString() const; |
69 QString indexString() const; |
69 |
70 |
70 static const LDColor nullColor; |
71 static const LDColor nullColor; |
|
72 static qint32 directColorIndex(QColor color, bool transparent = false); |
71 static void initColors(); |
73 static void initColors(); |
72 |
74 |
73 LDColor& operator=(qint32 index) { m_index = index; return *this; } |
75 LDColor& operator=(qint32 index) { m_index = index; return *this; } |
74 LDColor& operator=(const LDColor &other) = default; |
76 LDColor& operator=(const LDColor &other) = default; |
75 LDColor operator++() { return ++m_index; } |
77 LDColor operator++() { return ++m_index; } |